Refactored commands to extract reusable skills following the Commands → Skills separation pattern. Each command is now <50 lines and references skill files for detailed knowledge. Plugins refactored: - claude-config-maintainer: 5 commands → 7 skills - code-sentinel: 3 commands → 2 skills - contract-validator: 5 commands → 6 skills - data-platform: 10 commands → 6 skills - doc-guardian: 5 commands → 6 skills (replaced nested dir) - git-flow: 8 commands → 7 skills Skills contain: workflows, validation rules, conventions, reference data, tool documentation Commands now contain: YAML frontmatter, agent assignment, skills list, brief workflow steps, parameters Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.5 KiB
1.5 KiB
Skill: Interface Parsing
Parse plugin interfaces from README.md and agent definitions from CLAUDE.md.
Interface Components
| Component | Source | Description |
|---|---|---|
| Commands | README.md | Slash commands offered by plugin |
| Agents | README.md, CLAUDE.md | Autonomous agents defined |
| Tools | README.md | MCP tools provided |
| Categories | README.md | Tool groupings and features |
Parsing README.md
Extract from these sections:
- Commands section: Look for tables with
| Command |or lists of/command-name - Tools section: Look for tables with
| Tool |or code blocks with tool names - Agents section: Look for "Four-Agent Model" or "Agents" headings
Parsing CLAUDE.md
Extract agent definitions from:
- Four-Agent Model table:
| Agent | Personality | Responsibilities | - Agent sections: Headings like
### Planner Agentor## Agents - Tool sequences: Lists of tools in workflow steps
Agent Definition Structure
agent:
name: "Planner"
personality: "Thoughtful, methodical"
responsibilities:
- "Sprint planning"
- "Architecture analysis"
tools:
- "create_issue"
- "search_lessons"
workflow:
- step: "Analyze requirements"
tools: ["list_issues", "get_issue"]
MCP Tools
| Tool | Purpose |
|---|---|
parse_plugin_interface |
Extract interface from README.md |
parse_claude_md_agents |
Extract agents and tool sequences from CLAUDE.md |