claude-code-workflows
💡 Summary
A collection of skills and workflows for enhancing coding practices with Claude Code.
🎯 Target Audience
🤖 AI Roast: “Powerful, but the setup might scare off the impatient.”
Risk: Medium. Review: shell/CLI command execution; outbound network access (SSRF, data egress); API keys/tokens handling and storage. Run with least privilege and audit before enabling in production.
Claude Code Workflows
A collection of skills, agents, and workflows for Claude Code.
YouTube | Newsletter | Blog
Quick Install
Via npx (skills only):
npx skills add dgalarza/claude-code-workflows --skill "tdd-workflow"
Via Claude marketplace (skills, agents, bundles):
/plugin marketplace add dgalarza/claude-code-workflows /plugin install tdd-workflow@dgalarza-workflows
See INSTALL.md for full details.
Skills
| Skill | Description | |-------|-------------| | TDD Workflow | Test-driven development, one test at a time | | Conventional Commits | Structured commit messages | | Parallel Code Review | Multi-agent code reviews | | Meeting Transcript | Process transcripts into structured notes |
Agents
| Agent | Description | |-------|-------------| | Cybersecurity Reviewer | Security analysis and threat modeling | | Gridfinity Planner | 3D printing baseplate planning |
Bundles
| Bundle | Description | |--------|-------------| | Rails Toolkit | Complete Rails workflow with TDD, reviews, Linear integration |
Tips & Tricks
Tip 1: Use Worktrees for Parallel Agents
Git worktrees let you run multiple Claude Code agents on the same codebase without conflicts.
The problem: If you run 2+ agents on the same repo, you get:
- Unrelated changes in one branch
- Agents overwriting each other's files
- Test suites colliding on the same database
The solution: Each agent gets its own worktree.
git worktree add ../myproject-feature-x -b feature-x cd ../myproject-feature-x # When done git worktree remove ../myproject-feature-x
But wait - your app won't run because .env and other secrets don't copy over. And if both agents run tests, they'll fight over the same database.
For Rails apps, use the setup script that handles everything:
# From your project root ./scripts/setup-rails-worktree.sh feature-branch # This will: # 1. Create worktree at ../yourproject-feature-branch # 2. Symlink files from .worktreeinclude (or defaults) # 3. Create .env.local with isolated DB_DATABASE and DB_TEST_DATABASE # 4. Run bin/setup
Configure with .worktreeinclude - create this file in your repo root to specify which gitignored files to include:
.env
.env.local
.npmrc
config/master.key
Uses the same pattern as Claude Code Desktop - only files matching both .worktreeinclude AND .gitignore are included.
Get the script: scripts/setup-rails-worktree.sh | example.worktreeinclude | Git Worktrees Cheat Sheet
The rails-toolkit plugin also includes /rails-toolkit:linear-worktree which automates this with Linear issue context.
Tip 2: Customize Your Status Bar
claude config set --global statusLineTemplate '${cwd.basename} | ${model} | ${tokenUsage}'
See configs/status-bar.md for more options.
Tip 3: Compact Context Proactively
Don't wait until Claude starts forgetting things. Compact when you finish a logical unit of work, switch tasks, or token usage gets high.
/compact
Tip 4: Structure Your CLAUDE.md Files
# Project Name ## Overview One paragraph on what this project does. ## Tech Stack - Framework: Rails 7.2 - Database: PostgreSQL ## Key Patterns - Service objects in app/services/ - Result pattern for service returns ## Testing - RSpec with FactoryBot - Run tests: `bin/rspec`
Tip 5: Use Subagents for Focused Tasks
When Claude spawns subagents, each one gets focused context. Security review? Let it spawn a security-focused subagent. Code review? Multiple specialized reviewers in parallel.
Tip 6: MCP Servers Worth Installing
- Linear - Project management integration
- Memory - Persistent context across sessions
- Sentry - Debug production errors
See configs/mcp-servers.md for setup instructions.
Configurations
Contributing
Found a bug? Have a workflow to share? PRs welcome.
License
MIT
Built by Damian Galarza - Former CTO, 15+ years in software. I make videos about Claude Code and AI development workflows.
Pros
- Offers a variety of skills for different coding tasks.
- Integrates well with existing workflows.
- Encourages best practices like TDD and structured commits.
Cons
- May require additional setup for optimal use.
- Complexity could overwhelm new users.
- Dependency on external plugins may introduce risks.
Related Skills
pytorch
S“It's the Swiss Army knife of deep learning, but good luck figuring out which of the 47 installation methods is the one that won't break your system.”
agno
S“It promises to be the Kubernetes for agents, but let's see if developers have the patience to learn yet another orchestration layer.”
nuxt-skills
S“It's essentially a well-organized cheat sheet that turns your AI assistant into a Nuxt framework parrot.”
Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.
Copyright belongs to the original author dgalarza.
