Skill Reviewer
Intro
skill-reviewer audits an existing processkit skill against the
canonical format, the 5 Skill Killers, the Agent Skills standard, and
Anthropic's troubleshooting playbook. It produces a categorized findings
report (must-fix / should-fix / nit) and, crucially, generates draft
Gotchas content for any skill whose Gotchas section is missing, empty,
or generic — the killer feature that lets one skill-reviewer pass
populate the Gotchas section of every skill in the catalog.
skill-reviewer is the brownfield counterpart to skill-builder:
skill-builder is for greenfield (creating new skills), skill-reviewer
is for everything else (auditing, fixing, retrofitting).
Overview
When to use skill-reviewer
- The user says "review the X skill", "check skills/Y", "is this
skill good", "audit skills/", "lint the X skill", or "generate
gotchas for X".
- A new skill has just been created and you want a second-pass quality
check before committing.
- The Agent Skills standard or the format spec changed, and existing
skills need a sweep.
- Bulk operation: populate Gotchas across the whole catalog by
running skill-reviewer over every skill in
src/skills/.
The review checklist (11 categories)
For each skill, check all 12 categories. Surface findings under one
of the three severity buckets at the end.
1. Frontmatter compliance (Agent Skills standard)
- Top-level
name exists, kebab-case, matches the directory name.
- Top-level
name does NOT contain "claude" or "anthropic" (reserved
by Anthropic).
- Top-level
description exists and is < 1024 characters.
- Top-level
description includes BOTH what AND when (with literal
trigger phrases the user would say).
- NO XML angle brackets (
< / >) anywhere in frontmatter.
metadata.processkit.apiVersion is present and equals
processkit.projectious.work/v1.
metadata.processkit.id is present and equals SKILL-<name>.
metadata.processkit.version is a valid semver string.
metadata.processkit.created is a valid ISO 8601 timestamp.
metadata.processkit.category is one of the registered values
(process, language, framework, infrastructure, architecture,
design, data, ai, api, security, observability,
database, performance, meta).
- For
category: process, metadata.processkit.layer is an integer
0-4. For other categories, layer is null or absent.
- Every
uses: entry is an OBJECT with a skill field AND a purpose
field. Bare strings or missing-purpose entries are must-fix.
- Every skill name listed under
uses: actually exists in
src/skills/.
2. Section structure
- The body has these four section headings IN THIS ORDER:
## Intro, ## Overview, ## Gotchas, ## Full reference.
- No headings starting with
## Level 1, ## Level 2, or ## Level 3
(those were dropped in v0.6.0).
- The Intro is 1-3 sentences. Longer is should-fix.
- The Gotchas section is REQUIRED (must-fix if missing).
3. The 5 Skill Killers (Skills Master Class)
| # |
Killer |
Symptom |
Fix |
| 1 |
Description doesn't trigger |
Reads like a summary or contains "Use when…" clauses. |
Rewrite as a one-sentence imperative (verb-first, under 200 chars). Move trigger phrases to skill-finder's trigger table (Category 9). |
| 2 |
Over-defining process |
Steps prescribed too rigidly when the agent should have degrees of freedom. |
Loosen prescriptive language; distinguish "must" from "should" from "may". |
| 3 |
Stating the obvious |
Content the agent already knows from general training. |
Cut. (BUT: be careful — what's obvious to Claude may not be to Gemini. Provider neutrality wins ties.) |
| 4 |
Missing Gotchas |
No ## Gotchas section, empty section, or generic "be careful" content. |
Generate draft gotchas — see Step 7 below. |
| 5 |
Monolithic blob |
SKILL.md > 5000 words. |
Push detail to references/<topic>.md. |
4. Anthropic troubleshooting playbook (PDF p25-27)
Check for the four diagnoses:
- Under-trigger signals: skill doesn't load when it should; users
manually enabling it; support questions about when to use it. Fix:
add detail/keywords to the description, especially for technical
terms.
- Over-trigger signals: skill loads for irrelevant queries; users
disabling it; confusion about purpose. Fix: add negative triggers,
be more specific.
- Instructions not followed: Overview is too verbose, critical
instructions buried, ambiguous language, or model laziness. Fix:
put critical instructions at the top; use
## Important headers;
prefer code over prose; add explicit encouragement for thorough
steps.
- Large context: SKILL.md too large; too many enabled skills
simultaneously. Fix: 5000-word ceiling; references/ extraction.
5. Directory structure
SKILL.md exists at the skill root (case-sensitive, exactly that
name).
- No
README.md inside the skill folder (any depth).
- No
INDEX.md inside the skill folder (parent src/skills/INDEX.md
is fine).
scripts/ directory exists (may be empty with .gitkeep).
- If a
templates/ directory exists, that's a leftover from before
v0.6.0 — should be assets/.
- If
mcp/ exists: server.py and mcp-config.json are present;
SERVER.md is present (NOT README.md).
- If
mcp/ exists: the server name in both mcp-config.json and the
FastMCP(...) call in server.py is prefixed with processkit-.
- If
metadata.processkit.commands is non-empty: a commands/
directory exists with one file per entry in the list.
- If
commands/ exists but metadata.processkit.commands is absent
or empty: flag as should-fix (orphaned adapter files).
6. Description quality
Beyond the < 1024 char length check:
- Description is a one-sentence imperative — verb-first (e.g.,
"Author X", "Review Y for Z", "Generate W"). NOT narrative ("This
skill helps you…") and NOT passive ("A tool for…"). Violation =
should-fix.
- Description is under 200 characters. Anything longer is usually
a sign of "Use when…" clauses being smuggled in — should-fix.
- Description does NOT contain "Use when the user says…" or
similar trigger language. Trigger phrases belong in skill-finder's
trigger-phrase table (Category 9), not here. Violation = must-fix.
- Description starts with the verb, not the noun. "Recommend models"
beats "Model recommendation skill that recommends models." Violation
= nit.
7. Generate Gotchas (the killer feature)
If the Gotchas section is missing, empty, or generic, generate a draft.
Process:
- Read the skill's Overview section to understand what it does.
- Read the skill's
provides: block to understand what it produces.
- Read the skill's
uses: block to understand what it depends on.
- For each, ask the five Gotcha-generation questions from skill-builder
Step 5a:
- What would an agent get wrong on the first try?
- What does the agent need to KNOW that the user wouldn't think to
say?
- Where would the agent helpfully overshoot?
- Where would the agent helpfully undershoot?
- What conventions are unique to this skill that the agent has to
learn?
- Draft 5-10 specific, provider-neutral failure modes.
- Each draft Gotcha must have BOTH a specific failure AND a specific
countermeasure. Generic items ("be careful", "double-check") are
not acceptable drafts.
- Cross-reference Anti-patterns under Full reference if some draft
items overlap — Gotchas should be agent-only.
For domain skills (language/framework/infrastructure), useful seed
patterns to consider:
- Hallucinated APIs (the agent invents library functions that don't
exist).
- Stale-syntax (the agent uses syntax from an older language version
than the project targets).
- Ignoring project-specific conventions in favor of "best practice"
defaults.
- Skipping verification steps when "the obvious thing" looks right.
- Provider blind spots (agents on harnesses without filesystem access
hallucinating file contents).
8. Cross-reference quality
- Skills mentioned in Overview/Full reference exist in
src/skills/
(no broken references).
- The
uses: block is consistent with the body — every dependency
mentioned in the body should appear in uses:, and every dependency
in uses: should be referenced at least once in the body with its
purpose explained.
9. skill-finder registration
- The skill has at least 1 entry in the trigger-phrase table in
src/skills/skill-finder/SKILL.md. Missing = must-fix — a skill
not in skill-finder is invisible to agents who don't know its name.
- The skill has a one-liner in the appropriate by-category section of
skill-finder. Missing = should-fix.
- The skill's
description: field does NOT contain "Use when the user
says…" or similar trigger language — those phrases belong here in
the trigger table, not in the description. Violation = must-fix
(cross-links with Category 6).
10. Command adapter hygiene
Run this category only if metadata.processkit.commands is non-empty OR
commands/ directory exists.
- Every entry in
metadata.processkit.commands has a corresponding
commands/<name>.md file. Missing file = must-fix.
- Every
commands/<name>.md file has a corresponding entry in
metadata.processkit.commands. Orphan file = should-fix.
- Each command name follows the
<skill-name>-<workflow> convention
(skill-name prefix is mandatory). Unprefixed names = must-fix.
- The
argument-hint in each adapter file matches the args field in
the corresponding metadata.processkit.commands entry. Mismatch =
should-fix.
- Each adapter file body is exactly one sentence invoking the skill
and workflow. Multi-line bodies with workflow steps are should-fix —
logic belongs in SKILL.md, not in the adapter.
allowed-tools in each adapter is present and scoped narrowly.
Bash(*) without justification = should-fix.
- SKILL.md Overview mentions the commands (one line per command
referencing the adapter path). Absent mention = should-fix.
11. Security and permission audit
Run this category for all skills (not only those with MCP servers).
MCP tools (if mcp/ exists):
- Every
@server.tool() has explicit annotations. Missing annotations
on any tool = must-fix.
readOnlyHint: true on all query / list / get / profile tools that
do not write state. Missing = should-fix.
destructiveHint: true on any tool that deletes, overwrites, or
resets persistent state. Missing = must-fix.
openWorldHint: true on any tool that makes HTTP or external API
calls. Missing = must-fix.
idempotentHint: true on tools where a duplicate call is harmless
(e.g. delete by ID, set-config to same value). Missing = nit.
SKILL.md permission surface:
- If the skill calls MCP tools marked
destructiveHint: true, the
Gotchas section mentions that the agent must show the operation to
the user and confirm before calling. Missing = should-fix.
- If the skill calls MCP tools marked
openWorldHint: true, the
Gotchas section notes that external calls are best-effort and
failures should not be retried silently. Missing = should-fix.
- If the skill ships scripts in
scripts/ that write to the
filesystem outside the skill's own directory, or make network
calls, the Overview section includes a Permissions note listing
what the scripts touch. Missing = should-fix.
12. Behavioral completeness
Check that the skill encodes enough to prevent silent execution
failures — cases where the agent understands the workflow but then
fails to execute a step.
- Skills that direct the agent to create entities (WorkItems,
DecisionRecords, Discussions, etc.): the Gotchas section must
include a rule about calling the tool in the same turn as the
commitment. Missing = should-fix.
- Skills with multi-step workflows: each step that produces a
persistent artifact (entity, file, commit) should have a
corresponding Gotcha about not deferring the write. Missing =
should-fix.
- All skills: are Gotchas specific (failure described +
concrete countermeasure), or are they generic encouragements
("be careful", "double-check") with no actionable fix? All-generic
Gotchas = should-fix.
- Process skills in particular: at least one Gotcha must cover
the gap between verbal commitment ("I'll do X") and execution
("called the tool"). Missing = should-fix.
The findings report
After running through all 12 categories, output a structured report:
# Review: <skill-name>
## Must-fix (severity: high)
- [Category N] <finding>: <fix>
## Should-fix (severity: medium)
- [Category N] <finding>: <fix>
## Nit (severity: low)
- [Category N] <finding>: <fix>
## Generated Gotchas draft
(Only if Category 7 was triggered.)
[5-10 draft gotchas in the standard format]
## Trigger test cases
(Only generated for skills with weak descriptions.)
Should trigger:
- "..."
Should NOT trigger:
- "..."
Bulk operation: gotchas-pass over all skills
To populate Gotchas across the catalog in one batch:
- Iterate over every
src/skills/*/SKILL.md.
- For each, run only Category 7 (skip the other categories for speed).
- Skip skills whose Gotchas section is already present and substantive
(≥ 3 specific items, not all generic).
- Output the draft Gotchas as a patch the user can apply.
- The user reviews the patch and either accepts it as-is, or polishes
each draft before committing.
This is the workflow that produced the initial Gotchas content for
processkit's 100+ pre-existing skills (Thread 1 task #4).
A similar bulk pass can be run for Category 11 (security audit):
iterate every skill with an mcp/ directory and check that all tools
have annotations. Output missing annotations as a patch the user can
apply to each server.py.
A bulk pass for Category 12 (behavioral completeness) is useful
after any behavioral norm is added to AGENTS.md — verify that the
corresponding skill's Gotchas already encode the same rule.
This skill also provides the /skill-reviewer-audit slash command for direct invocation — see commands/skill-reviewer-audit.md.
This skill also provides the /skill-reviewer-bulk-gotchas slash command for direct invocation — see commands/skill-reviewer-bulk-gotchas.md.
Gotchas
Agent-specific failure modes when running skill-reviewer:
- Treating "Stating the obvious" as license to gut content. Killer
#3 says cut what the agent already knows — but provider neutrality
trumps. If something is obvious to Claude but not Gemini, KEEP IT.
When in doubt, leave content in.
- Generating Gotchas that just describe the skill's normal use.
"Always remember to call the function" is not a gotcha; it's
documentation. Gotchas describe failure modes and countermeasures,
not happy paths.
- Generating identical Gotchas across multiple skills. Each skill's
Gotchas should be specific to that skill. If the same item appears
for python-best-practices and rust-conventions, it's too generic —
push it into a shared meta-skill or remove it.
- Reporting nits as must-fix. "Must-fix" is reserved for things
that genuinely break the skill (frontmatter invalid, Gotchas
missing entirely, name colliding with reserved words). Style and
tone preferences are nits or should-fixes at most. Inflating
severity trains users to ignore the report.
- Skipping Category 1 because the file "looks right". Frontmatter
bugs are the most common silent failure. ALWAYS run Category 1
even when the skill body looks polished.
- Hallucinating Gotchas based on the skill's name alone. Read the
Overview and Full reference before drafting Gotchas. A title-only
draft will produce generic content that the user has to throw
away.
- Forgetting to check
uses: references actually exist. A typo
in a skill name under uses: (e.g., index-managment) silently
breaks delegation. This is a must-fix that's easy to miss.
- Reviewing your own work without skepticism. If skill-reviewer
is being used to review a skill that skill-builder just created,
the temptation is to rubber-stamp. Run all 11 categories anyway —
the whole point of the brownfield/greenfield split is independent
validation.
- Skipping Category 10 because no commands/ folder is visible.
Category 10 must also run when
metadata.processkit.commands is
non-empty even if the commands/ directory is absent — the absence
itself is the must-fix finding.
- Skipping Category 11 for "knowledge-only" skills. Even skills
without an MCP server can ship scripts or instruct the agent to call
external services. Run the SKILL.md permission surface checks for
every skill, not only those with
mcp/.
- Treating missing annotations as a nit. Missing MCP tool
annotations are must-fix, not nits. A harness cannot surface
confirmation prompts for destructive tools if it doesn't know the
tool is destructive. The user may unknowingly approve state-destroying
operations.
Full reference
Severity definitions
| Severity |
Definition |
Examples |
| Must-fix |
The skill is broken or non-compliant in a way that prevents it from working. |
Missing frontmatter, invalid YAML, missing Gotchas, name collision with reserved words, broken uses: reference, mcp/README.md violation. |
| Should-fix |
The skill works but has known quality issues that will cause problems for users. |
Generic Gotchas, description without trigger phrases, monolithic SKILL.md > 5000 words, buried critical instructions. |
| Nit |
Style or tone preference. The skill works fine; reasonable people would disagree on whether to fix. |
Verbose Intro (4-5 sentences instead of 1-3), inconsistent capitalization in headings, redundant cross-references. |
Running skill-reviewer over a skill
Manual flow:
- Read the SKILL.md file in full.
- Walk through Categories 1-11.
- For each finding, classify severity.
- Generate the report in the format above.
Running the bulk gotchas-pass
For populating Gotchas across the catalog:
- Identify the target skills:
query_entities(kind="Skill") # via index-management
- For each, check whether the Gotchas section is present and substantive:
- Present: section heading
## Gotchas exists.
- Substantive: 3+ items, each with both a specific failure AND a
specific countermeasure (not generic).
- For skills failing the check, generate a Gotchas draft using the
process in Category 7.
- Output as a series of patches (one per skill) that can be applied
in batch.
Anti-patterns when reviewing
- Drive-by review. Skimming the SKILL.md and producing a one-line
report is worse than no review. Take the time.
- "Nothing wrong" as a verdict. There's almost always something
worth raising as a should-fix or nit. If you found nothing,
re-read with the 5 Skill Killers in mind.
- Suggesting rewrites of working code/content. skill-reviewer
surfaces problems and proposes specific fixes. It does NOT rewrite
the whole skill — that's the user's call.
- Reviewing without checking the format spec. The canonical
source of truth is
src/skills/FORMAT.md. Re-read it if you're
unsure about a convention.
Cross-references
skill-builder — the greenfield counterpart; same checklist applied
during creation.
index-management — query existing skills; locate the skill being
reviewed; check that uses: references resolve.
event-log — log skill.reviewed events with the findings count.
src/skills/FORMAT.md — the canonical format spec.
1---2name: skill-reviewer-73description: >4 Audit an existing processkit skill against the 5 Skill Killers,5 the Agent Skills standard, and Anthropic's troubleshooting playbook,6 producing a categorized findings report and draft Gotchas.7metadata:8 source: https://skillmd.com/skills/projectious-work/skill-reviewer-79 processkit:10 apiVersion: processkit.projectious.work/v111 id: SKILL-skill-reviewer12 version: "1.0.0"13 created: 2026-04-08T00:00:00Z14 category: processkit15 layer: 316 uses:17 - skill: skill-builder18 purpose: "Reference the canonical skill format and the 5 Skill Killers checklist that skill-builder enforces during creation. skill-reviewer applies the same rules to existing skills."19 - skill: index-management20 purpose: "Locate the skill being reviewed and surface related skills it should reference under uses:."21 - skill: event-log22 purpose: "Log skill.reviewed events so the project's audit trail captures review history."23 provides:24 primitives: []25 mcp_tools: []26 assets: []27 processes: [skill-review, gotchas-generation]28 commands:29 - name: pk-skill-audit30 args: "skill-name"31 description: "Run a full 12-category review of the named skill"32---3334# Skill Reviewer3536## Intro3738`skill-reviewer` audits an existing processkit skill against the39canonical format, the 5 Skill Killers, the Agent Skills standard, and40Anthropic's troubleshooting playbook. It produces a categorized findings41report (must-fix / should-fix / nit) and, crucially, **generates draft42Gotchas content for any skill whose Gotchas section is missing, empty,43or generic** — the killer feature that lets one skill-reviewer pass44populate the Gotchas section of every skill in the catalog.4546skill-reviewer is the brownfield counterpart to `skill-builder`:47skill-builder is for greenfield (creating new skills), skill-reviewer48is for everything else (auditing, fixing, retrofitting).4950## Overview5152### When to use skill-reviewer5354- The user says *"review the X skill"*, *"check skills/Y"*, *"is this55 skill good"*, *"audit skills/"*, *"lint the X skill"*, or *"generate56 gotchas for X"*.57- A new skill has just been created and you want a second-pass quality58 check before committing.59- The Agent Skills standard or the format spec changed, and existing60 skills need a sweep.61- Bulk operation: **populate Gotchas across the whole catalog** by62 running skill-reviewer over every skill in `src/skills/`.6364### The review checklist (11 categories)6566For each skill, check all 12 categories. Surface findings under one67of the three severity buckets at the end.6869#### 1. Frontmatter compliance (Agent Skills standard)7071- Top-level `name` exists, kebab-case, matches the directory name.72- Top-level `name` does NOT contain "claude" or "anthropic" (reserved73 by Anthropic).74- Top-level `description` exists and is < 1024 characters.75- Top-level `description` includes BOTH what AND when (with literal76 trigger phrases the user would say).77- NO XML angle brackets (`<` / `>`) anywhere in frontmatter.78- `metadata.processkit.apiVersion` is present and equals79 `processkit.projectious.work/v1`.80- `metadata.processkit.id` is present and equals `SKILL-<name>`.81- `metadata.processkit.version` is a valid semver string.82- `metadata.processkit.created` is a valid ISO 8601 timestamp.83- `metadata.processkit.category` is one of the registered values84 (`process`, `language`, `framework`, `infrastructure`, `architecture`,85 `design`, `data`, `ai`, `api`, `security`, `observability`,86 `database`, `performance`, `meta`).87- For `category: process`, `metadata.processkit.layer` is an integer88 0-4. For other categories, `layer` is `null` or absent.89- Every `uses:` entry is an OBJECT with a `skill` field AND a `purpose`90 field. Bare strings or missing-purpose entries are must-fix.91- Every skill name listed under `uses:` actually exists in92 `src/skills/`.9394#### 2. Section structure9596- The body has these four section headings IN THIS ORDER:97 `## Intro`, `## Overview`, `## Gotchas`, `## Full reference`.98- No headings starting with `## Level 1`, `## Level 2`, or `## Level 3`99 (those were dropped in v0.6.0).100- The Intro is 1-3 sentences. Longer is should-fix.101- The Gotchas section is REQUIRED (must-fix if missing).102103#### 3. The 5 Skill Killers (Skills Master Class)104105| # | Killer | Symptom | Fix |106|---|---|---|---|107| 1 | Description doesn't trigger | Reads like a summary or contains "Use when…" clauses. | Rewrite as a one-sentence imperative (verb-first, under 200 chars). Move trigger phrases to skill-finder's trigger table (Category 9). |108| 2 | Over-defining process | Steps prescribed too rigidly when the agent should have degrees of freedom. | Loosen prescriptive language; distinguish "must" from "should" from "may". |109| 3 | Stating the obvious | Content the agent already knows from general training. | Cut. (BUT: be careful — what's obvious to Claude may not be to Gemini. Provider neutrality wins ties.) |110| 4 | Missing Gotchas | No `## Gotchas` section, empty section, or generic "be careful" content. | Generate draft gotchas — see Step 7 below. |111| 5 | Monolithic blob | SKILL.md > 5000 words. | Push detail to `references/<topic>.md`. |112113#### 4. Anthropic troubleshooting playbook (PDF p25-27)114115Check for the four diagnoses:116117- **Under-trigger** signals: skill doesn't load when it should; users118 manually enabling it; support questions about when to use it. Fix:119 add detail/keywords to the description, especially for technical120 terms.121- **Over-trigger** signals: skill loads for irrelevant queries; users122 disabling it; confusion about purpose. Fix: add negative triggers,123 be more specific.124- **Instructions not followed**: Overview is too verbose, critical125 instructions buried, ambiguous language, or model laziness. Fix:126 put critical instructions at the top; use `## Important` headers;127 prefer code over prose; add explicit encouragement for thorough128 steps.129- **Large context**: SKILL.md too large; too many enabled skills130 simultaneously. Fix: 5000-word ceiling; references/ extraction.131132#### 5. Directory structure133134- `SKILL.md` exists at the skill root (case-sensitive, exactly that135 name).136- No `README.md` inside the skill folder (any depth).137- No `INDEX.md` inside the skill folder (parent `src/skills/INDEX.md`138 is fine).139- `scripts/` directory exists (may be empty with `.gitkeep`).140- If a `templates/` directory exists, that's a leftover from before141 v0.6.0 — should be `assets/`.142- If `mcp/` exists: `server.py` and `mcp-config.json` are present;143 `SERVER.md` is present (NOT `README.md`).144- If `mcp/` exists: the server name in both `mcp-config.json` and the145 `FastMCP(...)` call in `server.py` is prefixed with `processkit-`.146- If `metadata.processkit.commands` is non-empty: a `commands/`147 directory exists with one file per entry in the list.148- If `commands/` exists but `metadata.processkit.commands` is absent149 or empty: flag as should-fix (orphaned adapter files).150151#### 6. Description quality152153Beyond the < 1024 char length check:154155- Description is a **one-sentence imperative** — verb-first (e.g.,156 "Author X", "Review Y for Z", "Generate W"). NOT narrative ("This157 skill helps you…") and NOT passive ("A tool for…"). Violation =158 should-fix.159- Description is **under 200 characters**. Anything longer is usually160 a sign of "Use when…" clauses being smuggled in — should-fix.161- Description does **NOT** contain "Use when the user says…" or162 similar trigger language. Trigger phrases belong in skill-finder's163 trigger-phrase table (Category 9), not here. Violation = must-fix.164- Description starts with the verb, not the noun. "Recommend models"165 beats "Model recommendation skill that recommends models." Violation166 = nit.167168#### 7. Generate Gotchas (the killer feature)169170If the Gotchas section is missing, empty, or generic, generate a draft.171172Process:1731. Read the skill's Overview section to understand what it does.1742. Read the skill's `provides:` block to understand what it produces.1753. Read the skill's `uses:` block to understand what it depends on.1764. For each, ask the five Gotcha-generation questions from skill-builder177 Step 5a:178 - What would an agent get wrong on the first try?179 - What does the agent need to KNOW that the user wouldn't think to180 say?181 - Where would the agent helpfully overshoot?182 - Where would the agent helpfully undershoot?183 - What conventions are unique to this skill that the agent has to184 learn?1855. Draft 5-10 specific, provider-neutral failure modes.1866. Each draft Gotcha must have BOTH a specific failure AND a specific187 countermeasure. Generic items ("be careful", "double-check") are188 not acceptable drafts.1897. Cross-reference Anti-patterns under Full reference if some draft190 items overlap — Gotchas should be agent-only.191192For domain skills (language/framework/infrastructure), useful seed193patterns to consider:194195- Hallucinated APIs (the agent invents library functions that don't196 exist).197- Stale-syntax (the agent uses syntax from an older language version198 than the project targets).199- Ignoring project-specific conventions in favor of "best practice"200 defaults.201- Skipping verification steps when "the obvious thing" looks right.202- Provider blind spots (agents on harnesses without filesystem access203 hallucinating file contents).204205#### 8. Cross-reference quality206207- Skills mentioned in Overview/Full reference exist in `src/skills/`208 (no broken references).209- The `uses:` block is consistent with the body — every dependency210 mentioned in the body should appear in `uses:`, and every dependency211 in `uses:` should be referenced at least once in the body with its212 purpose explained.213214#### 9. skill-finder registration215216- The skill has at least 1 entry in the trigger-phrase table in217 `src/skills/skill-finder/SKILL.md`. Missing = must-fix — a skill218 not in skill-finder is invisible to agents who don't know its name.219- The skill has a one-liner in the appropriate by-category section of220 `skill-finder`. Missing = should-fix.221- The skill's `description:` field does NOT contain "Use when the user222 says…" or similar trigger language — those phrases belong here in223 the trigger table, not in the description. Violation = must-fix224 (cross-links with Category 6).225226#### 10. Command adapter hygiene227228Run this category only if `metadata.processkit.commands` is non-empty OR229`commands/` directory exists.230231- Every entry in `metadata.processkit.commands` has a corresponding232 `commands/<name>.md` file. Missing file = must-fix.233- Every `commands/<name>.md` file has a corresponding entry in234 `metadata.processkit.commands`. Orphan file = should-fix.235- Each command name follows the `<skill-name>-<workflow>` convention236 (skill-name prefix is mandatory). Unprefixed names = must-fix.237- The `argument-hint` in each adapter file matches the `args` field in238 the corresponding `metadata.processkit.commands` entry. Mismatch =239 should-fix.240- Each adapter file body is exactly one sentence invoking the skill241 and workflow. Multi-line bodies with workflow steps are should-fix —242 logic belongs in SKILL.md, not in the adapter.243- `allowed-tools` in each adapter is present and scoped narrowly.244 `Bash(*)` without justification = should-fix.245- SKILL.md Overview mentions the commands (one line per command246 referencing the adapter path). Absent mention = should-fix.247248#### 11. Security and permission audit249250Run this category for all skills (not only those with MCP servers).251252**MCP tools** (if `mcp/` exists):253254- Every `@server.tool()` has explicit annotations. Missing annotations255 on any tool = must-fix.256- `readOnlyHint: true` on all query / list / get / profile tools that257 do not write state. Missing = should-fix.258- `destructiveHint: true` on any tool that deletes, overwrites, or259 resets persistent state. Missing = must-fix.260- `openWorldHint: true` on any tool that makes HTTP or external API261 calls. Missing = must-fix.262- `idempotentHint: true` on tools where a duplicate call is harmless263 (e.g. delete by ID, set-config to same value). Missing = nit.264265**SKILL.md permission surface:**266267- If the skill calls MCP tools marked `destructiveHint: true`, the268 Gotchas section mentions that the agent must show the operation to269 the user and confirm before calling. Missing = should-fix.270- If the skill calls MCP tools marked `openWorldHint: true`, the271 Gotchas section notes that external calls are best-effort and272 failures should not be retried silently. Missing = should-fix.273- If the skill ships scripts in `scripts/` that write to the274 filesystem outside the skill's own directory, or make network275 calls, the Overview section includes a **Permissions** note listing276 what the scripts touch. Missing = should-fix.277278#### 12. Behavioral completeness279280Check that the skill encodes enough to prevent silent execution281failures — cases where the agent understands the workflow but then282fails to execute a step.283284- **Skills that direct the agent to create entities** (WorkItems,285 DecisionRecords, Discussions, etc.): the Gotchas section must286 include a rule about calling the tool in the same turn as the287 commitment. Missing = should-fix.288- **Skills with multi-step workflows**: each step that produces a289 persistent artifact (entity, file, commit) should have a290 corresponding Gotcha about not deferring the write. Missing =291 should-fix.292- **All skills**: are Gotchas specific (failure described +293 concrete countermeasure), or are they generic encouragements294 ("be careful", "double-check") with no actionable fix? All-generic295 Gotchas = should-fix.296- **Process skills in particular**: at least one Gotcha must cover297 the gap between verbal commitment ("I'll do X") and execution298 ("called the tool"). Missing = should-fix.299300### The findings report301302After running through all 12 categories, output a structured report:303304```markdown305# Review: <skill-name>306307## Must-fix (severity: high)308309- [Category N] <finding>: <fix>310311## Should-fix (severity: medium)312313- [Category N] <finding>: <fix>314315## Nit (severity: low)316317- [Category N] <finding>: <fix>318319## Generated Gotchas draft320321(Only if Category 7 was triggered.)322323[5-10 draft gotchas in the standard format]324325## Trigger test cases326327(Only generated for skills with weak descriptions.)328329Should trigger:330 - "..."331Should NOT trigger:332 - "..."333```334335### Bulk operation: gotchas-pass over all skills336337To populate Gotchas across the catalog in one batch:3383391. Iterate over every `src/skills/*/SKILL.md`.3402. For each, run only Category 7 (skip the other categories for speed).3413. Skip skills whose Gotchas section is already present and substantive342 (≥ 3 specific items, not all generic).3434. Output the draft Gotchas as a patch the user can apply.3445. The user reviews the patch and either accepts it as-is, or polishes345 each draft before committing.346347This is the workflow that produced the initial Gotchas content for348processkit's 100+ pre-existing skills (Thread 1 task #4).349350A similar bulk pass can be run for **Category 11 (security audit)**:351iterate every skill with an `mcp/` directory and check that all tools352have annotations. Output missing annotations as a patch the user can353apply to each `server.py`.354355A bulk pass for **Category 12 (behavioral completeness)** is useful356after any behavioral norm is added to AGENTS.md — verify that the357corresponding skill's Gotchas already encode the same rule.358359This skill also provides the `/skill-reviewer-audit` slash command for direct invocation — see `commands/skill-reviewer-audit.md`.360361This skill also provides the `/skill-reviewer-bulk-gotchas` slash command for direct invocation — see `commands/skill-reviewer-bulk-gotchas.md`.362363## Gotchas364365Agent-specific failure modes when running skill-reviewer:366367- **Treating "Stating the obvious" as license to gut content.** Killer368 #3 says cut what the agent already knows — but provider neutrality369 trumps. If something is obvious to Claude but not Gemini, KEEP IT.370 When in doubt, leave content in.371- **Generating Gotchas that just describe the skill's normal use.**372 *"Always remember to call the function"* is not a gotcha; it's373 documentation. Gotchas describe failure modes and countermeasures,374 not happy paths.375- **Generating identical Gotchas across multiple skills.** Each skill's376 Gotchas should be specific to that skill. If the same item appears377 for python-best-practices and rust-conventions, it's too generic —378 push it into a shared meta-skill or remove it.379- **Reporting nits as must-fix.** "Must-fix" is reserved for things380 that genuinely break the skill (frontmatter invalid, Gotchas381 missing entirely, name colliding with reserved words). Style and382 tone preferences are nits or should-fixes at most. Inflating383 severity trains users to ignore the report.384- **Skipping Category 1 because the file "looks right".** Frontmatter385 bugs are the most common silent failure. ALWAYS run Category 1386 even when the skill body looks polished.387- **Hallucinating Gotchas based on the skill's name alone.** Read the388 Overview and Full reference before drafting Gotchas. A title-only389 draft will produce generic content that the user has to throw390 away.391- **Forgetting to check `uses:` references actually exist.** A typo392 in a skill name under `uses:` (e.g., `index-managment`) silently393 breaks delegation. This is a must-fix that's easy to miss.394- **Reviewing your own work without skepticism.** If skill-reviewer395 is being used to review a skill that skill-builder just created,396 the temptation is to rubber-stamp. Run all 11 categories anyway —397 the whole point of the brownfield/greenfield split is independent398 validation.399- **Skipping Category 10 because no commands/ folder is visible.**400 Category 10 must also run when `metadata.processkit.commands` is401 non-empty even if the `commands/` directory is absent — the absence402 itself is the must-fix finding.403- **Skipping Category 11 for "knowledge-only" skills.** Even skills404 without an MCP server can ship scripts or instruct the agent to call405 external services. Run the SKILL.md permission surface checks for406 every skill, not only those with `mcp/`.407- **Treating missing annotations as a nit.** Missing MCP tool408 annotations are must-fix, not nits. A harness cannot surface409 confirmation prompts for destructive tools if it doesn't know the410 tool is destructive. The user may unknowingly approve state-destroying411 operations.412413## Full reference414415### Severity definitions416417| Severity | Definition | Examples |418|---|---|---|419| **Must-fix** | The skill is broken or non-compliant in a way that prevents it from working. | Missing frontmatter, invalid YAML, missing Gotchas, name collision with reserved words, broken `uses:` reference, `mcp/README.md` violation. |420| **Should-fix** | The skill works but has known quality issues that will cause problems for users. | Generic Gotchas, description without trigger phrases, monolithic SKILL.md > 5000 words, buried critical instructions. |421| **Nit** | Style or tone preference. The skill works fine; reasonable people would disagree on whether to fix. | Verbose Intro (4-5 sentences instead of 1-3), inconsistent capitalization in headings, redundant cross-references. |422423### Running skill-reviewer over a skill424425Manual flow:4261. Read the SKILL.md file in full.4272. Walk through Categories 1-11.4283. For each finding, classify severity.4294. Generate the report in the format above.430431### Running the bulk gotchas-pass432433For populating Gotchas across the catalog:4344351. Identify the target skills:436 ```437 query_entities(kind="Skill") # via index-management438 ```4392. For each, check whether the Gotchas section is present and substantive:440 - Present: section heading `## Gotchas` exists.441 - Substantive: 3+ items, each with both a specific failure AND a442 specific countermeasure (not generic).4433. For skills failing the check, generate a Gotchas draft using the444 process in Category 7.4454. Output as a series of patches (one per skill) that can be applied446 in batch.447448### Anti-patterns when reviewing449450- **Drive-by review.** Skimming the SKILL.md and producing a one-line451 report is worse than no review. Take the time.452- **"Nothing wrong"** as a verdict. There's almost always something453 worth raising as a should-fix or nit. If you found nothing,454 re-read with the 5 Skill Killers in mind.455- **Suggesting rewrites of working code/content.** skill-reviewer456 surfaces problems and proposes specific fixes. It does NOT rewrite457 the whole skill — that's the user's call.458- **Reviewing without checking the format spec.** The canonical459 source of truth is `src/skills/FORMAT.md`. Re-read it if you're460 unsure about a convention.461462### Cross-references463464- `skill-builder` — the greenfield counterpart; same checklist applied465 during creation.466- `index-management` — query existing skills; locate the skill being467 reviewed; check that `uses:` references resolve.468- `event-log` — log `skill.reviewed` events with the findings count.469- `src/skills/FORMAT.md` — the canonical format spec.