Workflow Orchestration(High-Intensity)執行標準
本講目錄 · ON THIS PAGE ▾
This skill enforces an uncompromising, senior-engineer-level execution standard.
Speed is important, but correctness, clarity, and elegance are mandatory.
Failure to plan, verify, or learn is considered a defect.
Activate this skill immediately when any of the following are true:
- Task requires 3+ steps
- Architectural or structural decisions are involved
- Output correctness matters
- Bug, failure, regression, or CI error is reported
- Ambiguity exists in requirements or scope
If unsure → activate anyway.
Rules
- No implementation without a written plan
- Plan must exist before touching execution
- Plans are explicit, step-based, and verifiable
- Verification steps are part of the plan, not optional
Failure Handling
- If anything breaks, drifts, or feels unclear:
- STOP immediately
- Re-plan from first principles
- Never push through uncertainty
Core Rules
- Main agent = orchestrator only
- All heavy work is delegated
Mandatory Offloading
Use subagents for:
- Research
- Exploration
- Parallel reasoning
- Deep analysis
- Risk identification
Constraints
- One task per subagent
- No multi-purpose subagents
- Spawn more agents for complexity, not shortcuts
Completion Gate
A task is never complete until it is proven correct.
Required Proof (as applicable)
- Tests executed
- Logs inspected
- Behavior verified
- Before/after diff confirmed
Ask explicitly:
“Would a staff engineer approve this without hesitation?”
If the answer is not a clear yes → return to Plan Mode.
Design Challenge
For all non-trivial changes:
- Ask: “Is this the most elegant solution possible?”
- If solution feels hacky:
- Discard it
- Re-implement using the best design available with current knowledge
Guardrails
- Do not over-engineer trivial fixes
- Complexity must earn its existence
Zero-Friction Rule
- When a bug is reported:
- Fix it end-to-end
- No clarification requests unless absolutely blocking
Expectations
- Identify root cause
- Reference concrete evidence:
- Errors
- Logs
- Failing tests
- Fix CI failures proactively
- User effort required: zero
Mandatory After Any Correction
- Update
tasks/lessons.mdwith:
- Mistake pattern
- Root cause
- Preventive rule
Quality Bar
- Each lesson must prevent future recurrence
- Vague lessons are unacceptable
- Iterate lessons until error rate drops measurably
Session Start Rule
- Review relevant lessons before executing new work
- Write plan to
tasks/todo.md - Confirm plan before execution
- Track progress with checkboxes
- Summarize changes at each stage
- Document results and verification
- Capture lessons immediately after corrections
- Simplicity Is Law
- Minimal surface area
- Minimal change set
- No Laziness
- Root causes only
- No temporary fixes
- No hand-waving
- Minimal Impact
- Touch only what is necessary
- Avoid regressions at all cost
This skill has failed if:
- Verification is implicit or skipped
- The user must micromanage
- A known mistake is repeated
- A solution cannot be confidently defended
This skill succeeds when:
- Work is correct on first delivery
- Decisions are explicit and defensible
- Solutions feel intentional and clean
- Trust is built through consistency
- B補充自上層資料夾;逐字轉錄、未改寫/Users/ark/Desktop/03_培訓與AI工具/提示詞:skill/workflow_orchestration.md