|
|
@@ -1,440 +1,109 @@
|
|
|
---
|
|
|
name: using-oac
|
|
|
-description: "Use when starting any development task — building a feature, fixing a bug, refactoring, or making any code change."
|
|
|
+description: "Use when starting any conversation — establishes how to find and use OAC skills, requiring Skill tool invocation BEFORE ANY response including clarifying questions"
|
|
|
---
|
|
|
|
|
|
<EXTREMELY-IMPORTANT>
|
|
|
-IF you are starting ANY development task, you MUST use this workflow.
|
|
|
+If you think there is even a 1% chance an OAC skill might apply to what you are doing, you ABSOLUTELY MUST invoke the skill.
|
|
|
|
|
|
-This is not negotiable. This is not optional. "Simple" tasks are where skipping stages causes the most wasted work.
|
|
|
+IF A SKILL APPLIES TO YOUR TASK, YOU DO NOT HAVE A CHOICE. YOU MUST USE IT.
|
|
|
|
|
|
-EVERY task follows all 6 stages. NO EXCEPTIONS.
|
|
|
+This is not negotiable. This is not optional. You cannot rationalize your way out of this.
|
|
|
</EXTREMELY-IMPORTANT>
|
|
|
|
|
|
-# OpenAgents Control (OAC) Workflow
|
|
|
+## How to Access Skills
|
|
|
|
|
|
-## Overview
|
|
|
+**In Claude Code:** Use the `Skill` tool. When you invoke a skill, its content is loaded and presented to you—follow it directly. Never use the Read tool on skill files.
|
|
|
|
|
|
-Context-first parallel execution with 6 mandatory stages and 2 approval gates.
|
|
|
+# Using OAC Skills
|
|
|
|
|
|
-**Terminal state:** Stage 6 Complete (task documented and summarized)
|
|
|
+## The Rule
|
|
|
|
|
|
-**Core value:** **5x faster feature development through parallel multi-agent execution**
|
|
|
-
|
|
|
----
|
|
|
-
|
|
|
-## Anti-Pattern: "This Is Too Simple for the Full Workflow"
|
|
|
-
|
|
|
-Every task goes through all 6 stages. A "simple" email validation, a config change, a "quick fix" — all of them.
|
|
|
-
|
|
|
-"Simple" tasks are where unexamined assumptions cause the most wasted work:
|
|
|
-- No context → implement wrong pattern → code review feedback → rework (30+ min wasted)
|
|
|
-- No approval → build wrong thing → user rejects → start over (hours wasted)
|
|
|
-- No validation → tests fail in CI → debug → fix → re-deploy (hours wasted)
|
|
|
-
|
|
|
-The workflow is fast for simple tasks (5-10 minutes). Skipping it costs 30+ minutes in rework.
|
|
|
-
|
|
|
----
|
|
|
-
|
|
|
-## The Iron Law
|
|
|
-
|
|
|
-```
|
|
|
-CONTEXT FIRST, CODE SECOND
|
|
|
-
|
|
|
-Stage 1 → 2 → APPROVAL GATE → 3 → 4 → 5 → VALIDATION GATE → 6
|
|
|
- ↑ ↑
|
|
|
- APPROVAL VALIDATION
|
|
|
- GATE GATE
|
|
|
-```
|
|
|
-
|
|
|
-NO skipping stages. NO coding before approval. NO completion before validation.
|
|
|
-
|
|
|
----
|
|
|
-
|
|
|
-## Workflow Diagram
|
|
|
+**Invoke relevant or requested skills BEFORE any response or action.** Even a 1% chance a skill might apply means that you should invoke the skill to check. If an invoked skill turns out to be wrong for the situation, you don't need to use it.
|
|
|
|
|
|
```dot
|
|
|
-digraph oac {
|
|
|
- rankdir=LR;
|
|
|
- node [shape=box, style=rounded];
|
|
|
-
|
|
|
- s1 [label="Stage 1\nDiscover"];
|
|
|
- s2 [label="Stage 2\nPlan"];
|
|
|
- approval [label="User\nApproval?", shape=diamond];
|
|
|
- s3 [label="Stage 3\nLoad Context"];
|
|
|
- s4 [label="Stage 4\nExecute"];
|
|
|
- s5 [label="Stage 5\nValidate"];
|
|
|
- validation [label="Validation\nPassed?", shape=diamond];
|
|
|
- s6 [label="Stage 6\nComplete", shape=doublecircle];
|
|
|
-
|
|
|
- s1 -> s2;
|
|
|
- s2 -> approval;
|
|
|
- approval -> s3 [label="yes"];
|
|
|
- approval -> s2 [label="no\nrevise"];
|
|
|
- s3 -> s4;
|
|
|
- s4 -> s5;
|
|
|
- s5 -> validation;
|
|
|
- validation -> s6 [label="yes"];
|
|
|
- validation -> s4 [label="no\nfix"];
|
|
|
+digraph skill_flow {
|
|
|
+ "User message received" [shape=doublecircle];
|
|
|
+ "About to build/create something?" [shape=doublecircle];
|
|
|
+ "Already brainstormed?" [shape=diamond];
|
|
|
+ "Invoke oac:brainstorming skill" [shape=box];
|
|
|
+ "Might any OAC skill apply?" [shape=diamond];
|
|
|
+ "Invoke Skill tool" [shape=box];
|
|
|
+ "Announce: 'Using [skill] to [purpose]'" [shape=box];
|
|
|
+ "Has checklist?" [shape=diamond];
|
|
|
+ "Create TodoWrite todo per item" [shape=box];
|
|
|
+ "Follow skill exactly" [shape=box];
|
|
|
+ "Respond (including clarifications)" [shape=doublecircle];
|
|
|
+
|
|
|
+ "About to build/create something?" -> "Already brainstormed?";
|
|
|
+ "Already brainstormed?" -> "Invoke oac:brainstorming skill" [label="no"];
|
|
|
+ "Already brainstormed?" -> "Might any OAC skill apply?" [label="yes"];
|
|
|
+ "Invoke oac:brainstorming skill" -> "Might any OAC skill apply?";
|
|
|
+
|
|
|
+ "User message received" -> "Might any OAC skill apply?";
|
|
|
+ "Might any OAC skill apply?" -> "Invoke Skill tool" [label="yes, even 1%"];
|
|
|
+ "Might any OAC skill apply?" -> "Respond (including clarifications)" [label="definitely not"];
|
|
|
+ "Invoke Skill tool" -> "Announce: 'Using [skill] to [purpose]'";
|
|
|
+ "Announce: 'Using [skill] to [purpose]'" -> "Has checklist?";
|
|
|
+ "Has checklist?" -> "Create TodoWrite todo per item" [label="yes"];
|
|
|
+ "Has checklist?" -> "Follow skill exactly" [label="no"];
|
|
|
+ "Create TodoWrite todo per item" -> "Follow skill exactly";
|
|
|
}
|
|
|
```
|
|
|
|
|
|
----
|
|
|
-
|
|
|
-## Checklist
|
|
|
-
|
|
|
-Create TodoWrite items for each stage:
|
|
|
-
|
|
|
-1. **Stage 1: Discover** — Invoke `/context-discovery`, get context file list
|
|
|
-2. **Stage 2: Plan** — Create plan (simple: approach, complex: use `/task-breakdown`), present to user
|
|
|
-3. **APPROVAL GATE** — Wait for user confirmation
|
|
|
-4. **Stage 3: LoadContext** — Read ALL discovered context files
|
|
|
-5. **Stage 4: Execute** — Implement (simple: direct, complex: parallel via BatchExecutor)
|
|
|
-6. **Stage 5: Validate** — Run tests, verify criteria, STOP if failed
|
|
|
-7. **VALIDATION GATE** — All tests pass, all criteria met
|
|
|
-8. **Stage 6: Complete** — Update docs, summarize, cleanup
|
|
|
-
|
|
|
----
|
|
|
-
|
|
|
-## The Stages
|
|
|
-
|
|
|
-### Stage 1: Discover
|
|
|
-
|
|
|
-**Goal:** Understand task + find context files
|
|
|
-
|
|
|
-**Actions:**
|
|
|
-1. Analyze request: What to build, scope, risks
|
|
|
-2. Invoke `/context-discovery [task description]`
|
|
|
-3. Capture returned context file list (Critical → High → Medium priority)
|
|
|
-
|
|
|
-**Output:** Context file list
|
|
|
-
|
|
|
----
|
|
|
-
|
|
|
-### Stage 2: Plan
|
|
|
-
|
|
|
-**Goal:** Create execution plan + get approval
|
|
|
-
|
|
|
-**Actions:**
|
|
|
-
|
|
|
-**Simple tasks (1-3 files, <30 min):**
|
|
|
-- Direct implementation approach
|
|
|
-- Files to create/modify
|
|
|
-- Key technical decisions
|
|
|
-
|
|
|
-**Complex tasks (4+ files, >30 min):**
|
|
|
-- High-level breakdown into phases
|
|
|
-- Dependencies between components
|
|
|
-- Use `/task-breakdown` for detailed subtasks
|
|
|
-- **Parallel execution**: TaskManager identifies which subtasks can run in parallel
|
|
|
-
|
|
|
-**Present plan:**
|
|
|
-- Summary of approach
|
|
|
-- Files to be created/modified
|
|
|
-- Context files to be loaded
|
|
|
-- Estimated complexity
|
|
|
-- **Parallel batches** (if complex task)
|
|
|
-
|
|
|
-<HARD-GATE>
|
|
|
-REQUEST APPROVAL. Wait for user confirmation.
|
|
|
-
|
|
|
-DO NOT proceed to Stage 3 without explicit user approval.
|
|
|
-
|
|
|
-This applies to EVERY task, regardless of:
|
|
|
-- Perceived simplicity
|
|
|
-- "Obvious" requirements
|
|
|
-- Time pressure
|
|
|
-- Previous similar approvals
|
|
|
-
|
|
|
-If you think "this is too simple to need approval", STOP. You are rationalizing.
|
|
|
-</HARD-GATE>
|
|
|
-
|
|
|
-**Output:** Approved plan
|
|
|
-
|
|
|
----
|
|
|
-
|
|
|
-### Stage 3: LoadContext
|
|
|
-
|
|
|
-**Goal:** Pre-load ALL discovered context files for parallel execution
|
|
|
-
|
|
|
-**Actions:**
|
|
|
-1. Read EVERY context file from Stage 1:
|
|
|
- - Use Read tool for each file
|
|
|
- - Load in priority order (Critical → High → Medium)
|
|
|
- - DON'T skip any files
|
|
|
-2. Internalize context:
|
|
|
- - Coding standards
|
|
|
- - Security patterns
|
|
|
- - Naming conventions
|
|
|
- - Architecture constraints
|
|
|
-3. If external libraries involved, invoke `/external-scout [library] [topic]`
|
|
|
-
|
|
|
-**Why this matters for parallel execution:**
|
|
|
-
|
|
|
-Pre-loading prevents race conditions when multiple agents execute in parallel:
|
|
|
-
|
|
|
-```
|
|
|
-WITHOUT pre-loading (race condition):
|
|
|
-CoderAgent 1 (10:00:00) → calls ContextScout → gets standards v1
|
|
|
-CoderAgent 2 (10:00:05) → calls ContextScout → gets standards v2
|
|
|
-Result: Inconsistent implementations ❌
|
|
|
-
|
|
|
-WITH pre-loading (consistent):
|
|
|
-Stage 3 (10:00:00) → Load standards once → Store in session
|
|
|
-CoderAgent 1 (10:01:00) → Uses pre-loaded standards
|
|
|
-CoderAgent 2 (10:01:00) → Uses same pre-loaded standards
|
|
|
-Result: Consistent implementations ✓
|
|
|
-```
|
|
|
-
|
|
|
-**Output:** All context loaded and ready for parallel execution
|
|
|
-
|
|
|
----
|
|
|
-
|
|
|
-### Stage 4: Execute
|
|
|
-
|
|
|
-**Goal:** Implement following loaded context
|
|
|
-
|
|
|
-**Simple tasks (direct execution):**
|
|
|
-1. Implement directly
|
|
|
-2. Follow loaded standards
|
|
|
-3. Apply security patterns
|
|
|
-4. Create tests if required
|
|
|
-5. Self-review before completion
|
|
|
-
|
|
|
-**Complex tasks (parallel execution via BatchExecutor):**
|
|
|
-1. Invoke `/task-breakdown` → TaskManager creates subtasks with `parallel: true` flags
|
|
|
-2. BatchExecutor groups parallelizable subtasks into batches
|
|
|
-3. Execute batches in parallel:
|
|
|
- ```
|
|
|
- Batch 1: [Subtask 01, Subtask 02, Subtask 03] ──┐
|
|
|
- ├─ All run simultaneously
|
|
|
- Batch 2: [Subtask 04, Subtask 05] ───────────────┘
|
|
|
- ```
|
|
|
-4. Each parallel agent uses pre-loaded context from Stage 3
|
|
|
-5. Track progress through subtask completion
|
|
|
-
|
|
|
-**Time savings example:**
|
|
|
-- Sequential: 5 subtasks × 30 min = 150 minutes
|
|
|
-- Parallel: 5 subtasks in 2 batches = 60 minutes (2.5x faster)
|
|
|
-
|
|
|
-**Output:** Implementation complete
|
|
|
-
|
|
|
----
|
|
|
-
|
|
|
-### Stage 5: Validate
|
|
|
-
|
|
|
-**Goal:** Verify implementation works
|
|
|
-
|
|
|
-**Actions:**
|
|
|
-1. Run tests (if they exist)
|
|
|
-2. Validate against acceptance criteria
|
|
|
-3. **For parallel execution**: Verify consistency across parallel implementations
|
|
|
-
|
|
|
-<HARD-GATE>
|
|
|
-STOP if validation fails:
|
|
|
-- Tests fail → fix issues before proceeding
|
|
|
-- Criteria unmet → complete implementation
|
|
|
-- Standards violated → refactor to comply
|
|
|
-- **Parallel conflicts** → resolve inconsistencies
|
|
|
-
|
|
|
-DO NOT proceed to Stage 6 until validation passes.
|
|
|
-</HARD-GATE>
|
|
|
-
|
|
|
-**Output:** Validated, working implementation
|
|
|
-
|
|
|
----
|
|
|
-
|
|
|
-### Stage 6: Complete
|
|
|
-
|
|
|
-**Goal:** Finalize with docs and cleanup
|
|
|
-
|
|
|
-**Actions:**
|
|
|
-1. Update documentation (if needed)
|
|
|
-2. Summarize what was done:
|
|
|
- - Files created/modified
|
|
|
- - Key technical decisions
|
|
|
- - **Parallel execution metrics** (if applicable): time saved, batches executed
|
|
|
- - Follow-up tasks needed
|
|
|
-3. Cleanup (if applicable):
|
|
|
- - Remove temporary files
|
|
|
- - Archive session files
|
|
|
-4. Present completion summary to user
|
|
|
-
|
|
|
-**Output:** Task complete, documented, summarized
|
|
|
-
|
|
|
----
|
|
|
-
|
|
|
-## Red Flags - STOP and Follow Workflow
|
|
|
-
|
|
|
-If you catch yourself thinking:
|
|
|
-- "Quick fix, skip context discovery"
|
|
|
-- "Obvious what they want, skip approval"
|
|
|
-- "It's working, skip validation"
|
|
|
-- "Too simple for full workflow"
|
|
|
-- "Context will slow me down"
|
|
|
-- "I'll load context as needed"
|
|
|
-- "Validation is just a formality"
|
|
|
-- "Parallel execution is overkill"
|
|
|
-
|
|
|
-**All of these mean: STOP. Follow the workflow from Stage 1.**
|
|
|
-
|
|
|
-You are rationalizing. The workflow is non-negotiable.
|
|
|
-
|
|
|
----
|
|
|
-
|
|
|
-## Common Rationalizations
|
|
|
-
|
|
|
-| Excuse | Reality |
|
|
|
-|--------|---------|
|
|
|
-| "Too simple for full workflow" | Simple tasks are where skipping stages costs most (30+ min rework) |
|
|
|
-| "I know what they want" | Assumptions cause misalignment. Get approval. (Saves hours) |
|
|
|
-| "Context will slow me down" | Context load = 2 min. Rework = 30+ min. |
|
|
|
-| "Validation is formality" | Skipping validation = bugs in production = emergency fixes |
|
|
|
-| "I'll load context as needed" | Causes race conditions in parallel execution |
|
|
|
-| "Parallel is overkill" | 5x speedup for complex features is not overkill |
|
|
|
-
|
|
|
----
|
|
|
-
|
|
|
-## Key Principles
|
|
|
-
|
|
|
-### Flat Delegation Hierarchy
|
|
|
-
|
|
|
-**Rule**: Only the main agent can invoke subagents. Subagents never call other subagents.
|
|
|
-
|
|
|
-**Correct pattern:**
|
|
|
-```
|
|
|
-Main Agent → /context-discovery → ContextScout
|
|
|
-Main Agent → /task-breakdown → TaskManager
|
|
|
-Main Agent → /code-execution → CoderAgent (multiple in parallel)
|
|
|
-```
|
|
|
-
|
|
|
-**Incorrect pattern (NOT supported):**
|
|
|
-```
|
|
|
-Main Agent → TaskManager → CoderAgent → ContextScout ❌
|
|
|
-```
|
|
|
+## Available OAC Skills
|
|
|
|
|
|
-### Context Pre-Loading for Parallel Execution
|
|
|
+| Skill | When to invoke |
|
|
|
+|-------|---------------|
|
|
|
+| `oac:using-oac` | This skill — loaded at session start |
|
|
|
+| `oac:brainstorming` | BEFORE any creative work, building features, adding functionality |
|
|
|
+| `oac:context-discovery` | BEFORE implementing anything — find standards and patterns |
|
|
|
+| `oac:task-breakdown` | When breaking complex features into subtasks |
|
|
|
+| `oac:code-execution` | When implementing code subtasks |
|
|
|
+| `oac:test-generation` | When creating tests |
|
|
|
+| `oac:code-review` | When reviewing code changes |
|
|
|
+| `oac:external-scout` | When working with external libraries/packages |
|
|
|
+| `oac:parallel-execution` | When running multiple agents in parallel |
|
|
|
+| `oac:systematic-debugging` | BEFORE proposing any fix for a bug or test failure |
|
|
|
+| `oac:verification-before-completion` | BEFORE claiming any work is complete or tests pass |
|
|
|
|
|
|
-**Why**: Prevents race conditions when multiple agents execute simultaneously
|
|
|
+## Skill Priority
|
|
|
|
|
|
-**How**: Stage 3 loads ALL context once, stored in session file, shared across all parallel agents
|
|
|
+When multiple skills could apply, use this order:
|
|
|
|
|
|
-### Approval Gates
|
|
|
+1. **Process skills first** (brainstorming, debugging) — these determine HOW to approach the task
|
|
|
+2. **Implementation skills second** (context-discovery, task-breakdown, code-execution) — these guide execution
|
|
|
|
|
|
-**Critical checkpoints:**
|
|
|
-- **Stage 2 → 3**: User must approve plan
|
|
|
-- **Stage 5 → 6**: Validation must pass
|
|
|
+"Let's build X" → brainstorming first, then context-discovery, then implementation skills.
|
|
|
+"Fix this bug" → systematic-debugging first, then verification-before-completion.
|
|
|
|
|
|
-**Never skip approval** - prevents wasted work and ensures alignment
|
|
|
+## Red Flags
|
|
|
|
|
|
-### Parallel Execution (Complex Tasks)
|
|
|
+These thoughts mean STOP — you're rationalizing:
|
|
|
|
|
|
-**When**: Complex tasks (4+ files, >30 min) with parallelizable subtasks
|
|
|
+| Thought | Reality |
|
|
|
+|---------|---------|
|
|
|
+| "This is just a simple question" | Questions are tasks. Check for skills. |
|
|
|
+| "I need more context first" | Skill check comes BEFORE clarifying questions. |
|
|
|
+| "Let me explore the codebase first" | Skills tell you HOW to explore. Check first. |
|
|
|
+| "I can check git/files quickly" | Files lack conversation context. Check for skills. |
|
|
|
+| "Let me gather information first" | Skills tell you HOW to gather information. |
|
|
|
+| "This doesn't need a formal skill" | If a skill exists, use it. |
|
|
|
+| "I remember this skill" | Skills evolve. Read current version. |
|
|
|
+| "This doesn't count as a task" | Action = task. Check for skills. |
|
|
|
+| "The skill is overkill" | Simple things become complex. Use it. |
|
|
|
+| "I'll just do this one thing first" | Check BEFORE doing anything. |
|
|
|
+| "This feels productive" | Undisciplined action wastes time. Skills prevent this. |
|
|
|
+| "I know what that means" | Knowing the concept ≠ using the skill. Invoke it. |
|
|
|
|
|
|
-**How**:
|
|
|
-1. TaskManager identifies parallel subtasks (`parallel: true`)
|
|
|
-2. BatchExecutor groups into batches
|
|
|
-3. Multiple CoderAgents execute simultaneously
|
|
|
-4. All use same pre-loaded context (Stage 3)
|
|
|
+## Skill Types
|
|
|
|
|
|
-**Benefit**: 5x faster for complex features
|
|
|
+**Rigid** (systematic-debugging, verification-before-completion): Follow exactly. Don't adapt away discipline.
|
|
|
|
|
|
----
|
|
|
+**Flexible** (brainstorming, context-discovery): Adapt principles to context.
|
|
|
|
|
|
-## Skill Invocations
|
|
|
-
|
|
|
-| Skill | Stage | Purpose |
|
|
|
-|-------|-------|---------|
|
|
|
-| `/context-discovery` | 1 | Find context files |
|
|
|
-| `/external-scout` | 3 | Fetch external library docs |
|
|
|
-| `/task-breakdown` | 2 (complex) | Create detailed subtasks with parallel flags |
|
|
|
-| `/code-execution` | 4 | Implement code subtasks (multiple in parallel) |
|
|
|
-| `/test-generation` | 4 | Create test subtasks |
|
|
|
-| `/code-review` | 4 | Review code subtasks |
|
|
|
-
|
|
|
----
|
|
|
-
|
|
|
-## Examples
|
|
|
-
|
|
|
-### Simple Task: Add email validation
|
|
|
-
|
|
|
-**Stage 1:** Discover validation patterns, security standards
|
|
|
-**Stage 2:** Plan "Add regex to endpoint", get approval
|
|
|
-**Stage 3:** Load patterns, standards
|
|
|
-**Stage 4:** Implement validation + tests, self-review
|
|
|
-**Stage 5:** Run tests, verify criteria
|
|
|
-**Stage 6:** Update API docs, summarize
|
|
|
-
|
|
|
-**Time:** ~10 minutes
|
|
|
-
|
|
|
----
|
|
|
-
|
|
|
-### Complex Task: Build authentication system
|
|
|
-
|
|
|
-**Stage 1:** Discover auth patterns, security standards, architecture guides
|
|
|
-**Stage 2:** Plan "Multi-phase: JWT service, middleware, endpoints, tests", get approval
|
|
|
-**Stage 3:** Load all discovered files (shared across parallel agents)
|
|
|
-**Stage 4:** Parallel execution via BatchExecutor:
|
|
|
-```
|
|
|
-Batch 1 (parallel):
|
|
|
-├─ CoderAgent 1 → JWT service
|
|
|
-├─ CoderAgent 2 → Auth middleware
|
|
|
-└─ CoderAgent 3 → Login endpoint
|
|
|
-
|
|
|
-Batch 2 (parallel):
|
|
|
-├─ CoderAgent 4 → Password reset
|
|
|
-└─ TestEngineer → Test suite
|
|
|
-```
|
|
|
-**Stage 5:** Run full test suite, verify all criteria, check consistency
|
|
|
-**Stage 6:** Update docs, summarize, show time saved (5x faster)
|
|
|
-
|
|
|
-**Time:** ~60 minutes (vs 300 minutes sequential = 5x faster)
|
|
|
-
|
|
|
----
|
|
|
-
|
|
|
-## Session Management (Complex Tasks)
|
|
|
-
|
|
|
-**Location**: `.tmp/sessions/{session-id}/`
|
|
|
-
|
|
|
-**Files**:
|
|
|
-- `context.md` - Shared context for all parallel agents
|
|
|
-- `subtasks/` - Individual subtask definitions
|
|
|
-- `.manifest.json` - Parallel execution state tracking
|
|
|
-
|
|
|
-**Cleanup**: After Stage 6, ask user if session files should be deleted
|
|
|
-
|
|
|
----
|
|
|
-
|
|
|
-## OAC vs Sequential Workflows
|
|
|
-
|
|
|
-| Aspect | Sequential (Superpowers) | Parallel (OAC) |
|
|
|
-|--------|--------------------------|----------------|
|
|
|
-| **Model** | 1 agent, sequential | Multiple agents, parallel |
|
|
|
-| **Best for** | Simple tasks (< 1 hour) | Complex features (> 4 hours) |
|
|
|
-| **Speed** | Fast for simple | **5x faster for complex** |
|
|
|
-| **Use case** | "Fix typo" | "Build auth system" |
|
|
|
-
|
|
|
-**When to use OAC**: Multi-component features, complex refactors, large features (4+ hours)
|
|
|
-
|
|
|
----
|
|
|
-
|
|
|
-## Related Skills
|
|
|
-
|
|
|
-- `context-discovery` - Stage 1 context discovery
|
|
|
-- `external-scout` - Stage 3 external library documentation
|
|
|
-- `task-breakdown` - Stage 4 complex task delegation with parallel flags
|
|
|
-- `code-execution` - Stage 4 code implementation (parallel capable)
|
|
|
-- `test-generation` - Stage 4 test creation
|
|
|
-- `code-review` - Stage 4 code review
|
|
|
-
|
|
|
----
|
|
|
+The skill itself tells you which.
|
|
|
|
|
|
-## Success Criteria
|
|
|
+## User Instructions
|
|
|
|
|
|
-✅ Every task follows all 6 stages in order
|
|
|
-✅ Context discovered before execution
|
|
|
-✅ User approval obtained before implementation
|
|
|
-✅ All context pre-loaded (prevents race conditions in parallel execution)
|
|
|
-✅ Validation passes before completion
|
|
|
-✅ Documentation updated and task summarized
|
|
|
-✅ **Parallel execution used for complex tasks (5x speedup)**
|
|
|
+Instructions say WHAT, not HOW. "Add X" or "Fix Y" doesn't mean skip workflows.
|