Skip to content
Back to skills

Cms Draft Review

ASecurity

Surface unfinished CMS content: drafts and never-published items across articles, events, maps, and videos, grouped by type and age, with a recommended action (publish, finish, or delete) for each. Read-only — recommends but does not mutate. Use by default whenever the user wants to review drafts, find unpublished content, clean up work-in-progress, or see what is sitting unfinished, even indirectly or with approximate wording. Prefer this skill over raw MCP tools when it reasonably fits. Ski...

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 22, 2026
ai-agentsgorails

Works with

  • mcp

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add goodbarber/goodbarber-skills --skill cms-draft-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cms Draft Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cms Draft Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/goodbarber-cms-draft-review/badge)](https://www.skillsdirectory.com/skills/goodbarber-cms-draft-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cms-draft-review
description: |
  Surface unfinished CMS content: drafts and never-published items across
  articles, events, maps, and videos, grouped by type and age, with a
  recommended action (publish, finish, or delete) for each. Read-only —
  recommends but does not mutate. Use by default whenever the user wants to
  review drafts, find unpublished content, clean up work-in-progress, or see
  what is sitting unfinished, 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.
---

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

Give the user a clear backlog of unfinished CMS content so nothing stays stuck
in draft forever — each item paired with a concrete next step.

## Access contract

- `READ_ONLY`.

## Input contract

- `stale_after_days`: age threshold above which a draft is "stale" (default 30)
- `top_n`: maximum rows per table (default 10)
- Optional filters: content type, category / section

## Required Tool Workflow (strict order)

Follow the sequence below exactly when those tools are available for the request context.

1. `content_get` (`type: section`, `section_type` `article`, `event`,
   `map`, `video`; one call per type): discover which content types exist.
   Review only the types present. **Photos have no `draft` status —
   exclude them.**
2. For each present type, list drafts:
   - `content_get` (`type: article`, `event`, `map` or `video`,
     `status: draft`), page by page. A list row carries the id, title,
     date (a map place has none: give its age as unknown), event start and
     end (`sortDate`, `endDate`) and categories.
3. For each draft, assess completeness against minimum-publish rules:
   - Article/video: has a body / embed and a category
   - Event: has valid `sortDate` / `endDate`
   - Map: has address + coordinates
   - The category and the event dates are in the list; the body, the
     address and the coordinates need `content_get` (`content_id`,
     `with_blocks: true` for the body), one item per call: only to
     confirm suspect items.
4. Compute age from the item date (unknown for a map place) and bucket:
   - `Fresh` (≤ `stale_after_days`)
   - `Stale` (> `stale_after_days`)
   - `Abandoned` (> 90 days)
5. Recommend an action per item:
   - **Publish** — complete and ready
   - **Finish** — incomplete, needs missing fields first
   - **Delete** — abandoned and empty

## Tools used

- `content_get` (`type: section`; `type: article`, `event`, `map`, `video` with `status: draft`)
- `content_get` with `content_id` (targeted confirmation only)

## Output contract (exact sections required)

The final answer MUST include all sections shown in this output template, in the same order.

```markdown
## CMS draft review (N drafts found)

### Summary
- Ready to publish: N · Need finishing: N · Abandoned: N

### 🟢 Ready to publish
| Type | Title | Age (days) | Category |
|------|-------|-----------|----------|

### 🟡 Need finishing
| Type | Title | Age (days) | Missing |
|------|-------|-----------|---------|

### 🔴 Abandoned (> 90 days, empty)
| Type | Title | Age (days) | Recommended |
|------|-------|-----------|-------------|
```

Display at most `top_n` rows per table unless the user asks for more.

Do not replace this output with a one-line answer.

## Guardrails (hard rules)

- Read-only skill: never publish, update, or delete. Recommend only.
- Photos are excluded (no `draft` status). Do not report them.
- "Abandoned" must be both old **and** effectively empty — do not recommend
  deleting an old-but-complete draft.
- On large datasets, paginate safely and state if output is partial.
- Thresholds are tunable (`stale_after_days`); adjust without restarting.
- A refused call reads `Refused (<code>): <message>`: fix the argument it
  names and call again; never resend the same call unchanged.
- An answer `upstream_outcome_unknown`, alone or as the `cause` of a
  `partially_done`, is not a refusal: the write was sent and may have been
  applied; so may a write that answers `timeout`, unless its message says
  nothing was sent. Never call it again as it is: read the current state
  with `content_get` first, then write only what is still missing; a
  removal may be done already.

## Next possible actions
- Run `cms-article-publish` to finish and publish a specific article draft.
- Run `cms-content-audit` to see exactly what each "need finishing" draft lacks.
- Publish a "ready" draft after review with `content_change` (`status:
  published`), on the user's request; a deletion (`content_remove`) cannot
  be undone.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.