AGENT SKILL

project-check

Bring a worktree to the state where the full gate runs, and interpret what it reports.

License 许可
Apache-2.0
所属仓库
BiscuitBin/knarr
最近更新
2026-11-15
Stars
★ 1
Forks
0

01 前言 Front Matter

name
project-check
description
Bring a worktree to the state where the full gate runs, and interpret what it reports.

03 SKILL.md 正文

Run the full gate

  1. Read AGENTS.md. The Justfile is the only supported interface to the checks; do not assemble an equivalent pipeline by hand.
  2. Check the prerequisites exist: the pixi environment at .pixi/envs/default/bin (gleam, erlang, just, python, every gate tool) and the checksum-pinned binaries in .tools/bin (allium, ripsecrets, editorconfig-checker, rebar3). If any is missing, just initialize creates them. It downloads, so it is a network operation and needs explicit authorization before it runs, unless the task already grants it. It never stages, commits or pushes, and in a linked worktree it skips the hook step on its own.
  3. Run just check. The runner snapshots the worktree, runs each check recipe in order, and fails on the first recipe that changes any tracked or untracked-unignored file, even when that recipe passed.
  4. Read only the first failure. The recipes are ordered so that a later failure is often a consequence of an earlier one: env-check before the tools run, docs-check before agents-check, build before test.
  5. A report that a recipe changed the worktree is a defect in that recipe, not in the change under test. Checks are read-only; just fix is where mutation belongs.
  6. Hand a failing gate to the fix-quality skill rather than working around it.
  7. Confirm with git status --short that the worktree is clean before reporting success. just check ends with "All checks passed and the worktree is unchanged." when it is.

04 同仓库更多 Skills

BiscuitBin
BiscuitBin/knarr

witness

Independently witness that an Allium loop's convergence claim is true and was reached honestly. Use when the user wants to verify a loop's self-report, confirm tests really pass and no generated test was weakened, produce a convergence certificate or witness record, gate CI on a trustworthy signal, or check that an autonomous run did not cheat its way to green.

★ 1
BiscuitBin
BiscuitBin/knarr

weed

Weed the Allium garden. Find where Allium specifications and implementation code have diverged, and help resolve the divergences. Use when the user wants to check spec-code alignment, compare specs against implementation, audit for spec drift or violations, sync specs with code or code with specs, or verify whether the implementation matches what the spec says.

★ 1
BiscuitBin
BiscuitBin/knarr

tend

Tend the Allium garden. Use when the user wants to write, edit, update, add to, improve, clarify, refine, restructure, fix or migrate Allium specs. Covers adding entities, rules, triggers, surfaces and contracts, fixing syntax or validation errors, renaming or refactoring within specs, migrating specs to a new language version, and translating requirements into well-formed specifications. Pushes back on vague requirements.

★ 1
BiscuitBin
BiscuitBin/knarr

spec-change

Change an Allium specification and carry the change through the tests and the implementation.

★ 1
BiscuitBin
BiscuitBin/knarr

review-docs

Add or revise a handbook page so it satisfies the documentation contract and stays reachable.

★ 1
BiscuitBin
BiscuitBin/knarr

review-change

Review a change in this repository against its invariants, specifications, tests, and documentation contract.

★ 1