Skip to content

Latest commit

 

History

History
165 lines (126 loc) · 6.01 KB

File metadata and controls

165 lines (126 loc) · 6.01 KB

All Available Configs Catalog

Complete list of configs from everything-claude-code.

Agents (~/.claude/agents/)

Agent Purpose When to Use
planner.md Implementation planning Complex features, multi-step tasks, refactoring
architect.md System design Architectural decisions, scalability planning
tdd-guide.md Test-driven development New features, bug fixes, refactoring with tests
code-reviewer.md Code quality review After writing code, before commits
security-reviewer.md Security analysis Before commits, when handling sensitive data
build-error-resolver.md Fix build errors When build/lint/type-check fails
e2e-runner.md E2E testing Critical user flows, Playwright tests
refactor-cleaner.md Dead code cleanup Code maintenance, removing unused code
doc-updater.md Documentation Syncing docs with code changes

Agent Selection Guide

Complex feature request → planner
Code just written       → code-reviewer
Bug fix needed          → tdd-guide
Build failing           → build-error-resolver
Design decision         → architect
Security concern        → security-reviewer

Rules (~/.claude/rules/)

Rule Purpose Always Enforced?
security.md No hardcoded secrets, input validation, XSS/SQL prevention Yes
coding-style.md Immutability, file size limits, error handling Yes
testing.md TDD workflow, 80% coverage requirement Yes
git-workflow.md Conventional commits, PR process Yes
agents.md When to delegate to subagents Yes
performance.md Model selection, context management Yes
patterns.md API response formats, repository patterns Yes
hooks.md Hook documentation and usage Yes

Essential Rules (Starter Kit)

For new projects, start with:

  1. security.md - Non-negotiable security checks
  2. coding-style.md - Code quality standards
  3. agents.md - Agent orchestration patterns

Commands (~/.claude/commands/)

Command Purpose Invokes Agent
/plan Create implementation plan before coding planner
/tdd Enforce test-driven development tdd-guide
/code-review Review code quality and security code-reviewer
/build-fix Fix build, lint, type errors build-error-resolver
/e2e Generate E2E tests with Playwright e2e-runner
/refactor-clean Remove dead code, clean up refactor-cleaner
/test-coverage Analyze and improve test coverage tdd-guide
/update-codemaps Refresh documentation maps doc-updater
/update-docs Sync documentation with code doc-updater
/learn Extract patterns from session -

Command Workflow

/plan → /tdd → /build-fix (if needed) → /code-review

Skills (~/.claude/skills/)

Skill Purpose When to Use
coding-standards.md Language best practices Writing code in any language
backend-patterns.md API, database, caching patterns Backend development
frontend-patterns.md React, Next.js patterns Frontend development
tdd-workflow/ TDD methodology Test-driven development
security-review/ Security checklist Security audits
clickhouse-io.md ClickHouse analytics Analytics features
project-guidelines-example.md Project-specific example Template for custom skills

Hooks (~/.claude/settings.json)

PreToolUse Hooks

Hook Matcher Purpose
Block dev servers npm run dev Force tmux for log access
Tmux reminder Long-running commands Suggest tmux for session persistence
Git push pause git push Review before pushing
Block .md creation .md files Prevent random documentation files
Strategic compact Edit/Write Suggest compaction at intervals

PostToolUse Hooks

Hook Matcher Purpose
PR logging gh pr create Log PR URL after creation
Auto-format .ts/.tsx edits Run Prettier after edits
TypeScript check .ts/.tsx edits Run tsc after edits
Console.log warning .ts/.tsx/.js/.jsx edits Warn about console.log

Lifecycle Hooks

Hook Event Purpose
Pre-compact save PreCompact Save state before compaction
Session start SessionStart Load previous context
Session end Stop Persist state, final audits
Pattern extraction Stop Evaluate session for learnings

Contexts (~/.claude/contexts/)

Context Purpose When to Use
dev.md Development mode Active coding
review.md Review mode Code review sessions
research.md Research mode Exploring options, learning

Examples

Example Purpose Location
CLAUDE.md Project-level config Project root
user-CLAUDE.md User-level config ~/.claude/CLAUDE.md
statusline.json Custom status line Editor integration

Installation Quick Reference

# Full installation
git clone https://github.com/affaan-m/everything-claude-code.git
cp -r everything-claude-code/agents/* ~/.claude/agents/
cp -r everything-claude-code/rules/* ~/.claude/rules/
cp -r everything-claude-code/commands/* ~/.claude/commands/
cp -r everything-claude-code/skills/* ~/.claude/skills/

# Minimal installation (starter kit)
cp ~/.claude/skills/claude-code-best-practices/assets/starter-kit/* ~/.claude/

Customization Tips

  1. Start minimal: Use starter kit first, add configs as needed
  2. Project-specific: Copy and customize for each project
  3. Remove unused: Don't keep configs you don't use
  4. Update descriptions: Make agent descriptions match your workflow
  5. Adapt patterns: Modify rules/commands for your tech stack