You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

pro-workflow

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pro-workflow

Complete AI coding workflow system with orchestration patterns, cross-agent support, reference guides, and searchable learnings

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

Pro Workflow

Stars npm License SkillKit

Complete AI coding workflow system.
Orchestration patterns • 18 hook events • 5 agents • 7 reference guides • Cross-agent support
Works with Claude Code, Cursor, and 32+ agents via SkillKit.

What's New in v2.0

Orchestration PatternsCommand > Agent > Skill architecture with multi-phase development
5 Agentsplanner, reviewer, scout, orchestrator (RPI workflow), debugger
18 Hook EventsAdded SubagentStart/Stop, TaskCompleted, PermissionRequest, TeammateIdle, PostToolUseFailure
7 Reference GuidesSettings, CLI cheatsheet, orchestration patterns, context loading, cross-agent workflows, new features, daily habits
Context OptimizerToken management and context budget planning skill
Production SettingsFull settings.example.json with permissions, spinner, output style
Curated MCP ConfigBattle-tested server recommendations with scope guidance
/develop CommandResearch > Plan > Implement > Review & Commit with validation gates
/doctor CommandHealth check for your pro-workflow setup

How It Works

"80% of my code is written by AI, 20% is spent reviewing and correcting it." — Karpathy

Pro Workflow optimizes for that ratio. Every pattern reduces correction cycles.

The Self-Correction Loop

Self-Correction Loop Demo

Corrections compound. Each mistake becomes a rule that prevents future mistakes. After 50 sessions, Claude barely needs correcting.

The /develop Flow

Development Flow

Multi-phase development with validation gates. Research before planning, plan before implementing, review before committing.

The /develop Command in Action

Terminal Demo

Architecture

Architecture Diagram

Patterns

PatternWhat It Does
Self-Correction LoopClaude learns from your corrections automatically
Parallel WorktreesZero dead time - native claude -w worktrees
Wrap-Up RitualEnd sessions with intention, capture learnings
Split MemoryModular CLAUDE.md for complex projects
80/20 ReviewBatch reviews at checkpoints
Model SelectionOpus 4.6 adaptive thinking, Sonnet 4.6 (1M context)
Context DisciplineManage your 200k token budget
Learning LogAuto-document insights
OrchestrationCommand > Agent > Skill wiring for complex features
Multi-Phase DevResearch > Plan > Implement > Review & Commit with validation gates

Installation

/add-plugin pro-workflow

The plugin includes 11 skills, 5 agents, and 6 rules that load automatically.

Claude Code — One-Click Plugin Install

/plugin marketplace add rohitg00/pro-workflow
/plugin install pro-workflow@pro-workflow

Claude Code — Build with SQLite Support

