Artifact gate

From GongShichen/LuminaCode · View interactive version

Artifact gate is an AI agent skill from the GitHub repository GongShichen/LuminaCode. Check that each product-development stage has durable documents before moving to the next gate.

How to use this skill

Skill file

Use this skill to prevent "the team talked about it" from replacing durable project artifacts.

Default document set for ordinary software product work:

Gate checks:

  1. Before UX Design
  1. Before technical plans
  1. Before implementation
  1. Before QA/Reviewer
  1. Before completion

If any document is missing:

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.

#!/usr/bin/env python3
"""Check required product-development stage documents under a project root."""

from __future__ import annotations

import pathlib
import sys


REQUIRED = [
    "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 2
    root = 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 1
    print("all required stage documents exist")
    return 0


if __name__ == "__main__":
    raise SystemExit(main(sys.argv))
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.