一键导入
sdlc-router
Use only when the user explicitly invokes this skill to decide whether work needs SDLC/ADS and which minimum materials, if any, are justified.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use only when the user explicitly invokes this skill to decide whether work needs SDLC/ADS and which minimum materials, if any, are justified.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use only when the user explicitly invokes this skill to map unresolved product, domain, repository, or delivery unknowns before choosing a path.
Use only when the user explicitly invokes this skill to create or resume a persistent file-based goal tracker across sessions.
Use only when the user explicitly invokes this skill to stress-test an existing plan or design through one load-bearing question at a time.
Use only when the user explicitly invokes this skill to evaluate a skill with representative cases, isolated runs, independent judging, and evidence-driven edits.
Use for a concrete defect or regression that needs reproduction, root-cause diagnosis, a fix, and regression validation. Do not trigger for routine localized edits or primarily performance-focused work.
Use when the requested feature genuinely spans at least two delivery layers such as frontend, backend, API, data, scripts, or tests. Do not expand a single-layer change into a full-stack workflow.
| name | sdlc-router |
| description | Use only when the user explicitly invokes this skill to decide whether work needs SDLC/ADS and which minimum materials, if any, are justified. |
| metadata | {"version":"1.0","updated":"2026-07-26"} |
Use this skill only after the user explicitly asks for SDLC/ADS classification or invokes it by name.
This skill only recommends a route. It does not write or update local/sdlc,
BRD, URS, PRD, SRS, NFR, HLD, LLD, ADR, SPEC, RTM, handoff, tracker, or
implementation content, and it does not invoke the recommended skill.
For the canonical vocabulary, local state layout, ID contract, and lightweight templates, read references/sdlc-operating-model.md.
Do not use this skill merely because work mentions architecture, requirements,
refactoring, release, local/sdlc, or an existing artifact.
Read what is available:
local/sdlc/_资产.mdlocal/sdlc/架构.mdlocal/sdlc/领域.mdlocal/sdlc/<slug>/00-状态.mdIf inputs are missing, route using the evidence available and mark assumptions explicitly. Missing SDLC material is a risk signal, not a global stop condition.
none: read-only explanation, codebase onboarding, fact check, or research with no delivery decision.快线: bugfix, small repair, config, copy, clear issue, or localized task.增补: clear new feature, small module, contained behavior change, or implementation-facing addition.重构: external behavior should stay basically unchanged while structure, dependencies, modules, or implementation change.重建: old system/module replacement, rewrite, migration, or capability re-mapping.从头: greenfield project, new subsystem, or no meaningful existing baseline.Modifiers:
规则变更: permissions, billing, data metrics, state machine, compliance, privacy, business semantics, domain ownership, or data ownership changes.发布: release, rollback, launch evidence, support burden, or rollout risk changes.Only output Intake when new information arrives during an active implementation:
同范围补充: recommend appending to the current TASK / VAL.旁路小修: recommend fast-lane direct-dev.冲突变更: recommend a baseline decision before implementation continues.紧急修复: recommend a bounded fix and validation before impact review.Do not restart SDLC by default for midstream intake.
When the source is Web, GPT5.5Pro, another AI, pasted chat, or an external proposal:
REQ, TASK, and VAL.[用户确认], [外部建议], [代码证据], [local材料], [推断], or [未验证].If the external proposal conflicts with repository evidence, route as 冲突变更 or blocked.
A / Architecture: does it affect architecture, module/runtime boundaries, dependency direction, deployment, migration, or durable technical decisions?D / Domain: does it affect domain ownership, business rules, data ownership, permissions, metrics, privacy, compliance, or forbidden dependencies?S / Specification: are scope, non-scope, acceptance, and validation clear enough for implementation?Use ADS as a judgment frame, not as a requirement to write A/D/S documents every time.
direct-read: no delivery decision; explain, inspect, map, or verify facts.direct-dev: clear, local, reversible or low-risk, and independently verifiable.handoff-lite: scope is clear but cross-session, cross-agent, or task/validation handoff is useful.handoff-full: architecture/domain impact, rule change, rebuild, greenfield, multi-wave delivery, release risk, or validation ambiguity requires durable materials.blocked: user decision is required for business tradeoff, compatibility, risk acceptance, irreversible operation, or spec contradiction.Default material budgets:
none: no local/sdlc material.快线: 0 files; optional delivery card only when state must survive across sessions.增补: existing ADS state plus handoff-lite or 20-规格.md only if needed.重构: as-built, to-be, behavior baseline, and migration handoff.重建: capability map, scope decision table, first-wave spec, first-wave handoff.从头: lightweight requirements package, initial architecture/domain, first-wave spec, first-wave handoff.BRD, URS, PRD, SRS, full RTM, and full change-control are not default gates for bugfix, clear small feature, pure refactor, or direct-dev.
Escalate only when scope, Architecture, Domain, business semantics, release risk, or validation baseline changes.
Recommend the smallest next step. Do not invoke it:
If the recommendation is an explicit-control skill, return its exact
$codex-next:<skill-name> command and stop for the user to invoke it. A plain
recommendation or approval does not transfer authorization.
dev-repo-onboardingdev-bugfixdev-spec-driven-implementation$codex-next:sdlc-requirements-workflow, sdlc-prd-workflow, sdlc-brd-workflow, sdlc-urs-workflowsdlc-srs-workflow, sdlc-nfr-specsdlc-hld-workflow, sdlc-domain-boundary-modeling, sdlc-architecture-decision-record, sdlc-modular-monolith-architecturesdlc-lld-workflow, $codex-next:sdlc-solution-spec-workflow, sdlc-spec-slice-writersdlc-dev-handoff-planningsdlc-validation-plan-workflowsdlc-requirements-traceability, $codex-next:sdlc-change-control$codex-next:sdlc-readiness-reviewdev-refactor-plan, dev-migration-plandev-release-checkReturn this compact block:
## Routing Result
- Lane: none / 快线 / 增补 / 重构 / 重建 / 从头
- Modifier: none / 规则变更 / 发布
- Intake: none / 同范围补充 / 旁路小修 / 冲突变更 / 紧急修复
- ADS:
- A:
- D:
- S:
- Dev path: direct-read / direct-dev / handoff-lite / handoff-full / blocked
## Required
Now:
-
Before dev:
-
## Not needed
-
## Next skill
-
Omit Intake when the request is not midstream.