dgalarza/claude-code-workflows

Personal collection of Claude Code workflows

13 stars1 forksUpdated Jan 25, 2026
npx skills add dgalarza/claude-code-workflows

README

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

SkillDescription
TDD WorkflowTest-driven development, one test at a time
Conventional CommitsStructured commit messages
Parallel Code ReviewMulti-agent code reviews
Meeting TranscriptProcess transcripts into structured notes
YouTube StrategyContent strategy for YouTube videos

Agents

AgentDescription
Cybersecurity ReviewerSecurity analysis and threat modeling
Gridfinity Planner3D printing baseplate planning

Bundles

BundleDescription
Rails ToolkitComplete 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

  1. Linear - Project management integration
  2. Memory - Persistent context across sessions
  3. Sentry - Debug production errors

See configs/mcp-servers.md for setup instructions.


Configurations


Contributing

Found a bug?

...

Read full README

Publisher

dgalarzadgalarza

Statistics

Stars13
Forks1
Open Issues1
LicenseMIT License
CreatedJul 17, 2025