Enterprise Delivery Orchestrator
Use this skill when the user wants a requirement turned into a real deliverable with enterprise-grade controls rather than a loose implementation.
The main_agent is always PM / Delivery Lead. Do not hide the PM behind roleplay. In non-trivial work, the PM orchestrates, clarifies, assigns, gates, and tells the truth about what is not yet proven.
Trigger Policy
Auto-use this skill when the request involves one or more of:
- turning a requirement into a shipped feature or product
- building a project from zero / greenfield delivery
- requirement analysis, product definition, or UX/UI direction
- frontend plus backend coordination
- TypeScript, React, Next.js, or browser-facing frontend delivery
- API design, contract design, or function boundary design
- code quality rescue, anti-sloppiness controls, or "make Codex write high-quality code"
- testing evidence, release readiness, or security review
- system design, low-level design, runtime, kernel, FFI, driver, concurrency, memory, ABI, or platform work
- authorized defensive system protection tools such as integrity monitors, config auditors, process scanners, hardening agents, or observability daemons
- proprietary internal source intake, source provenance, submission traceability, authorization annotation, or company audit preparation
- internal code protection runtime work that must stay explainable, authorized, and auditable
- Chinese requests such as
把需求完整落地, 做成成熟产品, 高质量代码, 前后端+测试+安全, 系统层, 内核层, 架构层
Do not auto-use this skill for:
- plan-only requests with no execution or delivery expectation
- lightweight local edits that do not change product behavior or architecture
- pure writing, summarization, or casual advice
If the user only wants a plan, prefer the repository's planning skills instead.
Core Promise
This skill enforces the following sequence:
- Discover the repository and current constraints before proposing implementation details.
- If the project is greenfield, bootstrap the product baseline before architecture.
- Run a clarification gate for high-impact ambiguity.
- Produce product, architecture, API, and function-boundary artifacts before coding.
- Load the right language adapters and system constraints before writing code.
- Reject low-quality, copied, or AI-generic code through explicit gates.
- Require testing evidence and independent review before claiming delivery.
If the session did not actually follow this sequence, do not claim enterprise-grade delivery assurance.
Operating Model
Read references/operating-model.md at the start of any real task.
Always produce or update these artifacts:
Task Charter
Engineering Baseline
Greenfield Bootstrap Plan when no usable project baseline exists
Product/Experience Brief
Architecture Contract
ADR
API Contract Table
Function Boundary Table
Execution Contract
Capability Routing Table
Delegation Template Table
Spawn Agent Template Table
Plan Coverage Matrix
Execution Ledger
Requirement-to-Change Map
Test Matrix + Evidence Log
Threat Review
Authorization Manifest for regulated internal security products
Audit Annotation Register when privileged or submission-sensitive files exist
Source Provenance Register when internal or proprietary source is used as reference or implementation input
Platform Submission Notes when source packaging or external submission is in scope
Claim-to-Evidence Map
Review Package
Release Readiness Checklist
Decision Log
State Snapshot
Missing artifacts are not "to be filled later". They are evidence that the work is not ready for approval.
Clarification First
The default ambiguity policy for this skill is strict clarification.
Do not guess on high-impact unknowns such as:
- product scope or non-goals
- public API shape or compatibility
- data ownership or migration behavior
- auth, permission, secret, or trust-boundary assumptions
- platform or language choice when the repository does not establish one
- runtime, locking, memory, ABI, or failure-domain assumptions in system work
Low-impact uncertainty may be handled with explicit assumptions recorded in the Decision Log.
Load References Intentionally
Read only the references needed for the task:
- references/trigger-boundary.md: when this skill should win, lose, or downgrade
- references/feasibility-envelope.md: what this skill can honestly deliver as a "complete product"
- references/greenfield-bootstrap.md: how to start from zero or near-zero repositories
- references/project-bootstrap-gates.md: minimum quality gates for brand-new projects
- references/repo-discovery-baseline.md: how to build the
Engineering Baseline
- references/artifact-templates.md: exact artifact templates and minimum fields
- references/plan-completeness-bar.md: reject shallow plans before coding
- references/execution-discipline.md: how to keep implementation aligned to locked plan steps
- references/replan-protocol.md: when and how to stop and replan
- references/capability-routing.md: which work must use strongest models and strongest reasoning
- references/escalation-and-delegation.md: when to escalate and how to keep reusable spawn templates
- references/runtime-spawn-integration.md: how to generate actual runtime-facing
spawn_agent templates
- references/control-entrypoint.md: when to use the unified control entrypoint instead of many manual script calls
- references/api-contract-bar.md: API and function-boundary rules
- references/readability-rubric.md: code-quality scoring and veto items
- references/anti-laziness.md: reject fake progress, hardcoding, and unverifiable claims
- references/conflict-stopline.md: stop-line and merge-order rules
- references/delivery-gates.md: approval, downgrade, and release truthfulness rules
- references/ui-quality-bar.md: only when UI or user-facing UX changes
- references/originality-and-sourcing.md: anti-copying, naming, and sourcing controls
- references/system-architecture-bar.md: only for runtime, kernel, system, driver, FFI, JNI, ABI, concurrency, or memory-sensitive work
- references/linux-system.md: Linux defensive tool guidance
- references/windows-system.md: Windows defensive tool guidance
- references/macos-system.md: macOS defensive tool guidance
- references/authorization-audit-bar.md: authorization, audit tags, and submission-traceability rules
- references/internal-source-intake.md: how to use internal proprietary source as a local reference corpus
- references/code-protection-boundaries.md: safe boundaries for internal protection-runtime work
Use the scripts when execution needs repeatable structure:
scripts/bootstrap_project.py: create bounded greenfield scaffolds for supported stacks
scripts/bootstrap_system_tool.py: create bounded defensive system-tool scaffolds
scripts/generate_execution_control.py: create the locked execution artifacts
scripts/generate_capability_routing.py: create the capability-routing artifact
scripts/generate_delegation_templates.py: create reusable role and spawn templates
scripts/generate_spawn_agent_templates.py: create runtime-facing spawn-agent payload templates
scripts/run_delivery_control.py: one entrypoint for bootstrap, runtime planning, review bundles, and UI evidence
scripts/validate_delivery.py: validate that artifact bundles satisfy required gates
scripts/score_plan_quality.py: score whether the plan is complete enough to start coding
scripts/check_capability_routing.py: verify that critical work is not assigned to weak tiers
scripts/check_spawn_agent_templates.py: verify that runtime-facing spawn-agent templates match routing and templates
scripts/check_execution_alignment.py: verify that execution stayed aligned to the locked plan
scripts/build_review_package.py: generate a standard review package markdown file
scripts/capture_ui_evidence.py: capture desktop/tablet/mobile screenshots plus Lighthouse metrics
scripts/score_code_quality.py: produce a heuristic code-quality scorecard before manual review
scripts/generate_review_prompts.py: generate independent reviewer prompts from a review package
scripts/generate_verdict_template.py: generate a standard verdict template for each reviewer
scripts/generate_threat_model.py: generate a bounded threat review artifact
scripts/run_system_checks.py: run static checks for defensive system-tool projects
scripts/bootstrap_audit_bundle.py: create authorization, annotation, provenance, and submission templates
scripts/register_internal_reference.py: create a tracked provenance register for local proprietary source
scripts/scan_audit_annotations.py: verify audit tags in sensitive files
Then load the repository's detected language adapters:
- references/language-adapters/c.md
- references/language-adapters/cpp.md
- references/language-adapters/rust.md
- references/language-adapters/python.md
- references/language-adapters/java.md
- references/language-adapters/typescript.md
- references/language-adapters/web-frontend.md
If multiple languages are present, load every adapter that touches changed surfaces.
Coding Rules
Before coding, derive a task-specific Engineering Baseline from the repository:
- local repository standards
- language adapter rules
- system-layer rules when applicable
- generic fallback rules
Never let generic adapter advice override a stronger local rule.
If the repository contains internal proprietary source or company protection-runtime code:
- do not paste large sensitive code blocks into the skill itself
- register the source root first and record ownership, sensitivity, and allowed use
- load only task-relevant files into context
- annotate privileged or submission-sensitive code with visible audit tags
- keep authorization and provenance artifacts in sync with the changed surfaces
If the repository is empty or lacks usable product structure:
- do not improvise file trees ad hoc
- load the greenfield references
- create the bootstrap artifacts first
- define the stack, quality tools, delivery scope, and first release boundary before implementation
Do not start implementation until these are defined:
- owned files and tracks
- API contracts
- function boundaries
- locked plan steps and release slice
- validation location
- error semantics
- tests and review evidence
Before coding on non-trivial work:
- create or update the
Execution Contract
- create the
Capability Routing Table
- create the
Delegation Template Table
- create the
Spawn Agent Template Table
- create the
Plan Coverage Matrix
- run
scripts/score_plan_quality.py
- run
scripts/check_capability_routing.py
- run
scripts/check_spawn_agent_templates.py
- do not code if any plan dimension is below
4 or critical work is routed to weak tiers
When you need a single command surface instead of many manual steps:
- use
scripts/run_delivery_control.py bootstrap-project for bounded greenfield setup
- use
scripts/run_delivery_control.py plan-runtime --run-checks for locked execution artifacts plus validation
- use
scripts/run_delivery_control.py review-bundle for review package plus reviewer prompts and verdict templates
- use
scripts/run_delivery_control.py capture-ui for screenshot and Lighthouse evidence
During implementation:
- update the
Execution Ledger
- cite
plan_step_id and requirement_id in progress reasoning
- escalate critical blockers to strongest model tier instead of looping on weak workers
- if work drifts outside the locked plan, stop and use references/replan-protocol.md
Approval Rules
Use one of these execution modes:
real-multi-agent: real delegated workers and independent reviewers exist
constrained-single-agent: delegation is unavailable; the work may proceed, but approval claims are downgraded
Do not claim 3-agent approved unless there are three real independent reviewers and their outputs are independently attributable.
Reviewer matrix:
- user-facing product/UI work:
Architecture Reviewer, UI Reviewer, Security Reviewer
- system/kernel/runtime work:
Architecture Reviewer, Systems Reviewer, Security Reviewer
Tester is not a reviewer slot. Tester owns the test evidence package. If testing is self-reported by the implementer, mark it explicitly and downgrade confidence.
Delivery Truthfulness
This skill does not allow false completion claims.
If the work lacks clarification, artifacts, evidence, or independent review, say so plainly and stop the approval claim at the correct gate.
If the skill did not auto-trigger but the user expects enterprise-grade controls, tell them to restart with the explicit bootstrap prompt from references/trigger-boundary.md.
Do not promise that any arbitrary request can become a fully complete product in one pass. Instead, use references/feasibility-envelope.md to decide whether the request is:
- small enough for direct delivery
- suitable for parallel multi-agent delivery
- too broad and must be de-scoped into a credible release slice first
1---2name: enterprise-delivery-orchestrator3description: Enterprise-grade delivery orchestration for turning a requirement into a real product with clarification, product definition, architecture, UI direction, API contracts, implementation tracks, testing evidence, and independent review. Use when the user wants end-to-end delivery, not just a plan: requirement analysis, product design, UI/UX polish, frontend, backend, API design, testing, security review, system design, kernel/runtime/FFI work, launch readiness, authorization audit, proprietary source governance, code protection boundaries, or high-quality code with low AI-smell. Also trigger for TypeScript, React, Next.js, web frontend, dashboard, landing page, internal source intake, regulated security products, and Chinese requests such as 需求分析, 产品设计, UI美化, 前后端联动, 完整交付, 代码规范, API定义, 函数定义, 漏洞分析, 系统架构, 内核开发, 运行时, 驱动, 授权审计, 内部源码, 代码保护, Rust/C++/Python/Java/C coding quality.4---56# Enterprise Delivery Orchestrator78Use this skill when the user wants a requirement turned into a real deliverable with enterprise-grade controls rather than a loose implementation.910The `main_agent` is always `PM / Delivery Lead`. Do not hide the PM behind roleplay. In non-trivial work, the PM orchestrates, clarifies, assigns, gates, and tells the truth about what is not yet proven.1112## Trigger Policy1314Auto-use this skill when the request involves one or more of:1516- turning a requirement into a shipped feature or product17- building a project from zero / greenfield delivery18- requirement analysis, product definition, or UX/UI direction19- frontend plus backend coordination20- TypeScript, React, Next.js, or browser-facing frontend delivery21- API design, contract design, or function boundary design22- code quality rescue, anti-sloppiness controls, or "make Codex write high-quality code"23- testing evidence, release readiness, or security review24- system design, low-level design, runtime, kernel, FFI, driver, concurrency, memory, ABI, or platform work25- authorized defensive system protection tools such as integrity monitors, config auditors, process scanners, hardening agents, or observability daemons26- proprietary internal source intake, source provenance, submission traceability, authorization annotation, or company audit preparation27- internal code protection runtime work that must stay explainable, authorized, and auditable28- Chinese requests such as `把需求完整落地`, `做成成熟产品`, `高质量代码`, `前后端+测试+安全`, `系统层`, `内核层`, `架构层`2930Do not auto-use this skill for:3132- plan-only requests with no execution or delivery expectation33- lightweight local edits that do not change product behavior or architecture34- pure writing, summarization, or casual advice3536If the user only wants a plan, prefer the repository's planning skills instead.3738## Core Promise3940This skill enforces the following sequence:41421. Discover the repository and current constraints before proposing implementation details.432. If the project is greenfield, bootstrap the product baseline before architecture.443. Run a clarification gate for high-impact ambiguity.454. Produce product, architecture, API, and function-boundary artifacts before coding.465. Load the right language adapters and system constraints before writing code.476. Reject low-quality, copied, or AI-generic code through explicit gates.487. Require testing evidence and independent review before claiming delivery.4950If the session did not actually follow this sequence, do not claim enterprise-grade delivery assurance.5152## Operating Model5354Read [references/operating-model.md](references/operating-model.md) at the start of any real task.5556Always produce or update these artifacts:5758- `Task Charter`59- `Engineering Baseline`60- `Greenfield Bootstrap Plan` when no usable project baseline exists61- `Product/Experience Brief`62- `Architecture Contract`63- `ADR`64- `API Contract Table`65- `Function Boundary Table`66- `Execution Contract`67- `Capability Routing Table`68- `Delegation Template Table`69- `Spawn Agent Template Table`70- `Plan Coverage Matrix`71- `Execution Ledger`72- `Requirement-to-Change Map`73- `Test Matrix + Evidence Log`74- `Threat Review`75- `Authorization Manifest` for regulated internal security products76- `Audit Annotation Register` when privileged or submission-sensitive files exist77- `Source Provenance Register` when internal or proprietary source is used as reference or implementation input78- `Platform Submission Notes` when source packaging or external submission is in scope79- `Claim-to-Evidence Map`80- `Review Package`81- `Release Readiness Checklist`82- `Decision Log`83- `State Snapshot`8485Missing artifacts are not "to be filled later". They are evidence that the work is not ready for approval.8687## Clarification First8889The default ambiguity policy for this skill is strict clarification.9091Do not guess on high-impact unknowns such as:9293- product scope or non-goals94- public API shape or compatibility95- data ownership or migration behavior96- auth, permission, secret, or trust-boundary assumptions97- platform or language choice when the repository does not establish one98- runtime, locking, memory, ABI, or failure-domain assumptions in system work99100Low-impact uncertainty may be handled with explicit assumptions recorded in the `Decision Log`.101102## Load References Intentionally103104Read only the references needed for the task:105106- [references/trigger-boundary.md](references/trigger-boundary.md): when this skill should win, lose, or downgrade107- [references/feasibility-envelope.md](references/feasibility-envelope.md): what this skill can honestly deliver as a "complete product"108- [references/greenfield-bootstrap.md](references/greenfield-bootstrap.md): how to start from zero or near-zero repositories109- [references/project-bootstrap-gates.md](references/project-bootstrap-gates.md): minimum quality gates for brand-new projects110- [references/repo-discovery-baseline.md](references/repo-discovery-baseline.md): how to build the `Engineering Baseline`111- [references/artifact-templates.md](references/artifact-templates.md): exact artifact templates and minimum fields112- [references/plan-completeness-bar.md](references/plan-completeness-bar.md): reject shallow plans before coding113- [references/execution-discipline.md](references/execution-discipline.md): how to keep implementation aligned to locked plan steps114- [references/replan-protocol.md](references/replan-protocol.md): when and how to stop and replan115- [references/capability-routing.md](references/capability-routing.md): which work must use strongest models and strongest reasoning116- [references/escalation-and-delegation.md](references/escalation-and-delegation.md): when to escalate and how to keep reusable spawn templates117- [references/runtime-spawn-integration.md](references/runtime-spawn-integration.md): how to generate actual runtime-facing `spawn_agent` templates118- [references/control-entrypoint.md](references/control-entrypoint.md): when to use the unified control entrypoint instead of many manual script calls119- [references/api-contract-bar.md](references/api-contract-bar.md): API and function-boundary rules120- [references/readability-rubric.md](references/readability-rubric.md): code-quality scoring and veto items121- [references/anti-laziness.md](references/anti-laziness.md): reject fake progress, hardcoding, and unverifiable claims122- [references/conflict-stopline.md](references/conflict-stopline.md): stop-line and merge-order rules123- [references/delivery-gates.md](references/delivery-gates.md): approval, downgrade, and release truthfulness rules124- [references/ui-quality-bar.md](references/ui-quality-bar.md): only when UI or user-facing UX changes125- [references/originality-and-sourcing.md](references/originality-and-sourcing.md): anti-copying, naming, and sourcing controls126- [references/system-architecture-bar.md](references/system-architecture-bar.md): only for runtime, kernel, system, driver, FFI, JNI, ABI, concurrency, or memory-sensitive work127- [references/linux-system.md](references/linux-system.md): Linux defensive tool guidance128- [references/windows-system.md](references/windows-system.md): Windows defensive tool guidance129- [references/macos-system.md](references/macos-system.md): macOS defensive tool guidance130- [references/authorization-audit-bar.md](references/authorization-audit-bar.md): authorization, audit tags, and submission-traceability rules131- [references/internal-source-intake.md](references/internal-source-intake.md): how to use internal proprietary source as a local reference corpus132- [references/code-protection-boundaries.md](references/code-protection-boundaries.md): safe boundaries for internal protection-runtime work133134Use the scripts when execution needs repeatable structure:135136- `scripts/bootstrap_project.py`: create bounded greenfield scaffolds for supported stacks137- `scripts/bootstrap_system_tool.py`: create bounded defensive system-tool scaffolds138- `scripts/generate_execution_control.py`: create the locked execution artifacts139- `scripts/generate_capability_routing.py`: create the capability-routing artifact140- `scripts/generate_delegation_templates.py`: create reusable role and spawn templates141- `scripts/generate_spawn_agent_templates.py`: create runtime-facing spawn-agent payload templates142- `scripts/run_delivery_control.py`: one entrypoint for bootstrap, runtime planning, review bundles, and UI evidence143- `scripts/validate_delivery.py`: validate that artifact bundles satisfy required gates144- `scripts/score_plan_quality.py`: score whether the plan is complete enough to start coding145- `scripts/check_capability_routing.py`: verify that critical work is not assigned to weak tiers146- `scripts/check_spawn_agent_templates.py`: verify that runtime-facing spawn-agent templates match routing and templates147- `scripts/check_execution_alignment.py`: verify that execution stayed aligned to the locked plan148- `scripts/build_review_package.py`: generate a standard review package markdown file149- `scripts/capture_ui_evidence.py`: capture desktop/tablet/mobile screenshots plus Lighthouse metrics150- `scripts/score_code_quality.py`: produce a heuristic code-quality scorecard before manual review151- `scripts/generate_review_prompts.py`: generate independent reviewer prompts from a review package152- `scripts/generate_verdict_template.py`: generate a standard verdict template for each reviewer153- `scripts/generate_threat_model.py`: generate a bounded threat review artifact154- `scripts/run_system_checks.py`: run static checks for defensive system-tool projects155- `scripts/bootstrap_audit_bundle.py`: create authorization, annotation, provenance, and submission templates156- `scripts/register_internal_reference.py`: create a tracked provenance register for local proprietary source157- `scripts/scan_audit_annotations.py`: verify audit tags in sensitive files158159Then load the repository's detected language adapters:160161- [references/language-adapters/c.md](references/language-adapters/c.md)162- [references/language-adapters/cpp.md](references/language-adapters/cpp.md)163- [references/language-adapters/rust.md](references/language-adapters/rust.md)164- [references/language-adapters/python.md](references/language-adapters/python.md)165- [references/language-adapters/java.md](references/language-adapters/java.md)166- [references/language-adapters/typescript.md](references/language-adapters/typescript.md)167- [references/language-adapters/web-frontend.md](references/language-adapters/web-frontend.md)168169If multiple languages are present, load every adapter that touches changed surfaces.170171## Coding Rules172173Before coding, derive a task-specific `Engineering Baseline` from the repository:1741751. local repository standards1762. language adapter rules1773. system-layer rules when applicable1784. generic fallback rules179180Never let generic adapter advice override a stronger local rule.181182If the repository contains internal proprietary source or company protection-runtime code:183184- do not paste large sensitive code blocks into the skill itself185- register the source root first and record ownership, sensitivity, and allowed use186- load only task-relevant files into context187- annotate privileged or submission-sensitive code with visible audit tags188- keep authorization and provenance artifacts in sync with the changed surfaces189190If the repository is empty or lacks usable product structure:191192- do not improvise file trees ad hoc193- load the greenfield references194- create the bootstrap artifacts first195- define the stack, quality tools, delivery scope, and first release boundary before implementation196197Do not start implementation until these are defined:198199- owned files and tracks200- API contracts201- function boundaries202- locked plan steps and release slice203- validation location204- error semantics205- tests and review evidence206207Before coding on non-trivial work:2082091. create or update the `Execution Contract`2102. create the `Capability Routing Table`2113. create the `Delegation Template Table`2124. create the `Spawn Agent Template Table`2135. create the `Plan Coverage Matrix`2146. run `scripts/score_plan_quality.py`2157. run `scripts/check_capability_routing.py`2168. run `scripts/check_spawn_agent_templates.py`2179. do not code if any plan dimension is below `4` or critical work is routed to weak tiers218219When you need a single command surface instead of many manual steps:220221- use `scripts/run_delivery_control.py bootstrap-project` for bounded greenfield setup222- use `scripts/run_delivery_control.py plan-runtime --run-checks` for locked execution artifacts plus validation223- use `scripts/run_delivery_control.py review-bundle` for review package plus reviewer prompts and verdict templates224- use `scripts/run_delivery_control.py capture-ui` for screenshot and Lighthouse evidence225226During implementation:227228- update the `Execution Ledger`229- cite `plan_step_id` and `requirement_id` in progress reasoning230- escalate critical blockers to strongest model tier instead of looping on weak workers231- if work drifts outside the locked plan, stop and use [references/replan-protocol.md](references/replan-protocol.md)232233## Approval Rules234235Use one of these execution modes:236237- `real-multi-agent`: real delegated workers and independent reviewers exist238- `constrained-single-agent`: delegation is unavailable; the work may proceed, but approval claims are downgraded239240Do not claim `3-agent approved` unless there are three real independent reviewers and their outputs are independently attributable.241242Reviewer matrix:243244- user-facing product/UI work: `Architecture Reviewer`, `UI Reviewer`, `Security Reviewer`245- system/kernel/runtime work: `Architecture Reviewer`, `Systems Reviewer`, `Security Reviewer`246247`Tester` is not a reviewer slot. `Tester` owns the test evidence package. If testing is self-reported by the implementer, mark it explicitly and downgrade confidence.248249## Delivery Truthfulness250251This skill does not allow false completion claims.252253If the work lacks clarification, artifacts, evidence, or independent review, say so plainly and stop the approval claim at the correct gate.254255If the skill did not auto-trigger but the user expects enterprise-grade controls, tell them to restart with the explicit bootstrap prompt from [references/trigger-boundary.md](references/trigger-boundary.md).256257Do not promise that any arbitrary request can become a fully complete product in one pass. Instead, use [references/feasibility-envelope.md](references/feasibility-envelope.md) to decide whether the request is:258259- small enough for direct delivery260- suitable for parallel multi-agent delivery261- too broad and must be de-scoped into a credible release slice first