Files
claude-settings/.gitignore
Alexander Hinrichs 57f52fd4b7 feat: add custom agents and slash commands
Add comprehensive custom agents for specialized workflows:
- gentoo-sysadmin: Gentoo Linux system administration (OpenRC, Portage)
- tdd-test-writer: TDD Ping-Pong workflow implementation
- code-reviewer: Code review against strict style guidelines
- documentation-writer: Comprehensive project documentation
- python-ai-tutor: AI/ML coursework assistant with teaching focus
- dotfiles-manager: Dotfiles management with chezmoi

Add custom slash commands for quick workflows:
- /gentoo-update: Safe Gentoo system update procedure
- /tdd-next: Start next TDD test cycle
- /style-check: Comprehensive code style validation
- /doc-sync: Update all project documentation
- /review-pr: Review pull request before merge
- /script-install: Install system script with proper permissions

Updated .gitignore to properly track agents and commands while
excluding session-specific data (plans/, etc.)

Added README.md documenting the configuration structure and usage.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 19:27:13 +01:00

171 lines
3.9 KiB
Plaintext

# Claude Code .gitignore
# For managing ~/.claude directory with git
# This allows sharing global configuration (CLAUDE.md, agents, etc.)
# while excluding machine-specific and sensitive data
# =============================================================================
# SENSITIVE DATA - NEVER COMMIT
# =============================================================================
# Credentials and authentication tokens
.credentials.json
*.credentials
*.token
*.key
# API keys or secrets
secrets/
*.secret
# =============================================================================
# MACHINE-SPECIFIC STATE
# =============================================================================
# Conversation history (contains project-specific and personal conversations)
history.jsonl
history.*.jsonl
# Session-specific todo lists (ephemeral, per-session data)
todos/
*.todo
# Project-specific state (machine-specific paths and state)
projects/
# Session environment data (temporary session state)
session-env/
# File version history (large, machine-specific)
file-history/
# Shell state snapshots (temporary shell state)
shell-snapshots/
# Plan mode drafts (session-specific planning)
plans/
# =============================================================================
# LOGS AND DEBUG DATA
# =============================================================================
# Debug logs
debug/
*.log
logs/
# Crash dumps
*.dmp
*.dump
# =============================================================================
# TEMPORARY AND CACHE FILES
# =============================================================================
# Downloaded files (temporary downloads)
downloads/
# Analytics and telemetry (user-specific)
statsig/
analytics/
# Cache directories
.cache/
cache/
# Temporary files
tmp/
temp/
*.tmp
*.temp
*~
# =============================================================================
# GIT METADATA
# =============================================================================
# Git directory itself (if you're using git in ~/.claude)
.git/
.gitattributes
# =============================================================================
# OS-SPECIFIC FILES
# =============================================================================
# Linux
.directory
.Trash-*/
# macOS
.DS_Store
.AppleDouble
.LSOverride
._*
# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
# =============================================================================
# EDITOR ARTIFACTS
# =============================================================================
# Vim
*.swp
*.swo
*.swn
.*.sw?
# Emacs
*~
\#*\#
.\#*
# VS Code
.vscode/
# JetBrains
.idea/
# =============================================================================
# WHAT TO TRACK (explicitly NOT ignored)
# =============================================================================
# These files SHOULD be tracked and are explicitly listed here for clarity:
# The following patterns ensure custom configurations are tracked in git:
#
# - CLAUDE.md - Your global Claude instructions
# - settings.json - Claude Code settings
# - agents/ - Custom agents (*.json files)
# - commands/ - Custom slash commands (*.md files)
# - skills/ - Custom skills
# - hooks/ - Custom hooks
# - .clauderc - Claude configuration
# - README.md - Documentation for your setup
#
# These are NOT ignored by default and will be tracked when you git add them.
# The .gitignore above only excludes machine-specific and sensitive data.
# =============================================================================
# ADDITIONAL PATTERNS
# =============================================================================
# Backup files
*.bak
*.backup
*.old
# Lock files
*.lock
.lock
# Node modules (if any extensions use them)
node_modules/
# Python cache (if any extensions use Python)
__pycache__/
*.py[cod]
*.pyo
*.pyd
.Python