AgentSkillsCN

orchestrated-development-controller

在项目创建与迁移全流程中,自动协调并调用合适的技能组合。作为默认的项目管控策略,此技能可高效助力各类项目顺利推进。

SKILL.md
--- frontmatter
name: orchestrated-development-controller
description: Orchestrates the correct skills automatically across project creation and migration workflows. Use as the default controller.
triggers: [always-active]
outputs: [skill-sequence, workflow-state]
depends_on: []

Orchestrated Development Controller

Purpose

The central orchestrator that automatically chains skills based on the type of work being performed. This skill is always active and determines which other skills to invoke and in what order.


When to Use

  • Always active by default in this workspace
  • Applies to:
    • New project creation
    • Project migration
    • Feature development
    • Refactoring
    • Bug fixes
    • Pre-release validation

Decision Tree

mermaid
flowchart TD
    START[User Request] --> CLASSIFY{Classify Request}
    
    CLASSIFY -->|New Project| NP[New Project Flow]
    CLASSIFY -->|Migration| MG[Migration Flow]
    CLASSIFY -->|Implementation| IM[Implementation Flow]
    CLASSIFY -->|Spec Change| SC[Spec Change Flow]
    CLASSIFY -->|Pre-Release| PR[Pre-Release Flow]
    
    subgraph NP[New Project Flow]
        NP1[project-vision-normalizer] --> NP2[mvp-scope-guard]
        NP2 --> NP3[spec-driven-planning]
        NP3 --> NP4[assumption-and-risk-hunter]
        NP4 --> NP5[workspace-spec-linter]
        NP5 --> NP6[decision-freeze-governor]
    end
    
    subgraph MG[Migration Flow]
        MG1[system-context-extractor] --> MG2[legacy-behavior-snapshot]
        MG2 --> MG3[behavior-first-analysis]
        MG3 --> MG4[migration-scope-partitioner]
        MG4 --> MG5[spec-driven-planning]
        MG5 --> MG6[workspace-spec-linter]
        MG6 --> MG7[decision-freeze-governor]
    end
    
    subgraph IM[Implementation Flow]
        IM1[implementation-boundary-guard] --> IM2[no-guess-implementation]
        IM2 --> IM3[self-test-generator]
        IM3 --> IM4[autonomous-test-runner]
        IM4 -->|Pass| IM5[Done]
        IM4 -->|Fail: Bug| IM6[self-healing-debugger]
        IM4 -->|Fail: Spec Issue| IM7[spec-violation-detector]
        IM6 --> IM4
        IM7 --> HUMAN{Human Decision}
    end
    
    subgraph SC[Spec Change Flow]
        SC1[spec-auto-updater] --> SC2[documentation-consistency-keeper]
        SC2 --> SC3[project-regression-checklist]
    end
    
    subgraph PR[Pre-Release Flow]
        PR1[regression-and-parity-check] --> PR2[security-and-compliance-baseline]
        PR2 --> PR3[delivery-readiness-gate]
        PR3 -->|GO| RELEASE[Release]
        PR3 -->|NO-GO| BLOCK[Block Release]
    end

Skill Sequences

If Starting a NEW PROJECT

OrderSkillPurpose
1project-vision-normalizerNormalize raw ideas
2mvp-scope-guardPrevent scope creep
3spec-driven-planningCreate formal spec
4assumption-and-risk-hunterSurface hidden risks
5workspace-spec-linterValidate spec quality
6decision-freeze-governorLock decisions

If MIGRATING a PROJECT

OrderSkillPurpose
1system-context-extractorMap existing system
2legacy-behavior-snapshotCapture current behavior
3behavior-first-analysisAnalyze before changing
4migration-scope-partitionerDefine safe phases
5spec-driven-planningSpec the new system
6workspace-spec-linterValidate specs
7decision-freeze-governorLock decisions

If IMPLEMENTING a TASK

OrderSkillPurpose
1implementation-boundary-guardStay in scope
2no-guess-implementationFollow spec exactly
3self-test-generatorCreate tests from spec
4autonomous-test-runnerRun and classify tests
5self-healing-debuggerFix bugs (if needed)
6spec-violation-detectorDetect spec issues (if needed)

If SPEC OR CODE CHANGES

OrderSkillPurpose
1spec-auto-updaterUpdate specs (if approved)
2documentation-consistency-keeperSync all docs
3project-regression-checklistCheck for regressions

If PRE-RELEASE

OrderSkillPurpose
1regression-and-parity-checkValidate behavior
2security-and-compliance-baselineSecurity audit
3delivery-readiness-gateGO / NO-GO decision

State Transitions

code
┌─────────────────────────────────────────────────────────────┐
│                    ORCHESTRATION STATE                       │
├─────────────────────────────────────────────────────────────┤
│  current_workflow: [new_project | migration | implementation]│
│  current_skill: [skill-name]                                 │
│  skill_queue: [remaining skills]                             │
│  blocked_on: [human | none]                                  │
│  last_result: [success | failure | needs_input]              │
└─────────────────────────────────────────────────────────────┘

Human Interaction Rules

Humans are only involved if:

ConditionAction
Spec ambiguity is blockingRequest clarification
Spec change approval requiredWait for approval
GO / NO-GO decision neededPresent evidence, await decision
Security/compliance issue detectedEscalate immediately

Default to autonomous execution.


Overrides

The orchestrator can be overridden by:

  1. User explicit instruction — "Skip spec validation"
  2. Workspace configuration — Disable specific skills
  3. Emergency mode — Direct path to hotfix

All overrides are logged and auditable.


Constraints

  • Never skip security or compliance skills
  • Never proceed without spec on HIGH-risk changes
  • Always produce audit trail
  • Respect decision freezes

The orchestrator serves the spec, not convenience.