Codex skill for auditing and improving other skills against reusable quality gates: trigger descriptions, progressive disclosure, gotchas, validation scripts, examples, and workflow flexibility.
skill-quality-reviewer is a meta-skill for reviewing Codex/Claude-style skill folders.
It treats a skill as a reusable operating system for future agents, not as prompt prose. The goal is to identify whether another agent can trigger the skill correctly, load only the context it needs, avoid known mistakes, validate fragile requirements, and produce useful findings or improvements.
Use this skill when you want to:
- review a new or existing skill folder
- check whether a skill description triggers correctly
- find overbroad, overlong, or under-specified skill instructions
- audit progressive disclosure across
SKILL.md,references/,examples/,scripts/, andassets/ - identify missing gotchas or weak failure-mode coverage
- decide whether deterministic validation scripts are needed
- improve a skill without turning it into a long prompt
- self-review a skill while creating or editing it
Do not use it for normal code review unless the artifact under review is itself a skill.
The reviewer checks seven high-signal gates:
-
Trigger description
- The description should say when the skill should trigger.
- It should include concrete contexts and negative boundaries.
-
Progressive disclosure
SKILL.mdshould stay concise.- Details should live in references, examples, scripts, or assets and be loaded only when needed.
-
Gotchas
- A good skill records the mistakes agents are likely to make.
- Gotchas should be specific, actionable, and based on real failure modes.
-
Deterministic validation
- Structural checks should be scripted when possible.
- YAML, required files, referenced paths, JSON config, and forbidden files should not depend on memory.
-
Workflow flexibility
- The skill should guide agents without forcing every task through the full process.
- Narrow tasks should be able to skip irrelevant stages.
-
Examples
- Examples should show user input, expected agent behavior, and "do not" cases.
- They help future agents apply rules in realistic situations.
-
Output and completion
- The skill should define what a good result looks like.
- It should name verification, skipped work, and unresolved risks.
skill-quality-reviewer/
├── SKILL.md
├── agents/
│ └── openai.yaml
├── examples/
│ └── review-examples.md
├── references/
│ ├── gotchas.md
│ ├── quality-gates.md
│ └── review-output.md
└── scripts/
└── audit-skill.py
The default review flow is:
Identify target skill
→ Inspect SKILL.md and file tree
→ Run deterministic audit script
→ Check description and loading structure
→ Check gotchas, examples, and validation
→ Report findings by severity
→ Apply focused improvements if requested
→ Re-run validation
Findings use three severity levels:
| Severity | Meaning |
|---|---|
| P1 | Likely to prevent correct triggering, cause major overuse, hide critical context, or make the skill unreliable. |
| P2 | Likely to waste tokens, create inconsistent behavior, or make future maintenance harder. |
| P3 | Polish, naming, organization, or optional improvements that do not block usefulness. |
Run the audit script against a skill folder:
skill-quality-reviewer/scripts/audit-skill.py path/to/skill-folderThe script checks:
SKILL.mdexists- YAML frontmatter is parseable
nameanddescriptionexist- description starts with
Use when - description includes a negative trigger boundary
SKILL.mdlength is reasonable- referenced resources exist
- forbidden files are absent
- gotchas/pitfalls reference exists
agents/openai.yamlexists
Example:
skill-quality-reviewer/scripts/audit-skill.py ios-app-workflowOutput is JSON with errors, warnings, and notes.
**[P1] Description is too broad to trigger reliably**
The description says the skill "helps with frontend work" but does not name concrete trigger conditions or negative boundaries. Future agents may load it for unrelated UI work or miss it when design-to-code work is requested.
Fix: Rewrite the description to start with "Use when..." and include concrete contexts plus "Do not use..." boundaries for adjacent design, testing, and backend skills.Copy the skill folder into your Codex skills directory:
~/.codex/skills/skill-quality-reviewerThen invoke it explicitly:
Use $skill-quality-reviewer to review this skill folder and identify triggering, progressive disclosure, gotchas, validation, and workflow issues.
Codex skill for auditing and improving other skills against reusable quality gates: triggers, progressive disclosure, gotchas, validation, examples, and workflow flexibility.