agent-teams
Coordinate multiple Claude Code sessions as a team — lead + teammates with shared task lists, mailbox messaging, and file-lock claiming. Patterns for team…
Complete AI coding workflow system. Orchestration patterns, 18 hook events, 8 agents, cross-agent support, reference guides, and searchable learnings. Works with Claude Code, Cursor, and 32+ agents.
$ npx -y skills add rohitg00/pro-workflow --skill pro-workflow --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/pro-workflowContext preview
The summary Claude sees to decide when to auto-load this skill.
Complete AI coding workflow system. Orchestration patterns, 18 hook events, 8 agents, cross-agent support, reference guides, and searchable learnings. Works with Claude Code, Cursor, and 32+ agents.
name: pro-workflow description: Complete AI coding workflow system. Orchestration patterns, 18 hook events, 8 agents, cross-agent support, reference guides, and searchable learnings. Works with Claude Code, Cursor, and 32+ agents.
Complete AI coding workflow system from production use. Orchestration patterns, reference guides, and battle-tested habits that compound over time.
**Works with:** Claude Code, Cursor, Codex, Gemini CLI, and 32+ AI coding agents via skills add. Sections marked *(Claude Code)* use features specific to Claude Code — Cursor users can skip those or use the noted alternatives.
> "80% of my code is written by AI, 20% is spent reviewing and correcting it." — Karpathy
This skill optimizes for that ratio. Every pattern here reduces correction cycles.
---
**The single most powerful pattern.** Your CLAUDE.md trains itself through corrections.
When you correct Claude: 1. Claude acknowledges the mistake 2. Proposes a rule to prevent it 3. You approve → rule goes into memory 4. Future sessions avoid the same mistake
## Self-Correction Protocol When the user corrects me or I make a mistake: 1. Acknowledge specifically what went wrong 2. Propose a concise rule: `[LEARN] Category: One-line rule` 3. Wait for approval before adding to LEARNED section ### LEARNED <!-- Auto-populated through corrections -->
User: You edited the wrong file Claude: I edited src/utils.ts when you meant src/lib/utils.ts. [LEARN] Navigation: Confirm full path before editing files with common names. Should I add this?
---
**Self-correction catches mistakes after the fact. This catches them before.**
Karpathy's [observations on LLM coding pitfalls](https://x.com/karpathy/status/2015883857489522876) name the upstream failures: silent assumptions, overcomplicated diffs, drive-by edits, vague success criteria. Four rules prevent each one.
| Rule | Prevents | |------|----------| | **Surface, don't assume** | Wrong interpretation, hidden confusion, missing tradeoffs | | **Minimum viable code** | 200-line diffs that should be 50, speculative abstractions | | **Stay in your lane** | Drive-by refactors, "improvements" to adjacent code | | **Verifiable goals** | Endless re-clarification, "make it work" loops |
Full rules in `rules/pre-flight-discipline.mdc` (`alwaysApply: true`). Pairs with self-correction: pre-flight stops the mistake, self-correction captures the lesson when one slips through.
## Pre-Flight Discipline Before coding: state assumptions, present ambiguity, push back if simpler exists. Every changed line traces to the request - no drive-by edits. Convert imperatives to verifiable goals: "fix bug" → "failing test → make it pass".
---
**Zero dead time.** While one Claude thinks, work on something else.
**Claude Code:**
claude --worktree # or claude -w (auto-creates isolated worktree)
**Cursor / Any editor:**
git worktree add ../project-feat feature-branch git worktree add ../project-fix bugfix-branch
| Scenario | Action | |----------|--------| | Waiting on tests | Start new feature in worktree | | Long build | Debug issue in parallel | | Exploring approaches | Try 2-3 simultaneously |
## Parallel Work When blocked on long operations, use `claude -w` for instant parallel sessions. Subagents with `isolation: worktree` get their own safe working copy.
---
End sessions with intention. Capture learnings, verify state.
1. **Changes Audit** - List modified files, uncommitted changes 2. **State Check** - Run `git status`, tests, lint 3. **Learning Capture** - What mistakes? What worked? 4. **Next Session** - What's next? Any blockers? 5. **Summary** - One paragraph of what was accomplished
`~/.claude/commands/wrap-up.md`:
Execute wrap-up checklist: 1. `git status` - uncommitted changes? 2. `npm test -- --changed` - tests passing? 3. What was learned this session? 4. Propose LEARNED additions 5. One-paragraph summary
---
For complex projects, modularize Claude memory.
.claude/ ├── CLAUDE.md # Entry point ├── AGENTS.md # Workflow rules ├── SOUL.md # Style preferences └── LEARNED.md # Auto-populated
# Workflow Rules ## Planning Plan mode when: >3 files, architecture decisions, multiple approaches. ## Quality Gates Before complete: lint, typecheck, test --related. ## Subagents Use for: parallel exploration, background tasks. Avoid for: tasks needing conversation context.
# Style - Concise over verbose - Action over explanation - Acknowledge mistakes directly - No features beyond scope
---
Batch reviews at checkpoints, not every change.
1. After plan approval 2. After each milestone 3. Before destructive operations 4. At /wrap-up
## Review Checkpoints Pause for review at: plan completion, >5 file edits, git operations, auth/security code. Between: proceed with confidence.
---
**Current lineup (2026):** Fable 5, Opus 4.8, Sonnet 5, and Haiku 4.5. The flagship tiers carry a 1M-token context; Haiku 4.5 is 200K. Frontier models converged, so the harness and the effort
Claude Code learns from your corrections: self-correcting memory that compounds over 50+ sessions. Context engineering, parallel worktrees, agent teams, and 17 battle-tested skills.
Repo: rohitg00/pro-workflow
Coordinate multiple Claude Code sessions as a team — lead + teammates with shared task lists, mailbox messaging, and file-lock claiming. Patterns for team…
Auto-configure quality gates, hooks, and settings for a new project. Detects project type and sets up appropriate tooling. Use when onboarding a new codebase.
Decompose large-scale changes into independent units and spawn parallel agents in isolated worktrees. Use for migrations, refactors, codemods, and any change…
Capture a user-reported defect as a durable GitHub issue written in the project's own domain language. Explores the codebase in parallel for context but never…
Smart context compaction with state preservation. Saves critical files, task progress, and working state before compaction, restores after. Use before manual…
Master the four operations of context engineering — Write, Select, Compress, Isolate. Manage token budgets, compaction strategies, and context partitioning to…