AGENT SKILL

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
所属仓库
thorwhalen/opsward
最近更新
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

  1. 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.
  2. Run .specify/extensions/adrkit/scripts/check.sh with those paths.
  3. Read the output. It is one or two marker-introduced sections, each followed by a single JSON document:
    • ==> adrkit:check — the CheckOutcome: 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 when ADRKIT_SNAPSHOT points 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.
  4. 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.
  5. 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, default docs/adr), ADRKIT_SNAPSHOT (evaluator snapshot bundle), ADRKIT_AS_OF (evaluation date, default today UTC), ADRKIT_CLI (explicit path to the adr entry point).

04 同仓库更多 Skills

thorwhalen
thorwhalen/opsward

my-skill

暂无简介

Skill与智能体开发
★ 0
thorwhalen
thorwhalen/opsward

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.

★ 0
thorwhalen
thorwhalen/opsward

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.

Skill与智能体开发
★ 0
thorwhalen
thorwhalen/opsward

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.

★ 0
thorwhalen
thorwhalen/opsward

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.

★ 0
thorwhalen
thorwhalen/opsward

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.

★ 0