Agent skill
promote-skill
Move a skill from staging to active
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/refinement-wpank-ai
SKILL.md
/promote-skill
Promote a staged skill to active production location.
Usage
/promote-skill <name> [category]
Arguments:
name— The skill folder name in stagingcategory— Target category (ai-chat, design-systems, backend, realtime, meta)
Examples
/promote-skill pmon-design-system design-systems
/promote-skill api-patterns backend
/promote-skill chat-streaming ai-chat
When to Use
- Promoting a single skill from staging to active
- Skill has already been validated and refined
- You know the target category for the skill
- For bulk promotion of multiple skills, use
/refine-stagedinstead
What It Does
- Locates the skill in
ai/staging/skills/[name]/ - Validates the skill exists and has SKILL.md
- Checks quality criteria (see below)
- Creates target directory if needed
- Moves skill to
ai/skills/[category]/[name]/ - Removes from staging
- Reports success or validation failures
Quality Criteria
Before promotion, the skill must pass:
- >70% expert knowledge (not in base model)
- <300 lines (max 500)
- Has WHAT, WHEN, KEYWORDS in description
- Includes specific NEVER Do list
- Project-agnostic (no hardcoded project names)
- Has "When to Use" section
- Has code examples (if applicable)
Quality Gate
Run these validation checks before promoting a skill. All checks must pass — if any fail, do not promote until the issues are resolved.
Automated Validation
python scripts/validate_all_skills.py --skill <name>
The skill must receive a passing grade from the validator. Fix any reported issues before proceeding.
Manual Checks
-
Frontmatter present and complete
- SKILL.md must have YAML frontmatter with
nameanddescriptionfields descriptionshould include WHAT, WHEN, and KEYWORDS
- SKILL.md must have YAML frontmatter with
-
Minimum content threshold
- SKILL.md must be at least 50 lines — anything shorter likely lacks sufficient depth
-
No placeholder text
- Search for
TODO,FIXME,TBD,[placeholder],[your-,lorem ipsum - All template placeholders must be replaced with real content
- Search for
-
No broken internal links
- Verify all relative markdown links (
[text](path)) resolve to existing files - Check that referenced scripts, templates, and related skills exist
- Verify all relative markdown links (
Gate Outcome
- All checks pass → proceed with promotion (step 4 onward in "What It Does")
- Any check fails → report failures, do NOT promote, suggest fixes
Output Locations
- Promoted skill →
ai/skills/[category]/[name]/ - Removed from →
ai/staging/skills/[name]/
Related
- Full command:
/refine-staged(bulk promotion) - Validation:
/validate-skill(check before promoting) - Quality criteria:
ai/skills/extraction/references/skill-quality-criteria.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?