auto-setup
CommandAuto-detect project type and configure quality gates, permissions, and hooks for a new codebase
Capture a lesson as a reusable rule after user approval.
> /plugin marketplace add rohitg00/pro-workflow> /plugin install pro-workflow@pro-workflow
description: Capture a lesson as a reusable rule after user approval.
Capture a lesson from this session into permanent memory.
1. **Identify the lesson**
2. **Format the rule**
[LEARN] Category: One-line rule
Categories:
3. **Propose addition** Show what will be added to LEARNED section.
4. **Wait for approval** Only add after user confirms.
Recent mistake: Edited wrong utils.ts file [LEARN] Navigation: Confirm full path when multiple files share a name. Add to LEARNED section? (y/n)
---
[LEARN] Claude-Code: Use plan mode before multi-file changes. Docs: https://code.claude.com/docs/common-workflows [LEARN] Claude-Code: Compact context at task boundaries, not mid-work. Docs: https://code.claude.com/docs/common-workflows [LEARN] Prompting: Always include acceptance criteria in prompts.
---
**Trigger:** Use when user says "remember this", "add to rules", or after making a mistake.
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.
Auto-detect project type and configure quality gates, permissions, and hooks for a new codebase
Smart context compaction with state preservation — saves critical state before compact and restores after
Diagnose context usage and reduce unnecessary token consumption.
Track session costs, understand token spend, and get optimization tips
Shortcut for "continue working" — pick the work in flight back up exactly where it stopped and keep going until it is done or…