Cursor Installation
Add Plugin
The fastest way to install in Cursor:This command automatically installs:
- 11 skills - Core workflow patterns, smart-commit, wrap-up, learn-rule, context-optimizer, orchestrate, and more
- 5 agents - planner, reviewer, scout, orchestrator, debugger
- 6 rules - quality-gates, atomic-commits, context-discipline, self-correction, no-debug-statements, communication-style
Cursor users get equivalent hook behavior through
.mdc rules in the rules/ directory. All patterns work the same, just enforced via Cursor’s rule system instead of hooks.Claude Code Installation
Method 1: Plugin Marketplace (Recommended)
Build with SQLite Support
For searchable learnings with full-text search:This creates the SQLite database at
~/.pro-workflow/data.db with FTS5 indexing.Method 2: Load Directly
- You want to modify the plugin locally
- You’re developing custom commands or agents
- You need to test changes before publishing
Command Reference
| Command | Alias | Description |
|---|---|---|
/pro-workflow:wrap-up | /wrap-up | End-of-session checklist |
/pro-workflow:learn-rule | /learn-rule | Extract correction to memory |
/pro-workflow:commit | /commit | Smart commit with quality gates |
/pro-workflow:develop | /develop | Multi-phase feature build |
/pro-workflow:doctor | /doctor | Health check for setup |
/pro-workflow:insights | /insights | Session analytics and heatmap |
/pro-workflow:replay | /replay | Surface past learnings |
/pro-workflow:handoff | /handoff | Generate session handoff |
/pro-workflow:search | /search | Search learnings by keyword |
/pro-workflow:list | /list | List all stored learnings |
Manual Installation (Any Agent)
For agents without plugin support, or if you prefer manual setup:Minimal Setup
If you just want the core patterns, add this to yourCLAUDE.md:
SkillKit Installation (32+ Agents)
Use SkillKit to install Pro Workflow on any of 32+ supported agents:SkillKit translates Pro Workflow patterns into the native format for each agent. All core patterns (self-correction, quality gates, orchestration) work the same way.
Supported Agents
Pro Workflow works across these agents via SkillKit:- Claude Code
- Cursor
- Codex CLI
- Gemini CLI
- Windsurf
- 27+ more agents
Configuration
Settings Example
Pro Workflow includes a production-ready settings template atsettings.example.json:
Full Settings Reference
Full Settings Reference
Permission Rules
deny- Block dangerous operations (force delete, pipe to bash)ask- Require approval (git push, docker, npm publish)allow- Auto-approve (read operations, git status, tests)
outputStyle- “Minimal”, “Explanatory”, or “Verbose”statusLine- “model branch tokens” shows context in statusattribution- Commit message and PR description attribution
CLAUDE_AUTOCOMPACT_PCT_OVERRIDE- Compact before 95% (default: 50-80%)plansDirectory- Where to store plan files
MCP Configuration
Pro Workflow includes curated MCP recommendations atmcp-config.example.json:
context7
Live documentation lookup - essential for API references
playwright
Browser automation - most token-efficient
GitHub
PRs, issues, code search - integrate with workflows
Database Setup (Claude Code)
Pro Workflow stores learnings in SQLite with FTS5 full-text search:Initialize Database
Search Learnings
Hooks Setup (Claude Code)
Pro Workflow includes 18 hook events for automated workflow enforcement:Hook Events
PreToolUse Hooks
PreToolUse Hooks
| Trigger | Action |
|---|---|
| Edit/Write | Track edit count, remind at 5/10 edits |
| git commit | Remind to run quality gates |
| git push | Remind about /wrap-up |
PostToolUse Hooks
PostToolUse Hooks
| Trigger | Action |
|---|---|
| Code edit (.ts/.js/.py/.go) | Check for console.log, TODOs, secrets |
| Test commands | Suggest [LEARN] from failures |
Session Hooks
Session Hooks
| Hook | Action |
|---|---|
| SessionStart | Load LEARNED patterns, show worktree count |
| Stop | Context-aware reminders |
| SessionEnd | Check uncommitted changes, prompt for learnings |
| ConfigChange | Detect mid-session changes |
New in v2.0
New in v2.0
- SubagentStart/Stop - Log agent lifecycle
- TaskCompleted - Quality gate on completion
- PermissionRequest - Flag dangerous operations
- PostToolUseFailure - Track failures, suggest learnings
- TeammateIdle - Detect blockers in agent teams
Hook Philosophy
- Non-blocking - Hooks remind, don’t block (except dangerous ops)
- Checkpoint-based - Quality gates at intervals, not every edit
- Learning-focused - Always prompt for pattern capture
Verify Installation
Run the/doctor command to check your setup:
Expected Output
Expected Output
Troubleshooting
Commands Missing
Commands Missing
Database Missing
Database Missing
Hooks Not Firing
Hooks Not Firing
Check that paths in
hooks.json use absolute paths or ${CLAUDE_PLUGIN_ROOT}:Context Degraded
Context Degraded
Run manual compaction:Or configure earlier auto-compact:
Repository Structure
Understanding the layout helps with customization:Next Steps
Quickstart
Try your first command in 30 seconds
Core Patterns
Learn the patterns that make Pro Workflow powerful
Commands
Master all 10 commands and their usage
Settings Guide
Deep dive into configuration options