My personal, current, production-ready configuration system for Claude Code featuring custom agents, skills, and global behavior rules.
This repository provides a complete setup for extending Claude Code with:
- Custom Agents - Specialized sub-agents for documentation generation and fast code search
- Custom Skills - Workflows for Swift development, Xcode tooling, brainstorming, planning, and issue tracking
- Modular Rules - Behavior guidelines loaded directly by Claude Code from
~/.claude/rules/
- Claude Code installed
- mise task runner
- Python 3.6+
- Xcode (for Swift-related features)
# Deploy to Claude Code (symlinks agents, rules, skills, hooks-scripts)
mise run symlink-folders-to-claude# Check symlinks
ls -la ~/.claude/agents/ ~/.claude/rules/ ~/.claude/skills/Specialized sub-agents that provide 40-60% cost reduction and 30-50% speed improvement through task-appropriate model selection:
- search - Lightning-fast code location (<10 file reads, <30s, <5K tokens)
- documentation-generator - Comprehensive documentation creation
Workflows for development, planning, and collaboration:
- developing-with-swift - Style guidelines, Swift techniques
- generating-swift-package-docs - On-demand Swift package API documentation
- using-xcode - Xcode tooling and build workflows
- brainstorming - Collaborative idea refinement
- making-plans - Breaking epics into implementation tasks
- issue-tracking-with-linear - Linear issue tracker integration
- issue-tracking-with-beans - Beans-only issue tracking (TodoWrite + Beans)
- issue-tracking-with-beans-and-linear - Full integration (TodoWrite + Beans + Linear)
Individual rule files in /rules/, loaded directly by Claude Code from ~/.claude/rules/:
- Foundational principles and relationship dynamics
- Git workflow preferences
- Tool integrations (Kagi, Linear)
- Preferred CLI tools
┌─────────────────────────────────────────────────────┐
│ This Repository (claude-code-stuff) │
├─────────────────────────────────────────────────────┤
│ │
│ ├── agents/ │
│ ├── rules/ │
│ ├── skills/ │
│ └── hooks-scripts/ │
│ │
└─────────────────────────────────────────────────────┘
│
│ Symlinks
▼
┌─────────────────────────────────────────────────────┐
│ Claude Code User Directory (~/.claude/) │
├─────────────────────────────────────────────────────┤
│ │
│ ~/.claude/agents/ ──▶ this/agents/ │
│ ~/.claude/rules/ ──▶ this/rules/ │
│ ~/.claude/skills/ ──▶ this/skills/ │
│ ~/.claude/hooks-scripts ──▶ this/hooks-scripts/ │
│ │
└─────────────────────────────────────────────────────┘
- Rules (
/rules/) - Individual behavior guidelines, loaded directly by Claude Code - Skills (
/skills/) - Executable workflows that Claude must follow - Agents (
/agents/) - Specialized sub-agents for specific tasks - Hook scripts (
/hooks-scripts/) - Used with Claude Code's hooks
All deployments use symlinks—change source files, and Claude Code sees updates instantly. No compilation, no syncing.
- Edit Rules: Modify files in
/rules/(instant via symlinks) - Add Skills: Create in
/skills/, follow SKILL.md format (see existing examples) - Create Agents: Add to
/agents/, include YAML frontmatter with model/tools config - Deploy: Run
mise run symlink-folders-to-claude
- CLAUDE.md - Detailed repository documentation (loaded by Claude Code)
- skills/*/SKILL.md - Individual skill documentation
Using specialized agents with appropriate models (Haiku for search, Sonnet for complex tasks):
- 40-60% cost reduction on exploratory tasks
- 30-50% speed improvement on code location
- Isolated context prevents token pollution
- Mix custom domain expertise (Swift) with generic engineering practices
- Update components independently
- Deploy globally via symlinks
- Single source of truth for each component
- Version-controlled behavior changes
- Instant updates via symlinks
- Claude Code - The CLI tool this configures
- mise - Task runner for automation (
brew install mise) - Python 3.6+ - For skill scripts
- gum (optional) - For interactive confirmations (
brew install gum) - Xcode (optional) - For Swift-related features
- Interfazzle (optional) - For Swift package docs (https://github.com/czottmann/interfazzle)
- Beans (optional) - For agentic issue tracking (https://github.com/hmans/beans)
Carlo Zottmann, [email protected], https://c.zottmann.dev, https://github.com/czottmann.
This project is neither affiliated with nor endorsed by Linear. I'm just a very happy customer.
Tip
I make Shortcuts-related macOS & iOS productivity apps like Actions For Obsidian, Browser Actions (which adds Shortcuts support for several major browsers), and BarCuts (a surprisingly useful contextual Shortcuts launcher). Check them out!
Legally: MIT License.
Spiritually: WTFPL.
- Claude Code - claude.ai/code