opsward-maintain
Check documentation and AI setup for staleness, drift, or inconsistency. Use when the user asks to maintain, refresh, or update project docs and AI configuration.
- License 许可
- MIT
- 最近更新
- 2026-11-09
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- speckit-adrkit-check
- metadata
- { "author": "Mark Beacom (@mbeacom)", "source": "adrkit:commands/check.md" }
- description
- Check a produced plan against the decisions that govern it. Read-only.
- compatibility
- Requires spec-kit project structure with .specify/ directory
03 SKILL.md 正文
adrkit — check this plan
Runs after a plan exists, and answers one question: does this plan sit inside the decisions already made, or does it quietly cross one?
This is the command the optional after_plan hook offers to run.
User Input
$ARGUMENTS
Steps
- Treat any arguments as the repo-relative paths this plan intends to touch. Pass them — the check is only as sharp as the paths it is given. With no arguments it falls back to the plan artifact itself.
- Run
.specify/extensions/adrkit/scripts/check.shwith those paths. - Read the output. It is one or two marker-introduced sections, each followed
by a single JSON document:
==> adrkit:check— theCheckOutcome: which decisions govern these paths, and findings for any changed ADR. Always present.==> adrkit:evaluate— the deterministic evaluator's routing report for this plan. Present only whenADRKIT_SNAPSHOTpoints at an offline snapshot bundle. When it is absent, the script says so on stderr; that is an omission you have been told about, not a check that passed.
- Report back, in the plan's own terms:
- Every governing decision the plan touches, named by id.
- Any place the plan departs from one. Say so explicitly. A departure that is deliberate and recorded is fine; a departure nobody noticed is the thing this catches.
- If the evaluator ran, its routing outcome and any escalation trigger. The evaluator routes; it does not approve. Do not read a clean route as sign-off.
- If the plan does cross a decision, the next step is
/speckit.adrkit.draft— record the new decision rather than letting the plan silently overrule the old one.
Notes
- Read-only, and that is load-bearing rather than incidental: this command is reachable from a lifecycle hook, so it must never write.
- Exit code 1 means findings exist (corpus errors, or the evaluator returned the proposal). The report is still complete. Exit code 2 is a usage error.
- Configuration:
ADRKIT_DIR(corpus, defaultdocs/adr),ADRKIT_SNAPSHOT(evaluator snapshot bundle),ADRKIT_AS_OF(evaluation date, default today UTC),ADRKIT_CLI(explicit path to theadrentry point).
04 同仓库更多 Skills
my-skill
暂无简介
opsward
Run opsward to assess and improve this project's AI agent setup. Use when the user says 'opsward', 'check my setup', 'improve my AI config', or wants a full audit and remediation.
opsward-subagents
Decide which of a repo's skills should also run as subagents (in their own context), declare it in each skill's frontmatter, and generate or refresh the twin agent files with opsward. Use when a skill does bulky or read-heavy work whose output should stay out of the main context, when a skill needs a tool restriction or a cheaper model, when a hand-written agent duplicates a skill, when `opsward maintain` reports a `subagent_twin` finding, or when asked "should this skill be a subagent", "make this skill usable as a subagent", "generate agents from skills", or to sweep a repo for skill/agent pairs. Also usable as a subagent itself.
opsward-generate
Generate missing AI setup artifacts for this project. Use when the user asks to scaffold, create, or bootstrap CLAUDE.md, docs, skills, or agent configuration.
opsward-diagnose
Diagnose the health of this project's AI agent setup. Use when the user asks to check, audit, or score the project's CLAUDE.md, skills, docs, or agent configuration.
opsward
Run opsward to assess and improve this project's AI agent setup. Use when the user says 'opsward', 'check my setup', 'improve my AI config', or wants a full audit and remediation.