by rohitg00
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.
# Add to your Claude Code skills
git clone https://github.com/rohitg00/pro-workflowYou correct Claude the same way 50 times. You tell it "don't mock the database" on Monday and again on Friday. You explain your project conventions every new session. Context compacts, learnings vanish, mistakes repeat.
Every Claude Code user hits this wall.
Pro Workflow captures every correction in a persistent SQLite database with full-text search. Corrections compound into rules. Rules load automatically on session start. After 50 sessions, Claude barely needs correcting.
Session 1: You → "Don't mock the database in tests"
Claude → Proposes rule → You approve → Saved to SQLite
Session 2: SessionStart hook loads all learnings
Claude → Writes integration tests (no mocks)
You → Zero corrections needed
Session 50: Claude knows your conventions, style, and preferences
Correction rate: near zero
/plugin marketplace add rohitg00/pro-workflow
/plugin install pro-workflow@pro-workflow
# Cursor
/add-plugin pro-workflow
# Any agent via SkillKit
npx skillkit install pro-workflow
# Manual
git clone https://github.com/rohitg00/pro-workflow.git /tmp/pw
cp -r /tmp/pw/templates/split-claude-md/* ./.claude/
# Build with SQLite support
cd ~/.claude/plugins/*/pro-workflow && npm install && npm run build
type: "prompt" hooks for AI-powered commit validation and secret detectionCLAUDE_ENV_FILE injectionomitClaudeMd on read-only agents saves tokens| Feature | Pro Workflow | Superpowers | ECC | gstack | GSD |
|---------|:-----------:|:-----------:|:---:|:------:|:---:|
| Self-correcting memory (SQLite + FTS5) | Yes | No | No | No | No |
| LLM-powered hooks (type: "prompt") | Yes | No | No | No | No |
| Permission denial analysis | Yes | No | No | No | No |
| Compaction-aware state preservation | Yes | No | No | No | No |
| Cost tracking and budget alerts | Yes | No | No | No | No |
| MCP overhead auditing | Yes | No | No | No | No |
| Cross-agent (32+ agents via SkillKit) | Yes | No | Some | No | No |
| Skills | 24 | 14 | 140+ | 18+ | 0 |
| Agents | 8 | 5 | 36 | 0 | 18 |
| Commands | 21 | 3 | 60+ | 5+ | 57 |
| Hook Events | 24 | 8 | 18 | 0 | 0 |
/develop add user authentication # Multi-phase: Research > Plan > Implement > Review
/wrap-up # End session, capture learnings, audit changes
/doctor # Check your setup health
/learn-rule # Extract a correction into persistent memory
/commit # Quality gates > staged review > conventional commit
/permission-tuner # Analyze denials, generate allow/deny rules
/cost-tracker # Check session costs and token spend
/mcp-audit # Audit MCP servers for overhead
| Skill | What It Does |
|:------|:------------|
| Self-Correction Loop | Claude learns from your corrections automatically |
| Context Engineering | Write/Select/Compress/Isolate framework for token management |
| Agent Teams | Multi-instance coordination with shared task list and messaging |
| Batch Orchestration | /batch pattern for parallel worktree agents |
| Parallel Worktrees | Zero dead time with native claude -w worktrees |
| Smart Commit | Quality gates, staged review, and conventional commits |
| Wrap-Up Ritual | End sessions with intention, capture learnings |
| Context Optimizer | Token management, context budget, MCP audit |
| Deslop | Remove AI-generated code slop and clean up style |
| Orchestrate | Wire Commands, Agents, and Skills for multi-phase development |
| Session Handoff | Generate handoff documents for session continuity |
| Replay Learnings | Surface past learnings relevant to the current task |
| Insights | Session analytics, correction trends, productivity metrics |
| Safe Mode | Guardrails for destructive operations |
| Sprint Status | Track progress across sessions |
| Thoroughness Scoring | Rate completeness of implementations |
| Learn Rule | Capture corrections as persistent learning rules |
| LLM Gate | AI-powered quality gates using type: "prompt" hooks |
| Permission Tuner | Analyze denial patterns, generate allow/deny rules |
| Compact Guard | State preservation through compaction cycles |
| Cost Tracker | Session cost awareness with budget benchmarks |
| MCP Audit | Audit MCP servers for token overhead and redundancy |
| Auto Setup | Detect project type, configure quality gates automatically |
| File Watcher | Reactive workflows on config and dependency changes |
| Agent | Purpose | |-------|---------| | planner | Break down complex tasks (read-only, approval-gated) | | reviewer | Code review and security audit (checklist-based) | | scout | Confidence-gated exploration (background, worktree-isolated) | | orchestrator | Multi-phase feature development (Research > Plan > Implement > Review) | | debugger | Systematic bug investigation (hypothesis-driven) | | context-engineer | Context window analysis and optimization (lightweight, read-only) | | permission-analyst | Analyze permission denial patterns, recommend rule optimizations | | cost-analyst | Analyze token usage patterns, identify expensive operations |
| Command | What It Does |
|---------|-------------|
| /develop | Multi-phase feature build with validation gates |
| /commit | Smart commit with quality gates |
| /wrap-up | End-of-session checklist and learning capture |
| /learn-rule | Extract correction to persistent memory |
| /doctor | Health check for setup and configuration |
| /insights | Session analytics and correction heatmap |
| /replay | Surface past learnings for current task |
| /handoff | Generate session handoff document |
| /search | Search learnings by keyword |
| /list | List all stored learnings |
| /deslop | Remove AI-generated code slop from diff |
| /context-optimizer | Audit and optimize context window usage |
| /parallel | Set up git worktrees for parallel sessions |
| /learn | Interactive Claude Code best practices guide |
| /safe-mode | Toggle destructive operation guardrails |
| /sprint-status | Track multi-session progress |
| /auto-setup | Auto-detect project type and configure quality gates |
| /compact-guard | Protected compaction with state preservation |
| /cost-tracker | Track session costs and optimization tips |
| /mcp-audit | Audit MCP servers for token overhead |
| /permission-tuner | Analyze denial patterns, generate allow/deny rules |
| Hook Event | Scripts | What | |------------|:-------:|------| | SessionStart | 1 | Load learnings from database | | SessionEnd | 1 | Save session stats to database | | UserPromptSubmit | 2 | Correction tracking, drift detection | | PreToolUse (Edit/Write) | 1 | Track edit count, quality gate reminders | | PreToolUse (Bash) | 3 | Pre-commit check, LLM commit validation, pre-push check | | PreToolUse (Write) | 1 | LLM-powered secret detection | | PostToolUse (Edit) | 1 | Check for console.log, TODOs, secrets | | PostToolUse (Bash) | 1 | Suggest learning from test failures | | Stop | 2
No comments yet. Be the first to share your thoughts!