Skill v1.0.1
currentAutomated scan100/1004 files
version: "1.0.1"
New Skill Checklist
Adding a new skill to the project. Skills follow the Agent Skills Open Standard (agentskills.io).
Agent Skills Open Standard Reference
The Agent Skills Open Standard is supported by 20+ tools: Claude Code, Cursor, OpenCode, Codex, Windsurf, Cline, and others.
Critical Requirements
- Directory name MUST match skill name - The parent directory name MUST equal the
namefield in SKILL.md frontmatter
- Directory:
skills/my-skill/SKILL.md→ name:my-skill - NOT:
skills/something-else/SKILL.md→ name:my-skill(INVALID)
- name field - REQUIRED
- Max 64 characters
- Lowercase letters, numbers, and hyphens only
- Pattern:
^[a-z0-9-]{1,64}$
- description field - REQUIRED
- Max 1024 characters
- Must explain WHAT the skill does AND WHEN to use it
- Include trigger phrases for discoverability
Skill Loading Behavior
- Startup: Only metadata loaded (~100 tokens per skill)
- Invocation: Full skill content loaded on-demand
- Progressive disclosure: Keeps context clean until needed
Skill Tool Requirement
If an agent says "MUST invoke skill X" or "execute the X skill", the agent MUST have Skill in its tools list:
---tools: Skill, Read, Glob, Grep---
1. Create Skill Directory
Location follows the pattern: plugins/{plugin-name}/skills/{skill-name}/SKILL.md
Directory name = skill name (this is the critical rule):
plugins/enhance/skills/prompts/SKILL.md # WRONG - name mismatchplugins/enhance/skills/enhance-prompts/SKILL.md # CORRECT
2. Create SKILL.md File
---name: {skill-name}description: {what it does}. Use when {trigger conditions}.---# {Skill Name}## When to Use{Clear conditions for when this skill should be invoked}## Implementation{Instructions for the agent executing this skill}## Output Format{Expected output structure}
Guidelines
- name: Must match parent directory exactly
- description: First sentence = what, second = when/triggers
- Include concrete trigger phrases users might say
- Keep implementation instructions actionable
- Provide output format examples
3. Update Agent (if skill is agent-invoked)
If an agent invokes this skill, ensure the agent has Skill in its tools:
---model: sonnettools: Skill, Read, Glob, Grep, Bash(git:*)---MUST invoke the `{skill-name}` skill using the Skill tool.
4. Cross-Platform Compatibility
Reference: checklists/cross-platform-compatibility.md
Automatic Handling (by installer)
The installer (bin/cli.js) handles:
- Copies skills to
~/.config/opencode/skills/for OpenCode - Copies skills to
~/.codex/skills/for Codex
Manual Requirements
- [ ] Use
${PLUGIN_ROOT}not${CLAUDE_PLUGIN_ROOT}in skill file - [ ] Use
AI_STATE_DIRenv var for state paths
5. Run Quality Validation
# Run /enhance on the new skill/enhance plugins/{plugin}/skills/{skill-name}# Validate skill name matches directoryls -la plugins/{plugin}/skills/{skill-name}/
6. Update Documentation
If the skill is user-invocable:
- Add to plugin's commands/SKILL.md list
- Update README.md skills table
Validation Checklist
Before committing:
- [ ] Directory name matches skill
namefield exactly - [ ]
namefield: lowercase, hyphens, max 64 chars - [ ]
descriptionfield: explains WHAT and WHEN - [ ] If agent-invoked: agent has
Skillin tools list - [ ]
/enhancepasses with no HIGH issues
Common Mistakes
1. Directory/Name Mismatch (MOST COMMON)
# WRONGskills/prompts/SKILL.md---name: enhance-prompts # Doesn't match directory!---# CORRECTskills/enhance-prompts/SKILL.md---name: enhance-prompts # Matches directory---
2. Missing Skill Tool in Agent
# WRONG - says "invoke skill" but can't---tools: Read, Glob, Grep---MUST invoke the enhance-prompts skill.# CORRECT---tools: Skill, Read, Glob, Grep---MUST invoke the enhance-prompts skill.
3. Vague Description
# WRONG - no trigger infodescription: Analyzes prompts# CORRECT - explains when to usedescription: Analyze prompts for clarity and structure. Use when reviewing agent prompts, command files, or general instructions.
Audit Findings (2025-02-04)
These issues were found across all plugins during comprehensive audit and have been fixed.
Directory/Name Mismatches (21 total - FIXED)
PERF plugin - 8 directories renamed:
analyzer→perf-analyzerbaseline→perf-baseline-managerbenchmark→perf-benchmarkercode-paths→perf-code-pathsinvestigation-logger→perf-investigation-loggerprofile→perf-profilertheory→perf-theory-gatherertheory-tester→perf-theory-tester
ENHANCE plugin - 10 directories renamed:
agent-prompts→enhance-agent-promptsclaude-memory→enhance-claude-memorycross-file→enhance-cross-filedocs→enhance-docshooks→enhance-hooksorchestrator→enhance-orchestratorplugins→enhance-pluginsprompts→enhance-promptsskills→enhance-skills
NEXT-TASK plugin - 2 directories renamed:
delivery-validation→validate-deliverytask-discovery→discover-tasks
PERF plugin - 1 additional:
perf-theory-generator→perf-theory-gatherer
Agents Missing Skill Tool (7 total - FIXED)
next-task plugin - Added Skill tool:
- delivery-validator.md
- task-discoverer.md
perf plugin - Added Skill tool:
- perf-analyzer.md
- perf-code-paths.md
- perf-investigation-logger.md
- perf-theory-gatherer.md
- perf-theory-tester.md
Automated Tests
Run npm test -- --testPathPattern=agent-skill-compliance to validate:
- All agents invoking skills have
Skilltool - All skill directories match their skill names
- All skill names follow the standard format