Command Reference - johnpeterman72/CursorRIPER.sigma GitHub Wiki

⌨️ Command Reference Guide

Complete reference for all commands available in the CursorRIPER♦Σ framework, organized by category.

πŸš€ Quick Command Lookup

Essential Commands

Command Action Example
/r Research mode /research
/i Innovate mode /innovate
/p Plan mode /plan
/e Execute mode /execute
/rev Review mode /review
!cp Add protection !cp // Critical code
!af Add file context !af src/main.js
!ckp Check permissions !ckp

πŸ”„ Mode Commands

Mode Switching

Command Shortcut Description Example
/research /r Enter RESEARCH mode /r
/innovate /i Enter INNOVATE mode /i
/plan /p Enter PLAN mode /p
/execute /e Enter EXECUTE mode /e
/review /rev Enter REVIEW mode /rev

Mode Status

Command Description Example Output
Current mode? Check active mode [MODE: EXECUTE]
Show mode Display mode info EXECUTE (Ξ©β‚„): Implementation

πŸ›‘οΈ Protection Commands

Add Protection

Command Level Description Example
!cp PROTECTED Never modify !cp // API keys
!cg GUARDED Ask permission !cg // Core logic
!ci INFO Context note !ci // Config info
!cd DEBUG Temporary code !cd // Debug logs
!ct TEST Test code !ct // Test fixture
!cc CRITICAL Business logic !cc // Payment logic

Protection Usage

// !cp PROTECTED - Description
const SECRET = process.env.SECRET;
// !cp END-P

πŸ“Ž Context Commands

Adding Context

Command Type Description Example
!af File Add file reference !af src/auth.js
!ad Directory Add folder reference !ad src/components/
!ac Code Add code reference !ac validateUser()
!adoc Docs Add documentation !adoc "API Guide"
!ar Rules Add rules reference !ar "Style Guide"
!ag Git Add git reference !ag feature-branch
!an Notepad Add notepad !an "Todo List"
!pf Pin Pin file !pf config.json

Managing Context

Command Action Description Example
!cs Set status Update context status !cs file.js active
!cr Remove Remove from context !cr old-file.js
!cc Clear Clear all context !cc
!cm Mode context Set mode defaults !cm

Context Status Options

  • active - Currently working
  • partial - May reference
  • essential - Always needed
  • deprecated - To be removed

πŸ” Permission Commands

Check Permissions

Command Description Example Output
!ckp Current mode permissions EXECUTE: C:βœ“ R:βœ“ U:βœ“ D:~
!pm Check operation !pm write_code β†’ βœ“ Allowed
!sp Show mode permissions !sp plan β†’ PLAN: C:βœ“ R:βœ“ U:~ D:βœ—
!vm Verify mode for operation !vm delete_file β†’ Use EXECUTE

🏁 Framework Commands

Initialization

Command Description When to Use
/start Initialize framework First time setup
Initialize Same as /start Alternative command

Framework Status

Command Description Example Output
Show framework status Current state Phase, mode, progress
Check memory health Memory status Update frequency, size
Framework version Version info v1.0.5

πŸ’Ύ Memory Commands

View Memory

Command Description Target
Show requirements View requirements σ₁
Show architecture View patterns Οƒβ‚‚
Show tech stack View technology σ₃
Show current focus View context Οƒβ‚„
Show progress View status Οƒβ‚…
Show protected code View registry σ₆

Update Memory

Command Description Example
Add requirement New requirement Add requirement: API rate limiting
Update progress Change status Update progress: Auth 80% complete
Mark issue resolved Close issue Mark issue I₁ resolved
Add pattern New pattern Add pattern: Repository pattern

πŸ”— Cross-Reference Commands

Create References

Format Description Example
[↗️σₙ:Xα΅’] Basic reference [↗️σ₁:R₃]
[↗️σₙ:Xα΅’|Ξ“β‚˜] With context [↗️σ₁:R₃|Γ₃]
[Ξ“β‚™:item] Context only [Γ₃:validateUser()]

Reference Management

Command Description Example
Check references Validate links Finds broken refs
Update references Fix broken links Updates targets
List references to X Find usage List references to R₃

πŸ’Ό Workflow Commands

Planning Commands

Command Description Output
Create plan for X Generate plan Numbered checklist
Detail specifications Expand plan Detailed specs
Sequence steps Order tasks Priority list

Review Commands

Command Description Output
Review implementation Check code Pass/fail report
Verify against plan Compare Deviation list
Check protection coverage Audit Coverage report

πŸ”§ Utility Commands

Backup Commands

Command Description When Used
Create backup Manual backup Before risky ops
List backups Show available Recovery planning
Restore from backup Recovery After issues

Search Commands

Command Description Example
Search for X Find in project Search for auth logic
Find references to Y Trace usage Find references to R₃
Locate pattern Z Find implementations Locate Repository pattern

🎯 Command Patterns

Mode-Specific Patterns

Research Mode:

/r
What authentication methods are used?
!af src/auth/     # Add auth folder
!ag main         # Check git history

Plan Mode:

/p
Create detailed plan for JWT implementation
!ar "Security Standards"    # Add standards
The plan will be numbered 1-N

Execute Mode:

/e
Implement step 3 from the plan
!cp                        # Protect critical parts
!af src/new-file.js       # Track new files

Context Patterns

Feature Context:

!cc                       # Clear old
!af src/feature/main.js   # Main file
!ac featureLogic()        # Core function
!adoc "Feature Spec"      # Requirements

Debug Context:

!ag "error message"       # Search git
!af error.log            # Log file
!ac buggyFunction()      # Problem code

🚨 Command Restrictions by Mode

Research Mode (Ω₁)

Allowed Forbidden
Read commands Write commands
Search commands Create commands
Analysis commands Modify commands

Execute Mode (Ξ©β‚„)

Allowed Forbidden
All file operations Web search
Code generation Plan changes
Testing Design decisions

πŸ’‘ Command Best Practices

1. Command Chaining

Combine related commands:

/e && !cm && !af main.js

2. Context Before Action

Set context before requesting:

!af auth.js
!ac validateUser()
"Implement the validation logic"

3. Protection While Coding

Add protection inline:

"Create payment processor with !cc protection"

4. Regular Cleanup

Keep context focused:

# After feature complete
!cc    # Clear context

πŸ“Š Command Usage Statistics

Track your command patterns:

Most Used Commands

  1. /e - Execute mode (35%)
  2. !af - Add file (20%)
  3. /r - Research mode (15%)
  4. !cp - Add protection (10%)
  5. !cc - Clear context (8%)

Command Efficiency

  • Average commands per feature: 25
  • Context commands: 40%
  • Mode switches: 20%
  • Protection: 15%
  • Other: 25%

πŸŽ“ Command Learning Path

Beginner (Day 1)

  • Mode switches: /r, /p, /e
  • Basic protection: !cp
  • Simple context: !af

Intermediate (Week 1)

  • All protection levels
  • Context management
  • Permission checks
  • Cross-references

Advanced (Week 2+)

  • Complex patterns
  • Command combinations
  • Workflow optimization
  • Custom shortcuts

πŸ”Œ Extension Commands

MCP Services (If Enabled)

Service Command Description
GitHub !gr Search repos
GitHub !gp Push files
Search !ws Web search
Browser !pn Navigate URL
Docker !dc Create container

BMAD Enterprise (If Enabled)

Feature Command Description
Roles !br Switch role
PRD !prdn New PRD
Gates !kg Check gate
Docs !edg Generate docs

πŸ“š Related Topics


← Symbol Reference | Home | Mode Reference β†’