<< All versions
Skill v1.0.0
currentAutomated scan100/100gongshichen/luminacode/artifact-gate
──Details
PublishedOctober 23, 2026 at 03:30 AM
Content Hashsha256:a0055ae3a55b2015...
Git SHAcf85ea878c76
──Files
Files (1 file, 3.4 KB)
SKILL.md3.4 KBactive
SKILL.md · 97 lines · 3.4 KB
version: "1.0.0" name: Artifact Gate description: Check that each product-development stage has durable documents before moving to the next gate. when-to-use: Use before implementation, before QA/Reviewer dispatch, and before final completion. user-invocable: false context: inline
Use this skill to prevent "the team talked about it" from replacing durable project artifacts.
Default document set for ordinary software product work:
PRD.mdUX_DESIGN.mdBACKEND_PLAN.mdFRONTEND_PLAN.mdINTERFACE_CONTRACT.mdINTEGRATION_REPORT.mdQA_REPORT.mdREVIEW_REPORT.md
Gate checks:
- Before UX Design
PRD.mdexists and includes goals, scope, user flow, functional requirements, data requirements, and acceptance criteria.
- Before technical plans
PRD.mdandUX_DESIGN.mdexist.- Design includes states, interaction flow, copy, accessibility, and platform constraints.
- Before implementation
BACKEND_PLAN.mdandFRONTEND_PLAN.mdexist.INTERFACE_CONTRACT.mdexists and is acknowledged by both Frontend and Backend.- Team Leader has checked plan boundaries and called
RecordTeamContract. - For CLI/TUI/local tools with persistence,
INTERFACE_CONTRACT.mdnames one concrete storage path resolution and subprocess-visible test isolation mechanism. Reject vague language such as "environment variable or monkeypatch" because monkeypatch does not cross subprocess boundaries. Reject function parameter-only overrides unless the launched CLI/API exposes that parameter through a flag, environment variable, config path, fixture path, or cwd convention.
- Before QA/Reviewer
- Implementation files exist under the project root.
INTEGRATION_REPORT.mdexists or the Team Leader has explicitly dispatched integration evidence work.
- Before completion
QA_REPORT.mdexists and QA has calledSubmitGateVerdict.REVIEW_REPORT.mdexists and Reviewer has calledSubmitGateVerdict.- Required commands and integration smokes in the Team Acceptance Contract have evidence.
If any document is missing:
- Do not continue as if the stage is complete.
- Dispatch a recovery task to the owner.
- If the document is truly not applicable, record the reason in the Team Acceptance Contract or
CompleteTeamTask.deferral_reasons.
Embedded helper:
If you want a mechanical check, create this temporary helper inside the project root or run it with python3 - <<'PY' ... PY. Do not rely on a separate file in the skill directory.
python
#!/usr/bin/env python3"""Check required product-development stage documents under a project root."""from __future__ import annotationsimport pathlibimport sysREQUIRED = ["PRD.md","UX_DESIGN.md","BACKEND_PLAN.md","FRONTEND_PLAN.md","INTERFACE_CONTRACT.md","INTEGRATION_REPORT.md","QA_REPORT.md","REVIEW_REPORT.md",]def main(argv: list[str]) -> int:if len(argv) != 2:print("usage: check_stage_docs.py <project_root>", file=sys.stderr)return 2root = pathlib.Path(argv[1]).expanduser().resolve()missing = [name for name in REQUIRED if not (root / name).is_file()]if missing:print("missing stage documents:")for name in missing:print(f"- {name}")return 1print("all required stage documents exist")return 0if __name__ == "__main__":raise SystemExit(main(sys.argv))