claude-code-templates
Create Claude Code extensions from templates
๋ํ ๋ค์์์ ์ฌ์ฉํ ์ ์์ต๋๋ค: 0xDarkMatter
Building Claude Code extensions requires proper structure and configuration. These starter templates provide proven patterns for agents, skills, commands, and hook scripts so you can scaffold extensions correctly the first time.
์คํฌ ZIP ๋ค์ด๋ก๋
Claude์์ ์ ๋ก๋
์ค์ โ ๊ธฐ๋ฅ โ ์คํฌ โ ์คํฌ ์ ๋ก๋๋ก ์ด๋
ํ ๊ธ์ ์ผ๊ณ ์ฌ์ฉ ์์
ํ ์คํธํด ๋ณด๊ธฐ
"claude-code-templates" ์ฌ์ฉ ์ค์ ๋๋ค. I need to create a Python expert agent for my team
์์ ๊ฒฐ๊ณผ:
- Copy template to ~/.claude/agents/python-expert.md
- Customize focus areas: decorators, async, typing
- Add quality checklist items for PEP 8 compliance
- Include official Python documentation links
๋ณด์ ๊ฐ์ฌ
์์ This skill contains only template files for Claude Code extensions. The only executable is a bash script template (hook-script.sh) with no harmful commands and proper error handling. All files are pure templates with placeholders. No network calls, no credential access, no obfuscated code.
์ํ ์์ธ
โก ์คํฌ๋ฆฝํธ ํฌํจ (1)
ํ์ง ์ ์
๋ง๋ค ์ ์๋ ๊ฒ
Scaffold new extensions
Quickly create properly structured agents, skills, commands, or hooks for Claude Code
Standardize team templates
Establish consistent patterns across team extensions with shared template foundations
Build hook integrations
Create secure hook scripts for tool use validation, logging, or custom automation
์ด ํ๋กฌํํธ๋ฅผ ์ฌ์ฉํด ๋ณด์ธ์
I need to create a new [technology] expert agent. Copy the agent template from claude-code-templates to ~/.claude/agents/[technology]-expert.md and help me customize the focus areas and quality checklist.
Create a new skill called [skill-name] in ~/.claude/skills/. Copy the skill template from claude-code-templates and help me fill in the commands and examples.
I want to create a /[command-name] slash command. Copy the command template from claude-code-templates and help me define the execution flow and options.
Create a hook script that validates file paths before write operations. Copy the hook template from claude-code-templates and customize it to block path traversal attacks.
๋ชจ๋ฒ ์ฌ๋ก
- Keep SKILL.md under 500 lines and use references/ for detailed documentation
- Use descriptive trigger keywords in description field for better agent discovery
- Test templates in a non-production project before deploying team-wide
ํผํ๊ธฐ
- Using generic descriptions without trigger keywords for agent discovery
- Skipping quality checklists or focus areas in agent templates
- Mixing dynamic content with static patterns that could benefit from caching
์์ฃผ ๋ฌป๋ ์ง๋ฌธ
Which Claude versions support these templates?
What are the file size limits for templates?
How do I integrate templates with my existing workflow?
Is my data safe with hook scripts?
Why is my template not being recognized?
How is this different from built-in Claude Code features?
๊ฐ๋ฐ์ ์ธ๋ถ ์ ๋ณด
ํ์ผ ๊ตฌ์กฐ
๐ assets/
๐ agent-template.md
๐ command-template.md
๐ hook-script.sh
๐ skill-template.md
๐ SKILL.md