Loading...
Loading...
AI SDLC Conventional Commit workflow. Use when an AI assistant drafts, validates, reviews, or fixes commit messages in this repository, especially when commits must include SDD spec references, validation summaries, or safe conventional commit subjects. Supports `--quick-flow` for fast assumption-driven execution and `--full-flow` for question-driven verified execution.
npx skill4agent add mikegorelikoff/ai-sdlc-harness ai-sdlc-conventional-commitInternal 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-conventional-commitTBDNot providedAssumption--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>/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.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.mdscripts/validate_commit_msg.py--quick-flow--full-flowpython3 skills/ai-sdlc-conventional-commit/scripts/validate_commit_msg.py --quick-flow --message "<type(scope): subject>"python3 skills/ai-sdlc-conventional-commit/scripts/validate_commit_msg.py --full-flow path/to/commit-message.txt--require-traceabilitySpec:Validation:featfixdocstestrefactorchorecibuildperfrevertapibitgosddskillsdocsspecs/177-skill-instruction-upgradetype(scope): imperative summarytype: imperative summaryfix bitgo wallet routingfixed bitgo wallet routingSpec: specs/NNN-feature-nameBusiness contextImplementation detailsMermaid diagramHow to testValidationBREAKING CHANGE:python3 skills/ai-sdlc-conventional-commit/scripts/validate_commit_msg.py path/to/message.txt --require-traceabilitytype(scope): imperative summary
Spec: specs/NNN-feature-name
Business context:
One or two sentences explaining why the change matters to product, operations, risk, clients, QA, or delivery governance.
Implementation details:
- Concrete code, contract, doc, workflow, provider, schema, or validation changes.
- Important compatibility, rollout, or failure-mode decisions.
Mermaid diagram:
```mermaid
flowchart LR
Actor["Actor or trigger"] --> Change["Changed AI SDLC path"]
Change --> Outcome["Business-visible outcome"]
```
How to test:
1. Reviewer-visible happy path or documentation path.
2. Important permission, failure, boundary, regression, or governance path.
Validation:
- command -> outcomedocs(skill): upgrade repo-local skill instructions
Spec: specs/177-skill-instruction-upgrade
Business context:
This makes AI skill usage deterministic for future AI SDLC work and reduces reviewer effort caused by vague skill outputs.
Implementation details:
- Rewrote every repo-local skill with Purpose, Inputs, Steps, Output spec, Examples, Edge cases, and Scope boundary.
- Added a skill index that maps each workflow phase to the correct skill.
Mermaid diagram:
```mermaid
flowchart LR
Request["Skill audit"] --> Rewrite["Normalized SKILL.md files"]
Rewrite --> Output["Consistent AI assistant behavior"]
```
How to test:
1. Read a cold skill and confirm it contains a complete execution contract.
2. Run skill and spec validators for the updated files.
Validation:
- PYTHONPYCACHEPREFIX=/tmp/ai-sdlc-harness-pycache python3 -m py_compile skills/ai-sdlc-validation/scripts/validation_plan.py -> passed
- git diff --check -> passedupdates
Made skills better.BREAKING CHANGE:revert: ...Validation$ai-sdlc-commit-prep$ai-sdlc-validation