AGENT SKILL

drwil-audit

Analyze the repository (actual scoping, code, tests) to detect spec drift, dead code, security blind spots and test gaps, and produce docs/audit-risks.md. Use for a health review before a key milestone or on request.

License 许可
MIT
所属仓库
wdubilly/drwil
最近更新
2026-11-15
Stars
★ 0
Forks
0

01 前言 Front Matter

name
drwil-audit
description
Analyze the repository (actual scoping, code, tests) to detect spec drift, dead code, security blind spots and test gaps, and produce docs/audit-risks.md. Use for a health review before a key milestone or on request.

03 SKILL.md 正文

Recipe: docs/recipes/audit-risks-and-debt.md. Reads inputs via .drwil/ia-first.json (briefs under dirs.projects, dirs.contracts, code under the declared layers) rather than hardcoded paths. Generates or updates docs/audit-risks.md (to create — RSK-N table + detail + next step). Never in CI or at commit time: an on-demand audit, not a check. A requested fix ("Fix RSK-X") must first go through a scoping brief if it touches code not already covered (QUA-016).

04 同仓库更多 Skills

wdubilly
wdubilly/drwil

drwil-progress

Generate a static HTML dashboard (project progress, contract coverage) with nothing to deploy. Use for a quick overview before a meeting, resuming a project, or a review.

★ 0
wdubilly
wdubilly/drwil

drwil-usage

Measure the tokens consumed per workstream and record the closing workstream's line in .drwil/usage.jsonl. Use when closing a workstream, or when asked what a workstream cost, to feed the dashboard and the analysis reports.

★ 0
wdubilly
wdubilly/drwil

drwil-start

Start a workstream, or a queue of workstreams, with one human gesture — open a poll of the scoped briefs; the human's answer, read by the tool, moves governance to BUILD (when several briefs are chosen, the next ones are queued and started by the agent after each closing). Use when the human wants to start implementing one or several briefs.

★ 0
wdubilly
wdubilly/drwil

drwil-scope

At the end of a scoping pushed (brief or intention committed on a scoping branch, its PR open), set its PR to automatic merge with the tool, without a poll — the automatic merge is the default behaviour. Use when a scoping is pushed and its PR opened, or when the human runs /drwil-scope.

★ 0
wdubilly
wdubilly/drwil

run-locally

Run the project locally for development — prerequisites, success signals, known pitfalls on first startup.

★ 0
wdubilly
wdubilly/drwil

refactor-without-breaking

Split or restructure existing code without changing its behavior — characterization tests first, small committed steps, bugs found committed separately. Use for every refactor.

★ 0