AGENT SKILL

preflight

Lightweight "am I actually done?" checklist before calling /finalize. Prevents premature completion — catches skipped steps, missing behavior, and silent regressions. Runs before /finalize at the end of every /workflow tier (automatic on SMALL; the recommended CP-2 choice on MEDIUM/LARGE). Also standalone on "verify this", "am I done?", "preflight". Not for executing typecheck, lint, format, and tests (finalize); not for running the change and observing it work (live-verification, after finalize).

License 许可
MIT
最近更新
2026-11-03
Stars
★ 2
Forks
0

01 前言 Front Matter

name
preflight
description
Lightweight "am I actually done?" checklist before calling /finalize. Prevents premature completion — catches skipped steps, missing behavior, and silent regressions. Runs before /finalize at the end of every /workflow tier (automatic on SMALL; the recommended CP-2 choice on MEDIUM/LARGE). Also standalone on "verify this", "am I done?", "preflight". Not for executing typecheck, lint, format, and tests (finalize); not for running the change and observing it work (live-verification, after finalize).
argument-hint
[task or feature name]

02 资源文件 1

03 SKILL.md 正文

/preflight

Before you call done — actually check that you're done.

Usage

/preflight              # check current task
/preflight <task name>  # explicit scope

How It Works

Run through this checklist. Every item must be answered honestly — not optimistically.

┌──────────────────────────────────────────────────────────────────┐
│                        PREFLIGHT                                │
├──────────────────────────────────────────────────────────────────┤
│  □ REQUIREMENTS MET                                             │
│    Can I point to each requirement and show it's implemented?   │
│    Not "I think so" — actually trace it.                        │
│                                                                  │
│  □ PLAN STEPS COMPLETE (LARGE tasks)                           │
│    Is every task card in the plan marked done?                  │
│    Any skipped or partially completed steps?                    │
│                                                                  │
│  □ EDGE CASES HANDLED                                           │
│    What happens with: empty input, null, zero, max value,       │
│    concurrent requests, missing permissions, expired tokens?    │
│    Have the relevant ones been considered?                      │
│                                                                  │
│  □ SPEC DRIFT (when a spec exists)                              │
│    Locate specs/<slug>/ (same lookup as the /workflow router).  │
│    Compare the diff against each existing concern file —        │
│    both directions count. No spec → N/A, no commentary.         │
│                                                                  │
│  □ NO REGRESSIONS INTRODUCED                                    │
│    Did the change touch anything outside the stated scope?      │
│    Could it affect adjacent features or shared utilities?       │
│                                                                  │
│  □ NOTHING LEFT BEHIND                                          │
│    No console.log, no debug code, no TODO comments that         │
│    weren't there before, no commented-out blocks.               │
│                                                                  │
│  □ NO WORKAROUNDS                                               │
│    Did anything here bypass a convention, widen a type,         │
│    disable a rule, or special-case around a design just to      │
│    make it land? Report it — the user decides whether it        │
│    ships. Nothing bypassed → N/A, no commentary.                │
│                                                                 │
│  □ READY FOR FINALIZE                                           │
│    All the above are yes → call /finalize                       │
│    Any are no → fix first, then re-check                        │
└──────────────────────────────────────────────────────────────────┘

Drift Check

Runs only when the task has a spec. Locate it the way the /workflow router does: detect the package root, then check both scopes — <package-root>/specs/<slug>/ and <git-root>/specs/<slug>/ (fuzzy kebab-case match of the task subject; nearest match wins). No spec dir → mark N/A and move on, without comment.

Compare the implementation against each concern file that exists — a missing or scaffold-only file makes no claim, skip it:

Concern file Check the implementation against
prd.md requirements — work that lands in the Scope table's Out column, or inside a row of the Non-goal table, is drift: both are explicit exclusions. Work the In column merely does not mention is not. Goals are compared only when the task claims to complete the feature; a task that serves a subset of them is not drift
api.md contracts touched — shapes, error forms, external calls
fields.md source-to-UI mappings and transformations
quirks.md edge cases and failure modes the spec says are handled
implementation.md key files and patterns the spec says to follow

