@jakkrichm/create-nexus-devflow 2.1.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/bin/create-nexus-devflow.js +29 -5
- package/dist/bin/create-nexus-devflow.js.map +1 -1
- package/dist/lib/command-catalog.js +5 -2
- package/dist/lib/command-catalog.js.map +1 -1
- package/dist/lib/dashboard.js +1 -1
- package/dist/lib/discoveries.js +18 -6
- package/dist/lib/discoveries.js.map +1 -1
- package/dist/lib/ideas.js +2 -2
- package/dist/lib/ideas.js.map +1 -1
- package/dist/lib/project-metadata.d.ts +1 -1
- package/dist/lib/project-metadata.js +3 -2
- package/dist/lib/project-metadata.js.map +1 -1
- package/dist/lib/update.js +13 -5
- package/dist/lib/update.js.map +1 -1
- package/dist/lib/workflow-state.js +9 -6
- package/dist/lib/workflow-state.js.map +1 -1
- package/dist/scripts/prepare-template.js +10 -2
- package/dist/scripts/prepare-template.js.map +1 -1
- package/package.json +1 -1
- package/template/.agents/skills/10-define/SKILL.md +1 -1
- package/template/.agents/skills/adopt/SKILL.md +58 -5
- package/template/.agents/skills/brainstorm/SKILL.md +1 -1
- package/template/.agents/skills/devflow/SKILL.md +9 -7
- package/template/.agents/skills/discovery/SKILL.md +75 -150
- package/template/.agents/skills/doctor/SKILL.md +23 -16
- package/template/.agents/skills/feature/SKILL.md +1 -0
- package/template/.agents/skills/grill/SKILL.md +93 -0
- package/template/.agents/skills/implement/SKILL.md +2 -2
- package/template/.agents/skills/onboard/SKILL.md +18 -17
- package/template/.agents/skills/rollback/SKILL.md +1 -1
- package/template/.claude/skills/10-define/SKILL.md +3 -3
- package/template/.claude/skills/20-spec/SKILL.md +1 -2
- package/template/.claude/skills/30-plan/SKILL.md +1 -2
- package/template/.claude/skills/40-execute/SKILL.md +2 -2
- package/template/.claude/skills/50-verify/SKILL.md +2 -2
- package/template/.claude/skills/60-report/SKILL.md +2 -2
- package/template/.claude/skills/70-deliver/SKILL.md +2 -2
- package/template/.claude/skills/adopt/SKILL.md +191 -75
- package/template/.claude/skills/audit/SKILL.md +267 -133
- package/template/.claude/skills/autopilot/SKILL.md +226 -167
- package/template/.claude/skills/brainstorm/SKILL.md +62 -0
- package/template/.claude/skills/brief/SKILL.md +93 -92
- package/template/.claude/skills/check/SKILL.md +96 -76
- package/template/.claude/skills/ci/SKILL.md +140 -61
- package/template/.claude/skills/complete/SKILL.md +156 -101
- package/template/.claude/skills/convert-any-to-md/SKILL.md +2 -2
- package/template/.claude/skills/convert-any-to-md/references/setup.md +29 -0
- package/template/.claude/skills/convert-any-to-md/scripts/convert_any_to_md.py +487 -0
- package/template/.claude/skills/convert-any-to-md/scripts/requirements.txt +3 -0
- package/template/.claude/skills/debug/SKILL.md +124 -49
- package/template/.claude/skills/devflow/SKILL.md +18 -10
- package/template/.claude/skills/discovery/SKILL.md +65 -119
- package/template/.claude/skills/doctor/SKILL.md +195 -72
- package/template/.claude/skills/feature/SKILL.md +197 -152
- package/template/.claude/skills/fix/SKILL.md +41 -90
- package/template/.claude/skills/grill/SKILL.md +93 -0
- package/template/.claude/skills/idea/SKILL.md +2 -2
- package/template/.claude/skills/implement/SKILL.md +189 -46
- package/template/.claude/skills/onboard/SKILL.md +216 -85
- package/template/.claude/skills/overview/SKILL.md +44 -29
- package/template/.claude/skills/prototype/SKILL.md +82 -27
- package/template/.claude/skills/release/SKILL.md +119 -130
- package/template/.claude/skills/report-html/SKILL.md +2 -2
- package/template/.claude/skills/rollback/SKILL.md +123 -77
- package/template/.claude/skills/status/SKILL.md +109 -0
- package/template/.claude/skills/test/SKILL.md +2 -2
- package/template/.claude/skills/tests/SKILL.md +126 -0
- package/template/.claude/skills/try/SKILL.md +77 -65
- package/template/AGENTS.md +8 -7
- package/template/devflow/build-plan.md +8 -0
- package/template/devflow/context/ai-interaction.md +11 -0
- package/template/devflow/context/coding-standards.md +15 -1
- package/template/devflow/context/current-stage.md +1 -1
- package/template/devflow/decisions/.gitkeep +0 -0
- package/template/devflow/decisions/README.md +24 -0
- package/template/devflow/history/HISTORY.md +1 -1
- package/template/devflow/history/features/README.md +5 -0
- package/template/devflow/history/fixes/README.md +5 -0
- package/template/devflow/history/rollbacks/README.md +5 -0
- package/template/.agents/skills/00-explore/SKILL.md +0 -84
- package/template/.claude/skills/00-explore/SKILL.md +0 -84
|
@@ -1,141 +1,275 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: audit
|
|
3
|
-
description: "[
|
|
4
|
-
argument-hint: "{scope/path or lens: quality | security | performance | tests | full}"
|
|
3
|
+
description: "[devflow][B] Read-only code audit for a Blueprint project, except for the findings ledger it maintains at devflow/context/findings.md. Reviews the active feature, changed files, a selected path, or the full project through all concerns or a focused quality, security, performance, or tests lens. Use when the user runs /audit, invokes $audit, asks for a code or quality audit, security review, performance review, test quality review, dead-code or duplication check, vibe-coded project cleanup, or standards review."
|
|
5
4
|
---
|
|
6
5
|
|
|
7
|
-
# audit -
|
|
6
|
+
# audit - review code quality against the project standards
|
|
8
7
|
|
|
9
8
|
Where this sits in the workflow:
|
|
10
9
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
record)
|
|
15
|
-
```
|
|
10
|
+
/implement or /autopilot -> [audit] -> fixes or /complete
|
|
11
|
+
(code exists) (review + (repair quality issues
|
|
12
|
+
ledger) or close the feature)
|
|
16
13
|
|
|
17
|
-
`
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
-
|
|
73
|
-
-
|
|
74
|
-
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
14
|
+
`/check` proves behavior against the spec. `/doctor` checks Blueprint setup and
|
|
15
|
+
workflow health. This skill checks the code itself through either a broad review
|
|
16
|
+
or one focused lens: quality, security, performance, or tests.
|
|
17
|
+
|
|
18
|
+
It reviews code without changing it: it never edits source files, installs
|
|
19
|
+
dependencies, commits, merges, pushes, or starts product work. Its one write is
|
|
20
|
+
the findings ledger at `devflow/context/findings.md` (Step 4), the durable
|
|
21
|
+
record of findings and their status.
|
|
22
|
+
|
|
23
|
+
## Input
|
|
24
|
+
|
|
25
|
+
Treat scope and lens as separate controls. Arguments may appear in either order,
|
|
26
|
+
such as `/audit security current` or `/audit src/auth tests`.
|
|
27
|
+
|
|
28
|
+
Optional scope:
|
|
29
|
+
|
|
30
|
+
- no scope argument: use `current` when an active feature exists, otherwise use
|
|
31
|
+
`changed` when local changes exist, otherwise use `full`
|
|
32
|
+
- `current`: audit the active `current-feature.md`, every committed feature-branch
|
|
33
|
+
change from its merge base through `HEAD`, staged and unstaged changes,
|
|
34
|
+
untracked source files, and nearby code affected by the feature
|
|
35
|
+
- `changed`: audit staged, unstaged, and untracked source files plus nearby code
|
|
36
|
+
- `full`: audit all project-owned source, tests, and configuration while excluding
|
|
37
|
+
dependencies, generated files, build output, coverage output, caches, vendored
|
|
38
|
+
code, and minified assets unless the user explicitly includes them
|
|
39
|
+
- path or directory: audit that area and the tests or callers needed to understand it
|
|
40
|
+
|
|
41
|
+
Optional lens:
|
|
42
|
+
|
|
43
|
+
- no lens: review all four lenses
|
|
44
|
+
- `quality`: maintainability, duplication, dead code, consistency, complexity,
|
|
45
|
+
and standards drift
|
|
46
|
+
- `security`: authorization, input trust, injection, data exposure, secret
|
|
47
|
+
handling, and unsafe configuration
|
|
48
|
+
- `performance`: query, network, rendering, memory, payload, concurrency, and
|
|
49
|
+
unbounded-work risks
|
|
50
|
+
- `tests`: missing coverage for important logic, weak assertions, skipped or
|
|
51
|
+
focused tests, poor isolation, brittle mocks, and likely flakiness
|
|
52
|
+
|
|
53
|
+
`full` is always the full-project scope, not a lens. `/audit full` therefore runs
|
|
54
|
+
all lenses across the full project. When only a lens is supplied, select scope
|
|
55
|
+
with the normal no-scope rules. A focused pass may name one or more lenses. If
|
|
56
|
+
the request names multiple lenses, review their union and report them separately.
|
|
57
|
+
|
|
58
|
+
If the requested scope is unclear, pick the smallest useful scope and state it.
|
|
59
|
+
If the lens is unclear, use all lenses and state that choice.
|
|
60
|
+
|
|
61
|
+
## Step 1 - gather context
|
|
62
|
+
|
|
63
|
+
Read:
|
|
64
|
+
|
|
65
|
+
- `AGENTS.md`
|
|
66
|
+
- `devflow/context/project-overview.md`
|
|
67
|
+
- `devflow/context/coding-standards.md`
|
|
68
|
+
- `devflow/context/current-feature.md`
|
|
69
|
+
- `devflow/context/findings.md`, for existing IDs and statuses
|
|
70
|
+
- `devflow/context/ai-interaction.md`
|
|
71
|
+
- `devflow/build-plan.md`, when feature order matters
|
|
72
|
+
- git branch and working tree status
|
|
73
|
+
- relevant source files, tests, and configs for the chosen scope
|
|
74
|
+
|
|
75
|
+
For `current`, resolve the comparison base without network access:
|
|
76
|
+
|
|
77
|
+
1. Use a base branch declared by the active spec or project instructions.
|
|
78
|
+
2. Otherwise use the locally recorded remote default branch when available.
|
|
79
|
+
3. Otherwise use an existing local `main`, then `master`.
|
|
80
|
+
4. Find the merge base and inspect the committed delta through `HEAD`, then add
|
|
81
|
+
staged, unstaged, and untracked work.
|
|
82
|
+
5. If no reliable base exists, say so and use the active spec plus local changes.
|
|
83
|
+
Never claim that committed feature work was fully covered in that case.
|
|
84
|
+
|
|
85
|
+
Do not fetch or pull to discover the base. For `full`, state the excluded paths
|
|
86
|
+
before reviewing so generated or third-party code does not consume the audit.
|
|
87
|
+
|
|
88
|
+
Prefer `rg` and targeted file reads. Do not dump large files into the response.
|
|
89
|
+
|
|
90
|
+
## Step 2 - run available signals
|
|
91
|
+
|
|
92
|
+
Use existing commands only. Do not install tools.
|
|
93
|
+
|
|
94
|
+
Run or inspect only the signals relevant to the selected lens and scope:
|
|
95
|
+
|
|
96
|
+
- lint and typecheck commands when declared and relevant
|
|
97
|
+
- test command for the tests lens or when it directly validates a suspected risk
|
|
98
|
+
- build command when the selected lens needs compilation or bundle evidence
|
|
99
|
+
- existing security command for the security lens, when declared and locally runnable
|
|
100
|
+
- existing performance command for the performance lens, when declared and locally runnable
|
|
101
|
+
- targeted lightweight searches for the chosen lens, such as unused exports and
|
|
102
|
+
copied logic for quality, unsafe trust boundaries for security, repeated or
|
|
103
|
+
unbounded work for performance, and skipped or weak tests for tests
|
|
104
|
+
|
|
105
|
+
Do not run broad checks unrelated to a focused lens. If a useful command is
|
|
106
|
+
missing, report that as a gap. Do not invent a pass or claim that a focused
|
|
107
|
+
review covered the other lenses.
|
|
108
|
+
|
|
109
|
+
## Step 3 - review the code
|
|
110
|
+
|
|
111
|
+
For all lenses, ground findings in reachable code and project-specific
|
|
112
|
+
expectations. Apply only the selected lens or lenses:
|
|
113
|
+
|
|
114
|
+
- **Quality:** duplicated logic, dead or unused code, unreachable paths,
|
|
115
|
+
oversized modules, abstractions that do not pay for themselves, risky missing
|
|
116
|
+
abstractions, inconsistent patterns, and drift from the standards or spec.
|
|
117
|
+
- **Security:** missing authentication or authorization, client-controlled
|
|
118
|
+
ownership, injection, unsafe parsing or deserialization, sensitive-data
|
|
119
|
+
exposure, secret handling, insecure defaults, and trust-boundary mistakes.
|
|
120
|
+
Inspect existing dependency or scanner output when available, but never imply
|
|
121
|
+
that local manifest inspection is a current vulnerability scan.
|
|
122
|
+
- **Performance:** N+1 queries, repeated network or database work, unnecessary
|
|
123
|
+
rendering, blocking work on hot paths, unbounded loops or collections, memory
|
|
124
|
+
growth, oversized payloads, missing pagination, and unsafe concurrency. Mark
|
|
125
|
+
hypotheses as unverified when runtime or profiling evidence is missing.
|
|
126
|
+
- **Tests:** important logic without coverage when a test command exists, weak
|
|
127
|
+
assertions, tests that only mirror implementation, excessive mocking, shared
|
|
128
|
+
state, time or order dependence, skipped or focused tests, placeholder tests,
|
|
129
|
+
swallowed failures, and missing browser or integration evidence where behavior
|
|
130
|
+
crosses a real boundary. Never invent a coverage percentage.
|
|
131
|
+
|
|
132
|
+
Do not nitpick harmless style differences unless they signal drift from the local
|
|
133
|
+
patterns. Prefer a short list of real findings over a broad list of guesses.
|
|
134
|
+
|
|
135
|
+
Do not broaden a focused pass because another category might be interesting.
|
|
136
|
+
Do not report or call out non-critical concerns from omitted lenses, even as
|
|
137
|
+
suggestions for a later audit. If an obvious P0 is directly encountered outside
|
|
138
|
+
the selected lens, report and record it as an out-of-lens critical risk, but do
|
|
139
|
+
not continue searching that other lens.
|
|
140
|
+
|
|
141
|
+
If a possible secret is found, never quote its value, paste the matching source
|
|
142
|
+
line, or include raw command output containing it. Report only the redacted secret
|
|
143
|
+
category, file, line, risk, and remediation. Redact sensitive values from all
|
|
144
|
+
audit evidence before responding.
|
|
145
|
+
|
|
146
|
+
## Step 4 - update the findings ledger
|
|
147
|
+
|
|
148
|
+
`devflow/context/findings.md` is the durable record of findings. Chat reports
|
|
149
|
+
do not survive a context clear; the ledger does. It is the only file this skill
|
|
150
|
+
writes. If it is missing (an older install), create it with a `# Findings`
|
|
151
|
+
heading first.
|
|
152
|
+
|
|
153
|
+
**The ledger never scopes the review.** Review the code fresh in Step 3, then
|
|
154
|
+
record what the review found. Working from the open findings as a checklist and
|
|
155
|
+
verifying only those is the exact failure this file exists to prevent: a repair
|
|
156
|
+
can introduce a new defect that no existing entry points at.
|
|
157
|
+
|
|
158
|
+
One block per finding. The header line is the machine-readable contract and must
|
|
159
|
+
keep this exact shape; the prose below it is for humans and may vary:
|
|
160
|
+
|
|
161
|
+
### F-03 [P0] open - Retained auth volumes carry the run label
|
|
162
|
+
|
|
163
|
+
**File:** ops/agent-proof/compose.yaml:86
|
|
164
|
+
**Found:** 2026-07-21 by /audit (scope: current; lens: security)
|
|
165
|
+
**Why it matters:** ...
|
|
166
|
+
**Suggested fix:** ...
|
|
167
|
+
**Resolution:**
|
|
168
|
+
|
|
169
|
+
IDs are sequential within the ledger (`F-01`, `F-02`, ...), never reused and
|
|
170
|
+
never renumbered while their entries live here, even after a finding closes.
|
|
171
|
+
Bare IDs are scoped to the live ledger: `/complete` archives resolved entries
|
|
172
|
+
under a work-item prefix (feature 12's `F-03` becomes `12/F-03`), and that
|
|
173
|
+
prefixed form is the permanent reference. A later ledger that has emptied and
|
|
174
|
+
reset starts at `F-01` again without colliding. Severity reuses the P0-P3
|
|
175
|
+
scheme from Step 5; only P0 and P1 block `/complete`. Status is one of:
|
|
176
|
+
|
|
177
|
+
| Status | Meaning | Blocks P0/P1 at /complete |
|
|
178
|
+
|---|---|---|
|
|
179
|
+
| `unverified` | Suspected, no confirming evidence yet | No |
|
|
180
|
+
| `open` | Confirmed, not yet repaired | Yes |
|
|
181
|
+
| `fixed` | Repaired, not yet re-reviewed | Yes |
|
|
182
|
+
| `closed` | Repaired and re-reviewed against the new code | No |
|
|
183
|
+
| `accepted` | Not fixing, by the user's explicit decision; reason recorded in Resolution | No |
|
|
184
|
+
| `invalid` | Re-examination proved the finding wrong; evidence recorded in Resolution | No |
|
|
185
|
+
|
|
186
|
+
After the review:
|
|
187
|
+
|
|
188
|
+
- Append each new confirmed finding as `open` with the next sequential ID, one
|
|
189
|
+
past the highest ID present in the ledger (entries carried forward from
|
|
190
|
+
earlier work count; a fresh ledger starts at `F-01`).
|
|
191
|
+
- Record an unverified risk worth tracking as `unverified`. It is a lead, not a
|
|
192
|
+
defect, and never gates a merge.
|
|
193
|
+
- Update the entries this pass re-examined: correct the status or severity and
|
|
194
|
+
note the evidence in **Resolution**.
|
|
195
|
+
- Move a `fixed` finding to `closed` only when all three hold: this pass's
|
|
196
|
+
reviewed set included the finding's file, re-examining the repaired code
|
|
197
|
+
confirmed the original defect is gone and the repair introduced no new one,
|
|
198
|
+
and the report names the finding as closed. An unrelated new finding in the
|
|
199
|
+
same file gets its own entry and does not keep the repaired one open. Never
|
|
200
|
+
close a finding implicitly.
|
|
201
|
+
- Set `accepted` only on the user's explicit decision in the current session,
|
|
202
|
+
and record their reason. Never accept a finding on their behalf.
|
|
203
|
+
- Set `invalid` only when re-examination shows the finding was wrong, and
|
|
204
|
+
record that evidence in **Resolution**. It is a review verdict (or the
|
|
205
|
+
user's explicit call), never a shortcut past the gate for blocked work.
|
|
206
|
+
|
|
207
|
+
`fixed` blocking `/complete` is deliberate: a repair is not done when the code
|
|
208
|
+
changes, it is done when a review has looked at the result. `/implement` marks
|
|
209
|
+
repairs `fixed`; only a review pass moves them to `closed`.
|
|
210
|
+
|
|
211
|
+
## Step 5 - report findings
|
|
212
|
+
|
|
213
|
+
Lead with findings, ordered by severity, using the IDs the ledger assigned:
|
|
214
|
+
|
|
215
|
+
F-04 [P1] Title
|
|
216
|
+
File: path:line
|
|
217
|
+
Why it matters: ...
|
|
218
|
+
Suggested fix: ...
|
|
219
|
+
|
|
220
|
+
Severity:
|
|
221
|
+
|
|
222
|
+
- `P0` - data loss, security break, or code that cannot ship
|
|
223
|
+
- `P1` - likely bug, broken contract, missing guard, or high-risk duplication
|
|
224
|
+
- `P2` - maintainability issue worth fixing before the feature closes
|
|
225
|
+
- `P3` - small cleanup, consistency issue, or follow-up candidate
|
|
226
|
+
|
|
227
|
+
Use P0 or P1 only when a concrete code path, violated contract or security
|
|
228
|
+
boundary, failing command or test, or reproducible behavior confirms the risk. If
|
|
229
|
+
the evidence is incomplete, list it under `Unverified risks` with the missing
|
|
230
|
+
validation instead of presenting it as a confirmed high-severity finding.
|
|
231
|
+
|
|
232
|
+
If there are no findings, say that clearly for the selected lens and name any
|
|
233
|
+
remaining risk or missing signal, such as "no test command declared" or
|
|
234
|
+
"browser flow not audited."
|
|
235
|
+
|
|
236
|
+
Then include:
|
|
237
|
+
|
|
238
|
+
- ledger changes: findings added, updated, or closed this pass, by ID
|
|
239
|
+
- commands run and results
|
|
240
|
+
- selected scope
|
|
241
|
+
- selected lens or lenses
|
|
242
|
+
- base branch, merge base, and commit range for `current`, when available
|
|
243
|
+
- files or directories reviewed
|
|
244
|
+
- generated, third-party, or otherwise excluded paths
|
|
245
|
+
- applicable standards checked
|
|
246
|
+
- browser or runtime evidence inspected, when relevant
|
|
247
|
+
- skipped, focused, or placeholder tests found, when the tests lens was selected
|
|
248
|
+
- checks that were unavailable or could not run
|
|
249
|
+
- suggested repair order
|
|
250
|
+
|
|
251
|
+
For `full`, say whether coverage was complete or partial. Never label a partial
|
|
252
|
+
review as a full-project audit.
|
|
253
|
+
|
|
254
|
+
## Rules
|
|
255
|
+
|
|
256
|
+
- The findings ledger is the only file this skill writes. Never edit, format,
|
|
257
|
+
install, commit, merge, push, or delete anything else.
|
|
258
|
+
- A focused lens is not a broad audit. State what was not reviewed and never
|
|
259
|
+
imply that omitted lenses passed.
|
|
260
|
+
- The ledger reports status; it never defines what the review looks at. Do not
|
|
261
|
+
turn open findings into the review checklist.
|
|
262
|
+
- Never fetch, pull, or run network-backed audit tools without explicit approval.
|
|
263
|
+
- Never reproduce secrets or sensitive values in findings or command output.
|
|
264
|
+
- Findings first. Keep summaries short.
|
|
265
|
+
- Ground every finding in a file path and line number when possible.
|
|
266
|
+
- Avoid speculative rewrites. Recommend the smallest fix that removes the risk.
|
|
267
|
+
- Respect existing project patterns over generic advice.
|
|
268
|
+
- Do not require perfection. The goal is code that is understandable, consistent,
|
|
269
|
+
testable where it matters, and safe to keep building on.
|
|
270
|
+
|
|
271
|
+
## Formatting
|
|
272
|
+
|
|
273
|
+
Format the output to match the project's conventions in
|
|
274
|
+
`devflow/context/ai-interaction.md`: concise, scannable markdown, with lists for
|
|
275
|
+
enumerations and tables for matrices rather than dense paragraphs.
|