- Remove ~1048 lines of non-Claude-Code-specific content (-10.9%)
- Externalize health check and reinstall scripts to examples/scripts/
- Clean up table of contents and fix broken references
- Update version numbers and statistics across all documentation
Removed sections:
- DeepSeek Integration (200 lines)
- Git Archaeology Pattern (250 lines)
- Emergency Hotfix Checklist (140 lines)
- Maturity Model & Success Metrics (95 lines)
- Generic Prompt Templates (105 lines)
- Task-specific checklists
New files:
- examples/scripts/check-claude.{sh,ps1}
- examples/scripts/clean-reinstall-claude.{sh,ps1}
Stats: 9593 → 8545 lines, focus on Claude Code-specific content
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| agents | ||
| commands | ||
| config | ||
| github-actions | ||
| hooks | ||
| memory | ||
| scripts | ||
| skills | ||
| workflows | ||
| README.md | ||
Claude Code Examples
Ready-to-use templates for Claude Code configuration.
Structure
| Folder | Description |
|---|---|
agents/ |
Custom AI personas for specialized tasks |
skills/ |
Reusable knowledge modules |
commands/ |
Custom slash commands |
hooks/ |
Event-driven automation scripts |
config/ |
Configuration file templates |
memory/ |
CLAUDE.md memory file templates |
Quick Start
- Copy the template you need
- Customize for your project
- Place in the correct location (see paths below)
File Locations
| Type | Project Location | Global Location |
|---|---|---|
| Agents | .claude/agents/ |
~/.claude/agents/ |
| Skills | .claude/skills/ |
~/.claude/skills/ |
| Commands | .claude/commands/ |
~/.claude/commands/ |
| Hooks | .claude/hooks/ |
~/.claude/hooks/ |
| Config | .claude/ |
~/.claude/ |
| Memory | ./CLAUDE.md or .claude/CLAUDE.md |
~/.claude/CLAUDE.md |
Windows: Replace
~/.claude/with%USERPROFILE%\.claude\
Templates Index
Agents
| File | Purpose | Model |
|---|---|---|
| code-reviewer.md | Thorough code review | Sonnet |
| test-writer.md | TDD/BDD test generation | Sonnet |
| security-auditor.md | Security vulnerability detection | Sonnet |
| refactoring-specialist.md | Clean code refactoring | Sonnet |
Skills
| File | Purpose |
|---|---|
| tdd-workflow.md | Test-Driven Development process |
| security-checklist.md | OWASP Top 10 security checks |
Commands
| File | Trigger | Purpose |
|---|---|---|
| commit.md | /commit |
Conventional commit messages |
| pr.md | /pr |
Create well-structured PRs with scope analysis |
| review-pr.md | /review-pr |
PR review workflow |
| release-notes.md | /release-notes |
Generate release notes in 3 formats |
| sonarqube.md | /sonarqube |
Analyze SonarCloud quality issues for PRs |
| generate-tests.md | /generate-tests |
Test generation |
| git-worktree.md | /git-worktree |
Isolated git worktree setup |
Hooks
| File | Event | Purpose |
|---|---|---|
| dangerous-actions-blocker.sh | PreToolUse | Block dangerous commands/edits |
| security-check.* | PreToolUse | Block secrets in commands |
| auto-format.* | PostToolUse | Auto-format after edits |
| notification.sh | Notification | Contextual macOS sound alerts |
See hooks/README.md for complete documentation and examples
Config
| File | Purpose |
|---|---|
| settings.json | Hooks configuration |
| mcp.json | MCP servers setup |
| .gitignore-claude | Git ignore patterns |
Memory
| File | Purpose |
|---|---|
| CLAUDE.md.project-template | Team project memory |
| CLAUDE.md.personal-template | Personal global memory |
See the main guide for detailed explanations.