Meta-skill for creating Claude Code skills. TRIGGERS - create skill, YAML frontmatter, validate skill, TodoWrite templates, bundled resources (scripts/references/assets), progressive disclosure, allowed-tools, skill architecture. Use when creating, validating, or structuring skills.
View on GitHubterrylica/cc-skills
plugin-dev
January 25, 2026
Select agents to install to:
npx add-skill https://github.com/terrylica/cc-skills/blob/main/plugins/plugin-dev/skills/skill-architecture/SKILL.md -a claude-code --skill skill-architectureInstallation paths:
.claude/skills/skill-architecture/# Skill Architecture Comprehensive guide for creating effective Claude Code skills following Anthropic's official standards with emphasis on security, CLI-specific features, and progressive disclosure architecture. > ⚠️ **Scope**: Claude Code CLI Agent Skills (`~/.claude/skills/`), not Claude.ai API skills --- ## FIRST: TodoWrite Task Templates **MANDATORY**: Select and load the appropriate template into TodoWrite before any skill work. > For detailed context on each step, see [Skill Creation Process (Detailed Tutorial)](#skill-creation-process-detailed-tutorial) below. ### Template A: Create New Skill ``` 1. Gather requirements (ask user for functionality, examples, triggers) 2. Identify reusable resources (scripts, references, assets needed) 3. Run init script to create skill directory structure 4. Create bundled resources first (scripts/, references/, assets/) 5. Write SKILL.md with YAML frontmatter (name, description with triggers) 6. Add TodoWrite task templates section to SKILL.md 7. Add Post-Change Checklist section to SKILL.md 8. Validate with quick_validate.py 9. Validate links (relative paths only): bun run plugins/plugin-dev/scripts/validate-links.ts <skill-path> 10. Test skill on real example 11. Register skill in project CLAUDE.md 12. Verify against Skill Quality Checklist below ``` ### Template B: Update Existing Skill ``` 1. Read current SKILL.md and understand structure 2. Identify what needs changing (triggers, workflow, resources) 3. Make targeted changes to SKILL.md 4. Update any affected references/ or scripts/ 5. Validate with quick_validate.py 6. Validate links (relative paths only): bun run plugins/plugin-dev/scripts/validate-links.ts <skill-path> 7. Test updated behavior 8. Update project CLAUDE.md if description changed 9. Verify against Skill Quality Checklist below ``` ### Template C: Add Resources to Skill ``` 1. Read current SKILL.md to understand skill purpose 2. Determine resource type (script, reference, or asset) 3. Creat