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

Battle-tested Claude Code workflows with agent teams, smart commit, insights, and searchable learnings

Source
npmnpm
Version
1.3.0
Version published
Weekly downloads
19
-65.45%
Maintainers
1
Weekly downloads
 
Created
Source

Pro Workflow

GitHub stars npm version

Battle-tested AI coding workflows from power users. Self-correcting memory, parallel worktrees, wrap-up rituals, and the 80/20 AI coding ratio. Works with Claude Code and Cursor.

The Core Idea

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

This skill optimizes for that ratio. Every pattern reduces correction cycles.

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

Installation

/add-plugin pro-workflow

The plugin includes 9 skills, 3 agents, and 6 rules that load automatically.

Claude Code — One-Click Plugin Install

# Add marketplace
/plugin marketplace add rohitg00/pro-workflow

# Install plugin
/plugin install pro-workflow@pro-workflow

Or via CLI:

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

Claude Code — Build with SQLite Support

After installation, build the TypeScript for persistent storage:

cd ~/.claude/plugins/*/pro-workflow  # Navigate to plugin directory
npm install && npm run build

This creates the SQLite database at ~/.pro-workflow/data.db.

Or load directly

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

Manual Setup

git clone https://github.com/rohitg00/pro-workflow.git /tmp/pw
cp -r /tmp/pw/templates/split-claude-md/* ./.claude/
cp -r /tmp/pw/commands/* ~/.claude/commands/
cp -r /tmp/pw/hooks/* ~/.claude/

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

Skills (Cursor)

SkillDescription
pro-workflowCore 8 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

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

Commands (Claude Code)

After plugin install, commands are namespaced:

CommandPurpose
/pro-workflow:wrap-upEnd-of-session checklist
/pro-workflow:learn-ruleExtract correction to memory (file-based)
/pro-workflow:parallelWorktree setup guide
/pro-workflow:learnClaude Code best practices & save learnings
/pro-workflow:searchSearch learnings by keyword
/pro-workflow:listList all stored learnings
/pro-workflow:commitSmart commit with quality gates and code review
/pro-workflow:insightsSession analytics, learning patterns, and correction heatmap
/pro-workflow:replaySurface past learnings for current task
/pro-workflow:handoffGenerate session handoff document for next session

Database Features

Persistent Learnings

Learnings are stored in SQLite with FTS5 full-text search:

~/.pro-workflow/
└── data.db    # SQLite database with learnings and sessions

Search Examples

/search testing           # Find all testing-related learnings
/search "file paths"      # Exact phrase search
/search git commit        # Multiple terms

Learning Categories

  • Navigation (file paths, finding code)
  • Editing (code changes, patterns)
  • Testing (test approaches)
  • Git (commits, branches)
  • Quality (lint, types, style)
  • Context (when to clarify)
  • Architecture (design decisions)
  • Performance (optimization)
  • Claude-Code (sessions, modes, CLAUDE.md, skills, subagents, hooks, MCP)
  • Prompting (scope, constraints, acceptance criteria)

Hooks

Automated enforcement of workflow patterns.

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 — warns when straying from original intent
SessionStartNew sessionLoad learnings from database
StopEach responseContext-aware reminders using last_assistant_message
SessionEndSession closeSave session stats to database
ConfigChangeSettings modifiedDetect when quality gates or hooks are changed mid-session

Install Hooks

# Full setup with hooks
git clone https://github.com/rohitg00/pro-workflow.git /tmp/pw
cp -r /tmp/pw/hooks/* ~/.claude/
cp -r /tmp/pw/scripts ~/.claude/scripts/pro-workflow/
cp -r /tmp/pw/commands/* ~/.claude/commands/

Contexts & Agents

ContextWhenBehavior
devBuildingCode first, iterate
reviewPRsRead-only, security focus
researchExploringSummarize, plan
AgentPurpose
plannerBreak down complex tasks
reviewerCode review, security audit
scoutBackground confidence-gated exploration with worktree isolation

Agent Teams (Experimental)

Coordinate multiple Claude Code sessions working together:

# Enable in settings.json
{ "env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" } }
  • Lead session coordinates, teammates work independently
  • Teammates message each other directly
  • Shared task list with dependency management
  • Display modes: in-process (Shift+Down to navigate, wraps around) or split panes (tmux/iTerm2)
  • Delegate mode (Shift+Tab): lead orchestrates only
  • Docs: https://code.claude.com/docs/agent-teams

Structure

pro-workflow/
├── .claude-plugin/              # Claude Code plugin
│   ├── plugin.json
│   ├── marketplace.json
│   ├── settings.json            # Default permissions for quality gates
│   └── README.md
├── .cursor-plugin/              # Cursor plugin
│   └── plugin.json
├── skills/                      # Shared skills (Cursor + Claude Code)
│   ├── pro-workflow/SKILL.md
│   ├── smart-commit/SKILL.md
│   ├── wrap-up/SKILL.md
│   ├── learn-rule/SKILL.md
│   ├── parallel-worktrees/SKILL.md
│   ├── replay-learnings/SKILL.md
│   ├── session-handoff/SKILL.md
│   ├── insights/SKILL.md
│   └── deslop/SKILL.md
├── agents/                      # Shared agents (Cursor + Claude Code)
│   ├── planner.md
│   ├── reviewer.md
│   └── scout.md
├── rules/                       # Rules
│   ├── core-rules.md            # Claude Code rules
│   ├── quality-gates.mdc        # Cursor rules
│   ├── atomic-commits.mdc
│   ├── context-discipline.mdc
│   ├── self-correction.mdc
│   ├── no-debug-statements.mdc
│   └── communication-style.mdc
├── commands/                    # Claude Code commands
│   ├── wrap-up.md
│   ├── learn-rule.md
│   ├── commit.md
│   ├── insights.md
│   ├── replay.md
│   ├── handoff.md
│   └── ...
├── hooks/                       # Claude Code hooks
│   └── hooks.json
├── scripts/                     # Hook scripts (includes config-watcher.js)
├── contexts/                    # Context modes
│   ├── dev.md
│   ├── review.md
│   └── research.md
├── src/                         # TypeScript source (SQLite)
│   ├── db/
│   └── search/
├── assets/
│   └── logo.svg                 # Plugin logo
├── package.json
├── tsconfig.json
└── README.md

Learn Claude Code

Pro-workflow teaches Claude Code best practices directly, with links to official documentation for deep dives.

Official Docs: https://code.claude.com/docs/

Topics covered: sessions, context management, modes, CLAUDE.md, prompting, writing rules, skills, subagents, hooks, MCP, security, and IDE integration.

/pro-workflow:learn                 # Best practices guide & save learnings
/pro-workflow:learn-rule            # Capture corrections to memory
/pro-workflow:search claude-code    # Find past Claude Code learnings

SkillKit - Universal AI Skills

One skill. 32+ AI coding agents. Install pro-workflow across Claude Code, Cursor, Codex, Gemini CLI, and more with SkillKit.

# Install this skill
npx skillkit install pro-workflow

# Translate to any agent format
npx skillkit translate pro-workflow --agent cursor

# Get AI-powered skill recommendations
npx skillkit primer

Why SkillKit?

  • Install once, use everywhere
  • 15,000+ skills in the marketplace
  • Works with Claude Code, Cursor, Codex, Gemini CLI, Windsurf, and 27+ more agents

Explore the marketplace at agenstskills.com

Philosophy

  • Compound improvements - Small corrections → 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

Support

If you find this useful:

  • Star this repo to help others discover it
  • Check out SkillKit for more AI coding skills
  • Report issues or suggest improvements

Distilled from Claude Code power users and real production use.

Keywords

claude-code

FAQs

Package last updated on 20 Feb 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