Agent skill

commands-gizix-cc-projects

Add an agent skill to an existing template

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/commands-gizix-cc-projects

SKILL.md

Add a new agent skill to an existing project template. Skills are automatically activated based on context.

Arguments

  • $1: Template directory name (e.g., "django-template", "react-template")
  • $2: Skill name in lowercase-letters-numbers-hyphens (e.g., "component-generator", "api-validator")

Process

  1. Verify Template Exists

Check that $1/.claude/skills/ directory exists.

  1. Gather Skill Details

Ask the user:

  • What capability does this skill provide?
  • When should it automatically activate?
  • What file types or scenarios trigger it?
  • What patterns or templates does it implement?
  • Should it be read-only or can it modify code?
  1. Create Skill Directory

Create $1/.claude/skills/$2/ with:

  • SKILL.md (required)
  • reference.md (optional - detailed docs)
  • examples/ (optional - example files)
  • templates/ (optional - code templates)
  • scripts/ (optional - helper scripts)
  1. Create SKILL.md

Generate with proper frontmatter and comprehensive instructions.

  1. Update Documentation

Add the skill to $1/README.md in the skills section.

Example Usage

/add-skill react-template component-generator

Best Practices for Skills

  • Specific triggers: Include file extensions, keywords in description
  • Focused capability: One skill, one type of task
  • Complete examples: Show full, working code
  • Framework-specific: Tailor to the template's technology
  • Tool restrictions: Limit to necessary tools

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results