Both directions count. Code that violates a spec'd contract is drift; a spec gone stale because the implementation legitimately evolved is drift too. Scope stays at the task's spec dir — this is never a whole-specs/ staleness audit.

Findings are a soft gate. Report each divergence in the findings table (see Output) and let the user decide per finding — one batched question, not one at a time:

  • fix code — the spec is right; the implementation changes
  • update spec — reality is right; update the spec file visibly (never silently — that's technical-spec's standing rule)
  • accept — knowingly ship the divergence; record it in the output

Drift never blocks /finalize by itself — but an unreported divergence is a preflight failure like any other.

Common Rationalizations

Claim Reality
"I tested it manually, it works" Manual testing doesn't substitute for /finalize. Run it.
"I'll clean up the debug logs in a follow-up" They ship. Clean up now.
"The edge cases are unlikely" They happen in production. Consider them now.
"The plan steps were mostly done" Mostly done is not done.
"I only changed one line, nothing could break" One-line changes cause regressions too.
"It's a small workaround, I'll do it properly later" Later is a PR nobody opens. Report it; the user chooses.

Output

## Preflight: [task name]

□ Requirements met     ✓ / ✗ [notes]
□ Plan steps complete  ✓ / ✗ [notes]  (or N/A for SMALL/MEDIUM)
□ Edge cases handled   ✓ / ✗ [notes]
□ Spec drift           ✓ / ✗ / N/A [notes]  (N/A = no spec for this task)
□ No regressions       ✓ / ✗ [notes]
□ Nothing left behind  ✓ / ✗ [notes]
□ No workarounds       ✓ / ✗ / N/A [notes]  (N/A = nothing bypassed)

→ Ready for /finalize  [YES / NO — list blockers if NO]

When Spec drift is ✗, list the findings and collect one decision per row:

| concern file | spec says | implementation does | decision |
|---|---|---|---|
| api.md | error shape {code, msg} | throws bare string | fix code / update spec / accept |

Accepted findings stay in the output — they ship knowingly, not silently.

If any item is NO: fix it first. Do not proceed to /finalize with known gaps.

04 同仓库更多 Skills

jabworks
jabworks/agentic-toolkit

orphan

暂无简介

★ 2
jabworks
jabworks/agentic-toolkit

no-blurb

暂无简介

★ 2
jabworks
jabworks/agentic-toolkit

workflow

Routes any dev task into the right execution tier (Small/Medium/Large) and carries condux's operating rules — proportional effort, lazy skill loading, soft gates, implement-yourself-by-default.

★ 2
jabworks
jabworks/agentic-toolkit

usage-trace

Checks and manages durable, local usage capture — ingest, health status, and the opt-in limit snapshot — for Claude Code and Codex. Capture itself runs automatically at session start.

★ 2
jabworks
jabworks/agentic-toolkit

toolkit-skill-standards

Use when writing or reviewing a SKILL.md for jabworks/agentic-toolkit — frontmatter budgets, the trigger contract ("Use when…" description or when_to_use field), progressive disclosure into references/, and keeping a new description out of existing skills' trigger space. Triggers include "review this skill description", "write the frontmatter", "does this collide with an existing skill", "where should this content live". Not for scaffold/sync mechanics; use toolkit-foundry.

★ 2
jabworks
jabworks/agentic-toolkit

toolkit-research-frontier

Use when planning improvement work on jabworks/agentic-toolkit itself — open problems (trigger-collision automation, YAML-strict frontmatter checks, docs-catalog enforcement), existing assets, the next three concrete steps, and the four-front library-health campaign with commands and success criteria. Triggers include "let's improve our toolkit", "let's improve this repo", "what should we improve next", "toolkit roadmap", "open problems", "run the health campaign".

★ 2