Loading...
Loading...
Compare original and translation side by side
Internal AI SDLC skill, not client-facing by default. Every rule below is important to follow. None of it can be skipped. Before producing the final artifact, confirm required inputs, target audience, missing facts, output format, and constraints when they are unclear. Do not invent missing information. Ask concise clarification questions when required inputs are absent.
内部AI SDLC技能,默认不面向客户。 以下每条规则都必须遵守,无一例外。 在生成最终产物前,若所需输入、目标受众、缺失信息、输出格式和约束条件不明确,请先确认。 不得编造缺失信息。当所需输入缺失时,提出简洁的澄清问题。
ai-sdlc-commit-prepai-sdlc-commit-prepTBDNot providedAssumptionTBDNot providedAssumption--quick-flow--full-flow--full-flow--quick-flow--quick-flowdecision-log.md--quick-flow--full-flow--full-flow--full-flow--quick-flow--full-flow--full-flow--quick-flow--quick-flowdecision-log.md--quick-flow--full-flow--full-flow--full-flowspecs-refiniment/<feature-name>/<file.md>ai-sdlc-handoff/v1resultblockersnext_requirednext_optionalreasoncommandexpected_artifactsummary.txt*-summary.txt_ai_sdlcspecs-refiniment/<feature-name>/<file.md>resultblockersnext_requirednext_optionalai-sdlc-handoff/v1reasoncommandexpected_artifactsummary.txt*-summary.txt_ai_sdlcspecs-refiniment/<feature-name>/decision-log.mdspecs/<feature-name>/decision-log.md# Decision Log
| ID | Date | Status | Owner | Decision | Context/Evidence | Options Considered | Affected Artifacts | Validation/Trace Links |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| DEC-001 | YYYY-MM-DD | proposed / accepted / superseded / rejected | role or name | concise decision | source facts, artifact links, or evidence | option A; option B; recommended default | affected docs, tasks, code, tests, or rollout notes | requirement IDs, test IDs, validation commands, PRs, commits, or tickets |specs/specs/specs-refiniment/<feature-name>/<file.md>specs-refiniment/<feature-name>/<file.md>specs/specs-refiniment/<feature-name>/decision-log.mdspecs/<feature-name>/decision-log.md# Decision Log
| ID | Date | Status | Owner | Decision | Context/Evidence | Options Considered | Affected Artifacts | Validation/Trace Links |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| DEC-001 | YYYY-MM-DD | proposed / accepted / superseded / rejected | role or name | concise decision | source facts, artifact links, or evidence | option A; option B; recommended default | affected docs, tasks, code, tests, or rollout notes | requirement IDs, test IDs, validation commands, PRs, commits, or tickets |specs/specs/specs-refiniment/<feature-name>/<file.md>specs-refiniment/<feature-name>/<file.md>specs/specs-refiniment/<feature-name>/_ai_sdlc/state.toonspecs/<feature-name>/_ai_sdlc/state.toonpython3 skills/_shared/state_machine.py check --feature <feature-name> --skill <this-skill-name> --workspace <refinement|implementation> --quick-flow|--full-flowbegincomplete--artifacts <path>--decision-ref DEC-###--full-flow--quick-flow--assumption "..."--decision-ref DEC-###decision-log.mdpython3 skills/_shared/state_machine.py status --feature <feature-name> --workspace <refinement|implementation> --format toonstate.toonspecs-refiniment/<feature-name>/_ai_sdlc/state.toonspecs/<feature-name>/_ai_sdlc/state.toonpython3 skills/_shared/state_machine.py check --feature <feature-name> --skill <this-skill-name> --workspace <refinement|implementation> --quick-flow|--full-flowbegincomplete--artifacts <path>--decision-ref DEC-###--full-flow--quick-flow--assumption "..."--decision-ref DEC-###decision-log.mdpython3 skills/_shared/state_machine.py status --feature <feature-name> --workspace <refinement|implementation> --format toonstate.toonartifact_metadataai-sdlc-artifact-metadata/v1featureartifactpathworkspaceskillflow_modestate_filedecision_logstatusownercreated_atupdated_attrace_idsrelated_artifactsvalidationmetatagsmetatagsai-sdlcrefinementimplementationdraftreviewapprovedvalidated--quick-flowflow_mode: quick--full-flowflow_mode: fullstatusvalidationtrace_idsrelated_artifactsdecision-log.mdstate.toonartifact_metadataai-sdlc-artifact-metadata/v1featureartifactpathworkspaceskillflow_modestate_filedecision_logstatusownercreated_atupdated_attrace_idsrelated_artifactsvalidationmetatagsmetatagsai-sdlcrefinementimplementationdraftreviewapprovedvalidated--quick-flowflow_mode: quick--full-flowflow_mode: fullstatusvalidationtrace_idsrelated_artifactsdecision-log.mdstate.toonspecs-refiniment/_ai_sdlc/specs-index.toonspecs/_ai_sdlc/specs-index.toonspecs-refiniment/specs-index.mdspecs/specs-index.mdpython3 skills/_shared/ai_sdlc_specs_index.py --workspace <refinement|implementation> --quick-flow|--full-flow--quick-flowspecs-index.toon--full-flowspecs-index.toonspecs-index.mdspecs-refiniment/_ai_sdlc/specs-index.toonspecs/_ai_sdlc/specs-index.toonspecs-refiniment/specs-index.mdspecs/specs-index.mdpython3 skills/_shared/ai_sdlc_specs_index.py --workspace <refinement|implementation> --quick-flow|--full-flow--quick-flowspecs-index.toon--full-flowspecs-index.toonspecs-index.mdscripts/check_commit_ready.py--quick-flow--full-flowscripts/check_commit_ready.py--quick-flow--full-flowpython3 skills/ai-sdlc-commit-prep/scripts/check_commit_ready.py --quick-flow --spec specs/<feature-name> --allow-unstaged --no-require-stagedpython3 skills/ai-sdlc-commit-prep/scripts/check_commit_ready.py --full-flow --spec specs/<feature-name>--task TNNN--task--allow-unstaged--no-require-stagedpython3 skills/ai-sdlc-commit-prep/scripts/check_commit_ready.py --quick-flow --spec specs/<feature-name> --allow-unstaged --no-require-stagedpython3 skills/ai-sdlc-commit-prep/scripts/check_commit_ready.py --full-flow --spec specs/<feature-name>--task TNNN--task--allow-unstaged--no-require-stagedgit status --short --branchgit status --short --branchgit status --short --branchgit diff --statgit diff --cached --statrequirements.mddesign.mdtest-cases.mdqa.mdtasks.md_ai_sdlc/plan.toonplan.mdfeature/NNN-short-feature-nametasks.mdpython3 skills/ai-sdlc-commit-prep/scripts/check_commit_ready.py --spec specs/NNN-feature-name --no-require-staged--task TNNN$ai-sdlc-conventional-commitgit commit -F /tmp/message.txtgit status --short --branchgit status --short --branchgit diff --statgit diff --cached --statrequirements.mddesign.mdtest-cases.mdqa.mdtasks.md_ai_sdlc/plan.toonplan.mdfeature/NNN-short-feature-nametasks.mdpython3 skills/ai-sdlc-commit-prep/scripts/check_commit_ready.py --spec specs/NNN-feature-name --no-require-staged--task TNNN$ai-sdlc-conventional-commitgit commit -F /tmp/message.txtgit status --short --branchCommit:
- Hash: full_hash
- Subject: conventional subject
- Branch: branch-name
- Spec: specs/NNN-feature-name | none
Staging:
- Included: path groups and why they belong.
- Excluded: unrelated dirty paths or none.
Validation:
- command -> outcome
Post-commit:
- Working tree: clean | dirty with listed paths.
- Residual risk: none | concrete issue.Commit:
- Hash: full_hash
- Subject: conventional subject
- Branch: branch-name
- Spec: specs/NNN-feature-name | none
Staging:
- Included: path groups and why they belong.
- Excluded: unrelated dirty paths or none.
Validation:
- command -> outcome
Post-commit:
- Working tree: clean | dirty with listed paths.
- Residual risk: none | concrete issue.Staging:
- Included: `skills/*/SKILL.md` because every file is part of the skill instruction upgrade.
- Included: `specs/177-skill-instruction-upgrade/*` because the SDD package documents this change.
- Excluded: `apps/web/.env.local` because it is unrelated and sensitive.Ran git add -A and committed everything.Staging:
- Included: `skills/*/SKILL.md` because every file is part of the skill instruction upgrade.
- Included: `specs/177-skill-instruction-upgrade/*` because the SDD package documents this change.
- Excluded: `apps/web/.env.local` because it is unrelated and sensitive.Ran git add -A and committed everything.$ai-sdlc-branchingdevmainmaster--allow-unstageddevmainmaster$ai-sdlc-branching--allow-unstaged$ai-sdlc-conventional-commit$ai-sdlc-test-cases$ai-sdlc-qa$ai-sdlc-validation$ai-sdlc-conventional-commit$ai-sdlc-test-cases$ai-sdlc-qa$ai-sdlc-validation