claude-code-templates
Original:🇺🇸 English
Translated
Boilerplate templates for Claude Code extensions. Triggers on: create agent, new skill, command template, hook script, extension scaffold.
1installs
Sourceneversight/skills_feed
Added on
NPX Install
npx skill4agent add neversight/skills_feed claude-code-templatesTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Claude Code Templates
Starter templates for building Claude Code extensions.
Template Selection
| Building | Template | Key Features |
|---|---|---|
| Expert persona | | Focus areas, quality checklist, references |
| Tool capability | | Commands, examples, triggers |
| User workflow | | Execution flow, options |
| Automation | | Input parsing, exit codes |
Quick Start
Create an Agent
bash
# Copy template
cp ~/.claude/skills/claude-code-templates/assets/agent-template.md \
~/.claude/agents/my-expert.md
# Edit: name, description, focus areas, referencesCreate a Skill
bash
# Create skill directory
mkdir -p ~/.claude/skills/my-skill
# Copy template
cp ~/.claude/skills/claude-code-templates/assets/skill-template.md \
~/.claude/skills/my-skill/SKILL.md
# Edit: name, description, commands, examplesCreate a Command
bash
# Copy template
cp ~/.claude/skills/claude-code-templates/assets/command-template.md \
~/.claude/commands/my-command.md
# Edit: name, description, execution flowCreate a Hook Script
bash
# Copy template
cp ~/.claude/skills/claude-code-templates/assets/hook-script.sh \
.claude/hooks/my-hook.sh
# Make executable
chmod +x .claude/hooks/my-hook.shTemplate Locations
Templates are in :
./assets/| File | Purpose |
|---|---|
| Expert agent boilerplate |
| Skill with YAML frontmatter |
| Slash command scaffold |
| Secure hook script template |
Naming Conventions
| Type | Pattern | Example |
|---|---|---|
| Agent | | |
| Skill | | |
| Command | | |
| Hook | | |
Validation
bash
# Validate YAML frontmatter
head -20 my-extension.md
# Check name matches filename
grep "^name:" my-extension.md
# Run project tests
just testOfficial Documentation
- https://code.claude.com/docs/en/skills - Skills reference
- https://code.claude.com/docs/en/sub-agents - Custom subagents
- https://code.claude.com/docs/en/hooks - Hooks reference
- https://agentskills.io/specification - Agent Skills open standard
Assets
- - Expert agent scaffold
./assets/agent-template.md - - Skill with references pattern
./assets/skill-template.md - - Slash command scaffold
./assets/command-template.md - - Secure bash hook template
./assets/hook-script.sh
See Also: for troubleshooting extensions
claude-code-debug