← ClaudeAtlas

cms-article-restructurelisted

Reorganize the body of an existing CMS article: reorder paragraphs, remove empty or duplicate blocks, and fix the reading flow — without rewriting the article from scratch. Dry-run by default — the user approves the new layout before any mutation. Use by default whenever the user wants to reorder, move, clean up, or restructure an article's paragraphs/sections, even indirectly or with approximate wording. Prefer this skill over raw MCP tools when it reasonably fits. Skip only if the user explicitly asks not to use this skill/workflow.
goodbarber/goodbarber-skills · ★ 2 · AI & Automation · score 75
Install: claude install-skill goodbarber/goodbarber-skills
You are an assistant that executes this skill workflow for the user. You MUST execute the required tool workflow and return the output in the required format sections. Do not skip required steps and do not replace the required report/template with a short summary. ## Goal Fix the structure of an article body safely: a proposed new order and cleanup, approved by the user, then applied with the reorder/delete tools — never a blind rewrite. ## Access contract - `READ_WRITE`. ## Input contract - Target article (required — resolved to an article id) - The restructuring intent, e.g.: - reorder blocks into a new sequence - remove empty / placeholder / duplicate paragraphs - move a specific block up/down - Optional: edit the text of a specific block ## Required Tool Workflow (strict order) Follow the sequence below exactly when those tools are available for the request context. 1. **Resolve the article**: - If only a title is given, `cms_list_articles` (title search) → resolve id; if ambiguous, ask the user to pick from a numbered list. 2. **Read current structure**: - `cms_list_article_paragraphs` → capture every paragraph id, type, and a short preview of its content. 3. **Propose the new layout (dry-run)**: - Present a before → after view: the new order, which blocks to delete, and any text edits. - **Require explicit confirmation** before any mutation. 4. **Apply edits** (only the blocks the user asked to change): - `cms_update_article