AGENT SKILL

governance-kit-target-smoke

Use when validating that Agentic Doc Governance Kit initializes correctly into a target repository, including init dry-runs, generated file presence, installed skills, docs checks, skills checks, and optional feature lifecycle CLI smoke tests. Use this whenever the user asks to test install output, verify init behavior, or confirm generated templates work in a target repo.

License 许可
MIT
最近更新
2026-07-21
Stars
★ 0
Forks
0

01 前言 Front Matter

name
governance-kit-target-smoke
description
Use when validating that Agentic Doc Governance Kit initializes correctly into a target repository, including init dry-runs, generated file presence, installed skills, docs checks, skills checks, and optional feature lifecycle CLI smoke tests. Use this whenever the user asks to test install output, verify init behavior, or confirm generated templates work in a target repo.

03 SKILL.md 正文

Governance Kit Target Smoke

Use this skill to verify that the kit works after installation into a clean target repo, not only inside the kit checkout.

Scope

  • Create a temporary target repo or use a user-provided target path
  • Run init --dry-run
  • Run init
  • Confirm required generated files exist
  • Confirm expected repo-local skills are installed
  • Run generated docs and skills checks from the target repo
  • Optionally smoke test feature add and feature status
  • Report the target path and verification evidence

This skill should not delete user-provided target repos. Temporary directories may be left in /tmp for inspection unless the user asks for cleanup.

Default workflow

  1. Choose one target variable. If the user provided a path, assign it to target; otherwise create a temporary directory:
target=/path/to/target-repo
# or:
target=$(mktemp -d /tmp/adgk-init-smoke.XXXXXX)
  1. Run dry-run from the kit checkout:
node bin/agentic-doc-governance.mjs init "$target" --dry-run
  1. Verify the dry-run output lists any newly added generated files or skills.
  2. Install into the target:
node bin/agentic-doc-governance.mjs init "$target"
  1. Confirm core generated files exist:
test -f "$target/AGENTS.md"
test -f "$target/.agentic-doc-governance.json"
test -f "$target/docs/canonical/agent-execution-contract.md"
test -f "$target/scripts/docs-integrity-check.mjs"
test -f "$target/scripts/skills-integrity-check.mjs"
  1. Confirm expected skills exist. Include any skills added in the current change:
test -f "$target/.codex/skills/governance-kit-operator/SKILL.md"
  1. Run target repo checks:
node "$target/scripts/docs-integrity-check.mjs" --root "$target" --check-generated
node "$target/scripts/skills-integrity-check.mjs" --root "$target"
  1. If the feature CLI changed, smoke test it from the kit checkout against the target:
node bin/agentic-doc-governance.mjs feature add FEAT-002 "Smoke Feature" --root "$target" --summary "Smoke test feature." --risk T3 --priority P3 --owner engineering
node bin/agentic-doc-governance.mjs feature status FEAT-002 --root "$target" --to IN_PROGRESS --note "Smoke test status update."
node "$target/scripts/docs-integrity-check.mjs" --root "$target" --check-generated
  1. Record the exact target path and commands run.

Output format

Report:

  • target repo path
  • dry-run result
  • installed file checks
  • installed skill checks
  • docs integrity result
  • skills integrity result
  • feature CLI smoke result, if run
  • blockers or residual risks

04 同仓库更多 Skills

l02162010
l02162010/agentic-doc-governance-kit

implementation-surface

Use when implementing or reviewing project-specific application code after feature lifecycle handoff.

★ 0
l02162010
l02162010/agentic-doc-governance-kit

governance-kit-operator

Use when installing, refreshing, or operating Agentic Doc Governance Kit in a target repo, including init dry-runs, generated governance files, feature lifecycle CLI usage, checks, and final user reports. Use this whenever the user asks an AI agent to set up this kit, apply it to another project, initialize governance docs, create governed feature work, or explain the operational workflow.

★ 0
l02162010
l02162010/agentic-doc-governance-kit

feature-readiness

Use when deciding whether a planned feature can move into implementation, including blocker analysis and artifact decisions.

★ 0
l02162010
l02162010/agentic-doc-governance-kit

feature-lifecycle

Use when adding, planning, updating, verifying, closing out, archiving, or relocating a project feature under the repo's documentation governance model.

★ 0
l02162010
l02162010/agentic-doc-governance-kit

feature-lifecycle

Example lifecycle skill.

★ 0
l02162010
l02162010/agentic-doc-governance-kit

governance-kit-skill-authoring

Use when creating, renaming, reviewing, or updating repo-local skills for Agentic Doc Governance Kit, including skill frontmatter, required sections, registry updates, generated footprint entries, README project shape, changelog notes, and skills integrity checks. Use this whenever the user asks to turn a workflow into a skill or add a skill to this kit.

★ 0