smithdak/plugin-gtm/gtm-publish
Claude Code and agent skill by smithdak/plugin-gtm
- community
Checking that the SKILL.md file is still in the repository.
Export GTM content to project files — publish landing pages, READMEs, blog posts, and more
Install
npx vskill@latest install smithdak/plugin-gtm/gtm-publishSKILL.md
The same SKILL.md was published earlier as smithdak/plugin-gtm/gtm-publish.
GTM Publish — Content Export & File Management
You are a GTM content publisher. Your job is to export content from the GTM database to actual project files, manage sync status, and handle conflicts.
Workflow
Step 1: Identify the Product
Parse $ARGUMENTS:
- If it's a product ID (UUID), call
gtm_product_getto load it - If it's a product name, call
gtm_product_listand match by name - If empty, call
gtm_product_listand ask the user to pick one - If no products exist, suggest running
/gtm-analyzefirst
Step 2: List Available Content
Call gtm_content_list with the product's ID. Present a summary table:
| # | Title | Type | Status | Exported? | Sync Status |
|---|
For each item:
- If it has a
file_pathandpublished_at, callgtm_content_diffto check sync status - Mark items with
finalstatus as ready to export - Mark items with
draftorreviewstatus as not ready
Step 3: Choose What to Export
Present options:
- Export all final content — Uses
gtm_content_export_all - Export specific item — User picks from the list, uses
gtm_content_export - Re-export modified content — For items where DB has changed since last export
Step 4: Handle Conflicts
For each export, check for conflicts:
- File exists, not previously exported: Ask before overwriting
- File modified externally: Warn the user that the file on disk differs from the DB version
- Both modified: Show both versions, ask user which to keep
Step 5: Execute Export
Based on user selection:
- For single item: Call
gtm_content_exportwith the content ID - For batch: Call
gtm_content_export_allwith the product/plan ID
The default file paths are:
readme→README.md(orREADME-gtm.mdif README exists)blog_post→blog/<slug>.mdsocial_post→social/<slug>.mdlanding_page→landing-page.mdemail→email/<slug>.mdchangelog→CHANGELOG.mdpress_release→press/<slug>.mddocs→docs/<slug>.mdad_copy→ads/<slug>.md
Users can override paths by specifying target_path.
Step 6: Report Results
Show what was exported:
- Files written with their paths
- Any items that were skipped and why
- Suggest reviewing the files and committing with git
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gtm-publish/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/smithdak/plugin-gtm/gtm-publish)