mirror of
https://github.com/SuperClaude-Org/SuperClaude_Framework.git
synced 2025-12-29 16:16:08 +00:00
Initial commit: SuperClaude v4.0.0 configuration framework
- Core configuration files (CLAUDE.md, RULES.md, PERSONAS.md, MCP.md) - 17 slash commands for specialized workflows - 25 shared YAML resources for advanced configurations - Installation script for global deployment - 9 cognitive personas for specialized thinking modes - MCP integration patterns for intelligent tool usage - Token economy and ultracompressed mode support 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
51
.claude/commands/shared/planning-mode.yml
Normal file
51
.claude/commands/shared/planning-mode.yml
Normal file
@@ -0,0 +1,51 @@
|
||||
# Planning Mode Config
|
||||
|
||||
## Flag-Based Planning Control
|
||||
```yaml
|
||||
Planning_Flags:
|
||||
--plan: "Force planning mode for any command"
|
||||
--skip-plan: "Skip planning mode (execute immediately)"
|
||||
default: "Execute immediately unless --plan flag is present"
|
||||
|
||||
Risk_Assessment:
|
||||
description: "Users control planning through explicit flags"
|
||||
recommendation: "Use --plan for risky ops that modify system state"
|
||||
```
|
||||
|
||||
## Risk Assessment Patterns
|
||||
```yaml
|
||||
Risk Triggers:
|
||||
Prod: deploy --env prod | migrate --rollback false
|
||||
Data Loss: cleanup --all | migrate w/o --dry-run
|
||||
System Wide: spawn --task | improve --iterate
|
||||
Arch: design --api | troubleshoot --prod
|
||||
|
||||
Checkpoint Required:
|
||||
- Before: deploy, migrate, cleanup --all
|
||||
- During: Long-running improve --iterate
|
||||
- After: Any operation with warnings
|
||||
|
||||
Safety Overrides:
|
||||
--no-plan: Skip planning only for SKIP_PLANNING commands
|
||||
--plan: Force planning for any command
|
||||
--dry-run: Safe preview mode, skip planning
|
||||
```
|
||||
|
||||
## Planning Workflow
|
||||
```yaml
|
||||
Pre-Execution Check:
|
||||
1. Parse command name and flags
|
||||
2. Check REQUIRED_PLANNING list
|
||||
3. Check special conditions (build --init)
|
||||
4. If planning required → exit_plan_mode → await approval
|
||||
5. Create checkpoint if risky
|
||||
6. Proceed with execution
|
||||
|
||||
Planning Content:
|
||||
Required: Command intent, affected resources, risks, rollback plan
|
||||
Optional: Time estimate, dependencies, validation steps
|
||||
Format: Structured plan using exit_plan_mode tool
|
||||
```
|
||||
|
||||
---
|
||||
*Planning mode configuration for systematic risk management*
|
||||
Reference in New Issue
Block a user