claude-code-ultimate-guide/examples
Florian BRUNIAUX 07b8810fe3 feat(workflows): add database branch isolation with git worktrees
Add comprehensive documentation for combining git worktrees with database branches
for true feature isolation across Neon, PlanetScale, Supabase, and local Postgres.

Changes:
- examples/commands/git-worktree.md: Add database branch detection and quick reference (~90 lines)
- examples/workflows/database-branch-setup.md: New complete guide with TL;DR and provider workflows (349 lines)
- english-ultimate-claude-code-guide.md: Add section 9.12 "Database Branch Isolation with Worktrees" (~95 lines)
- CHANGELOG.md: Add v2.4.0 release notes
- README.md: Update version to 2.4, line count to 9500+, add source attributions

Architecture: Progressive disclosure pattern (concise command → complete workflow guide)
Sources: Neon branching docs, PlanetScale branching docs

Stats: ~540 lines added | Guide now 9,592 lines, 35,576 words

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-11 13:25:58 +01:00
..
agents feat: add Learning Paths, examples, and project governance files 2026-01-10 14:25:22 +01:00
commands feat(workflows): add database branch isolation with git worktrees 2026-01-11 13:25:58 +01:00
config feat: add Learning Paths, examples, and project governance files 2026-01-10 14:25:22 +01:00
github-actions feat(guide): comprehensive improvements - troubleshooting, CLI ref, pitfalls, DeepSeek 2026-01-10 15:47:26 +01:00
hooks feat(examples): add production-ready commands, hooks, and comprehensive documentation 2026-01-10 17:30:30 +01:00
memory docs: release v2.3.0 with DeepTo guide integration 2026-01-10 17:55:46 +01:00
skills feat: add Learning Paths, examples, and project governance files 2026-01-10 14:25:22 +01:00
workflows feat(workflows): add database branch isolation with git worktrees 2026-01-11 13:25:58 +01:00
README.md feat(examples): add production-ready commands, hooks, and comprehensive documentation 2026-01-10 17:30:30 +01:00

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

  1. Copy the template you need
  2. Customize for your project
  3. 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.