cd ~/.claude/plugins/*/pro-workflow
npm install && npm run build

Or load directly

claude --plugin-dir /path/to/pro-workflow

Minimal (Just add to CLAUDE.md)

## Pro Workflow

### Self-Correction
When corrected, propose rule -> add to LEARNED after approval.

### Planning
Multi-file: plan first, wait for "proceed".

### Quality
After edits: lint, typecheck, test.

### LEARNED

Reference Guides

GuideWhat's Covered
docs/settings-guide.mdAll settings keys, permission modes, hierarchy, sandbox, MCP approval
docs/cli-cheatsheet.mdEvery CLI flag, keyboard shortcut, slash command, scripting patterns
docs/orchestration-patterns.mdCommand > Agent > Skill architecture, frontmatter reference, agent teams
docs/context-loading.mdCLAUDE.md loading in monorepos, agent memory, skills discovery
docs/cross-agent-workflows.mdUsing Claude Code + Cursor together, config mapping, SkillKit translation
docs/new-features.mdVoice mode, agent teams, checkpointing, remote control, new hook events
docs/daily-habits.mdSession habits, debugging tips, terminal setup, anti-patterns

Skills

SkillDescription
pro-workflowCore workflow patterns for AI-assisted coding
smart-commitQuality gates, staged review, and conventional commits
wrap-upEnd-of-session ritual with change audit and learning capture
learn-ruleCapture corrections as persistent learning rules
parallel-worktreesSet up git worktrees for zero dead time
replay-learningsSurface past learnings relevant to the current task
session-handoffGenerate handoff documents for session continuity
insightsSession analytics, correction trends, and productivity metrics
deslopRemove AI-generated code slop and clean up style
context-optimizerToken management, context budget, MCP audit
orchestrateWire Commands, Agents, and Skills for multi-phase development

Agents

AgentPurposeKey Feature
plannerBreak down complex tasksRead-only, approval-gated
reviewerCode review, security auditChecklist-based, severity levels
scoutConfidence-gated explorationBackground, worktree-isolated
orchestratorMulti-phase feature developmentResearch > Plan > Implement > Review, memory-enabled
debuggerSystematic bug investigationHypothesis-driven, root cause analysis

Commands (Claude Code)

When installed as a plugin, commands are available as /pro-workflow:<name>. Short forms like /develop also work directly after plugin install.

CommandAliasPurpose
/pro-workflow:wrap-up/wrap-upEnd-of-session checklist
/pro-workflow:learn-rule/learn-ruleExtract correction to memory
/pro-workflow:commit/commitSmart commit with quality gates
/pro-workflow:develop/developMulti-phase feature build (Research > Plan > Implement > Review & Commit)
/pro-workflow:doctor/doctorHealth check for setup and configuration
/pro-workflow:insights/insightsSession analytics and correction heatmap
/pro-workflow:replay/replaySurface past learnings for current task
/pro-workflow:handoff/handoffGenerate session handoff document
/pro-workflow:search/searchSearch learnings by keyword
/pro-workflow:list/listList all stored learnings

Hooks (18 Events)

HookWhenWhat
PreToolUseBefore editsTrack edit count, quality gate reminders
PreToolUseBefore git commit/pushRemind about quality gates, wrap-up
PostToolUseAfter code editsCheck for console.log, TODOs, secrets
PostToolUseAfter testsSuggest [LEARN] from failures
UserPromptSubmitEach promptDrift detection, correction tracking
SessionStartNew sessionLoad learnings from database
StopEach responseContext-aware reminders
SessionEndSession closeSave session stats to database
PreCompactBefore compactionSave context state
ConfigChangeSettings modifiedDetect mid-session changes
NotificationSystem eventsLog permission requests
SubagentStartSubagent spawnsLog agent lifecycle
SubagentStopSubagent finishesCollect results
TaskCompletedTask marked doneQuality gate on completion
PermissionRequestPermission dialogFlag dangerous operations
PostToolUseFailureTool failsTrack failures, suggest learnings
TeammateIdleTeammate goes idleDetect blockers in agent teams
SetupInitial setupOne-time initialization (available, not configured)
WorktreeCreateWorktree createdSet up worktree config (available, not configured)
WorktreeRemoveWorktree removedCleanup (available, not configured)

Hook Lifecycle

graph LR
    A[SessionStart] --> B[UserPromptSubmit]
    B --> C[PreToolUse]
    C --> D{Tool Runs}
    D -->|Success| E[PostToolUse]
    D -->|Failure| F[PostToolUseFailure]
    E --> G[Stop]
    F --> G
    G -->|More prompts| B
    G -->|Session ends| H[SessionEnd]

    C -->|Spawns agent| I[SubagentStart]
    I --> J[SubagentStop]

    C -->|Needs permission| K[PermissionRequest]

    style A fill:#6366f1,color:#fff,stroke:none
    style H fill:#ef4444,color:#fff,stroke:none
    style D fill:#f59e0b,color:#000,stroke:none
    style E fill:#22c55e,color:#fff,stroke:none
    style F fill:#ef4444,color:#fff,stroke:none

Rules (Cursor)

RuleApplies ToDescription
quality-gatesAlwaysLint, typecheck, and test before commits
atomic-commitsAlwaysConventional format, feature branches, specific staging
context-disciplineAlwaysRead before edit, plan before multi-file changes
self-correctionAlwaysCapture mistakes as compounding learnings
no-debug-statements*.{ts,tsx,js,jsx,py,go,rs}Remove console.log, debugger, print before committing
communication-styleAlwaysConcise, action-oriented, no over-engineering

Configuration

Settings Example

See settings.example.json for a production-ready configuration including:

  • Permission rules (allow/deny/ask)
  • Output style and status line
  • Auto-compaction at 80%
  • Custom spinner verbs and tips
  • Attribution disabled
  • Plans directory

MCP Config

See mcp-config.example.json for curated server recommendations:

  • context7 — Live documentation lookup
  • playwright — Browser automation (most token-efficient)
  • GitHub — PRs, issues, code search

Rule: Start with 3 MCPs. Add only for concrete needs.

Cross-Agent Support

Works across 32+ AI coding agents via SkillKit:

graph TD
    PW[Pro Workflow] --> CC[Claude Code]
    PW --> CU[Cursor]
    PW --> SK[SkillKit]

    CC --> |"CLAUDE.md + hooks + agents"| CC
    CU --> |".cursorrules + skills + agents"| CU

    SK --> CO[Codex CLI]
    SK --> GC[Gemini CLI]
    SK --> WS[Windsurf]
    SK --> MORE[27+ more]

    style PW fill:#6366f1,color:#fff,stroke:none
    style CC fill:#a78bfa,color:#fff,stroke:none
    style CU fill:#f59e0b,color:#000,stroke:none
    style SK fill:#22c55e,color:#fff,stroke:none
npx skillkit install pro-workflow
npx skillkit translate pro-workflow --agent cursor
npx skillkit translate pro-workflow --agent codex
npx skillkit translate pro-workflow --agent gemini-cli

See docs/cross-agent-workflows.md for configuration mapping between Claude Code, Cursor, Codex, and Gemini CLI.

Structure

pro-workflow/
├── .claude-plugin/              # Claude Code plugin
├── .cursor-plugin/              # Cursor plugin
├── skills/                      # 11 skills (Cursor + Claude Code)
│   ├── pro-workflow/SKILL.md
│   ├── smart-commit/SKILL.md
│   ├── context-optimizer/SKILL.md
│   ├── orchestrate/SKILL.md
│   └── ...
├── agents/                      # 5 agents
│   ├── planner.md
│   ├── reviewer.md
│   ├── scout.md
│   ├── orchestrator.md
│   └── debugger.md
├── commands/                    # 10 slash commands
│   ├── develop.md               # Multi-phase feature build
│   ├── doctor.md                # Health check
│   ├── commit.md
│   └── ...
├── hooks/                       # 18 hook events
│   └── hooks.json
├── docs/                        # Reference guides
│   ├── settings-guide.md
│   ├── cli-cheatsheet.md
│   ├── orchestration-patterns.md
│   ├── context-loading.md
│   ├── cross-agent-workflows.md
│   ├── new-features.md
│   └── daily-habits.md
├── rules/                       # 6 Cursor rules
├── contexts/                    # 3 context modes
├── templates/                   # Split CLAUDE.md templates
├── references/                  # Claude Code resources
├── scripts/                     # Hook scripts
├── settings.example.json        # Production settings template
├── mcp-config.example.json      # Curated MCP recommendations
├── src/                         # TypeScript source (SQLite)
└── config.json

Database Features

Learnings stored in SQLite with FTS5 full-text search:

~/.pro-workflow/
└── data.db    # SQLite database with learnings and sessions
/search testing           # Find all testing-related learnings
/search "file paths"      # Exact phrase search

Philosophy

  • Compound improvements - Small corrections lead to big gains over time
  • Trust but verify - Let AI work, review at checkpoints
  • Zero dead time - Parallel sessions keep momentum
  • Memory is precious - Both yours and Claude's
  • Orchestrate, don't micromanage - Wire patterns together, let agents execute

Quick Start (30 seconds)

# Option A: Plugin install (Claude Code)
/plugin marketplace add rohitg00/pro-workflow
/plugin install pro-workflow@pro-workflow

# Option B: Plugin install (Cursor)
/add-plugin pro-workflow

# Option C: Manual (any agent)
git clone https://github.com/rohitg00/pro-workflow.git /tmp/pw
cp -r /tmp/pw/templates/split-claude-md/* ./.claude/

# Then try it (use /pro-workflow:<name> with plugin install):
/pro-workflow:develop add user authentication   # Multi-phase feature build
/pro-workflow:doctor                             # Check your setup
/pro-workflow:wrap-up                            # End session properly


If you find this useful, star the repo to help others discover it.

Stars

SkillKit MarketplaceReport IssuesReference Guides

Complete AI coding workflow system from production use across Claude Code, Cursor, and beyond.

Keywords

claude-code

FAQs

Package last updated on 05 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts