My5t3r10us/cesizen / .agents/skills/apex
apex
VerifiedSystematic implementation using APEX methodology (Analyze-Plan-Execute-eXamine) with optional parallel subagents, self-validation, and adversarial review. Use when implementing features, fixing bugs, or making code changes that benefit from structured workflow.
steps/step-00b-interactive.md
View on GitHub---
name: step-00b-interactive
description: Interactively configure APEX workflow flags
returns_to: step-00-init.md
---
# Step 0b: Interactive Configuration
## MANDATORY EXECUTION RULES (READ FIRST):
- π NEVER skip the interactive menu
- π NEVER assume user preferences
- β
ALWAYS use AskUserQuestion for flag selection
- β
ALWAYS update all flag variables before returning
- π YOU ARE A CONFIGURATOR, not an implementer
- π¬ FOCUS on flag configuration only
- π« FORBIDDEN to start any workflow steps
## CONTEXT BOUNDARIES:
- Variables available: All current flag values from step-00-init
- This sub-step updates: All flag variables based on user selection
- Return to step-00-init.md after completion
## YOUR TASK:
Present an interactive menu for the user to enable/disable workflow flags.
---
## EXECUTION SEQUENCE:
### 1. Display Current Configuration
Show current flag values:
```
**Current APEX Configuration:**
| Flag | Status | Description |
|------|--------|-------------|
| Auto (`-a`) | {auto_mode ? "β ON" : "β OFF"} | Skip confirmations |
| Examine (`-x`) | {examine_mode ? "β ON" : "β OFF"} | Adversarial review |
| Save (`-s`) | {save_mode ? "β ON" : "β OFF"} | Save outputs to files |
| Test (`-t`) | {test_mode ? "β ON" : "β OFF"} | Include test steps |
| Verify (`-v`) | {verify_mode ? "β ON" : "β OFF"} | Launch & verify feature |
| Economy (`-e`) | {economy_mode ? "β ON" : "β OFF"} | No subagents |
| Branch (`-b`) | {branch_mode ? "β ON" : "β OFF"} | Verify/create branch |
| PR (`-pr`) | {pr_mode ? "β ON" : "β OFF"} | Create pull request |
| Teams (`-m`) | {teams_mode ? "β ON" : "β OFF"} | Parallel subagent execution |
```
### 2. Ask for Flag Changes
Use AskUserQuestion with multiSelect:
```yaml
questions:
- header: "Configure"
question: "Select flags to TOGGLE (currently shown flags will flip their state):"
options:
- label: "Auto mode"
description: "{auto_mode ? 'Disable' : 'Enable'} - skip confirmations"
- label: "Examine mode"
description: "{examine_mode ? 'Disable' : 'Enable'} - adversarial review at end"
- label: "Save mode"
description: "{save_mode ? 'Disable' : 'Enable'} - save outputs to .claude/output/"
- label: "Test mode"
description: "{test_mode ? 'Disable' : 'Enable'} - include test creation/runner"
- label: "Verify mode"
description: "{verify_mode ? 'Disable' : 'Enable'} - launch app and verify feature works"
multiSelect: true
```
### 3. Ask for Additional Flags
Use AskUserQuestion with multiSelect:
```yaml
questions:
- header: "More"
question: "Select additional flags to TOGGLE:"
options:
- label: "Economy mode"
description: "{economy_mode ? 'Disable' : 'Enable'} - no subagents, save tokens"
- label: "Branch mode"
description: "{branch_mode ? 'Disable' : 'Enable'} - verify/create git branch"
- label: "PR mode"
description: "{pr_mode ? 'Disable' : 'Enable'} - create pull request at end"
- label: "Teams mode"
description: "{teams_mode ? 'Disable' : 'Enable'} - parallel subagent execution"
- label: "Done - keep current"
description: "No more changes, proceed with workflow"
multiSelect: true
```
### 4. Apply Changes
For each selected flag, toggle its value:
```
IF "Auto mode" selected β {auto_mode} = !{auto_mode}
IF "Examine mode" selected β {examine_mode} = !{examine_mode}
IF "Save mode" selected β {save_mode} = !{save_mode}
IF "Test mode" selected β {test_mode} = !{test_mode}
IF "Verify mode" selected β {verify_mode} = !{verify_mode}
IF "Economy mode" selected β {economy_mode} = !{economy_mode}
IF "Branch mode" selected β {branch_mode} = !{branch_mode}
IF "PR mode" selected β {pr_mode} = !{pr_mode}
IF "Teams mode" selected β {teams_mode} = !{teams_mode}
```
**Special rules:**
If Teams mode enabled, auto-enable tasks mode (teams requires task breakdown):
```
IF {teams_mode} = true β {tasks_mode} = true
```
If PR mode enabled, auto-enable branch mode:
```
IF {pr_mode} = true β {branch_mode} = true
```
### 5. Show Final Configuration
Display updated configuration:
```
**Updated APEX Configuration:**
| Flag | Status |
|------|--------|
| Auto | {auto_mode ? "β ON" : "β OFF"} |
| Examine | {examine_mode ? "β ON" : "β OFF"} |
| Save | {save_mode ? "β ON" : "β OFF"} |
| Test | {test_mode ? "β ON" : "β OFF"} |
| Verify | {verify_mode ? "β ON" : "β OFF"} |
| Economy | {economy_mode ? "β ON" : "β OFF"} |
| Branch | {branch_mode ? "β ON" : "β OFF"} |
| PR | {pr_mode ? "β ON" : "β OFF"} |
| Teams | {teams_mode ? "β ON" : "β OFF"} |
```
### 6. Return
β Return to step-00-init.md with all flags updated
---
## SUCCESS METRICS:
β
Current configuration displayed
β
User able to toggle any flag
β
All selected flags properly toggled
β
PR mode auto-enables branch mode
β
Final configuration shown
## FAILURE MODES:
β Not showing current flag states
β Forgetting to toggle selected flags
β Not enabling branch_mode when pr_mode selected
β Starting workflow instead of returning
β **CRITICAL**: Using plain text prompts instead of AskUserQuestion
---
## RETURN:
After configuration complete, return to `./step-00-init.md` to continue initialization.
<critical>
Remember: This sub-step ONLY handles flag configuration. Return immediately after updating flags.
</critical>
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why β repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" β or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself β your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |