@webpresso/opencode-plugin 3.1.11 → 3.1.13
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 +4 -1
- package/index.js +13 -1
- package/package.json +3 -1
- package/plugin-skill-ownership.json +84 -0
- package/skills/autopilot/SKILL.md +39 -0
- package/skills/autoresearch/SKILL.md +49 -0
- package/skills/best-practice-research/SKILL.md +89 -0
- package/skills/browse/SKILL.md +25 -0
- package/skills/claude/SKILL.md +154 -0
- package/skills/codex/SKILL.md +79 -0
- package/skills/deep-research/SKILL.md +258 -0
- package/skills/design-review/SKILL.md +26 -0
- package/skills/devex-review/SKILL.md +28 -0
- package/skills/fix/SKILL.md +129 -0
- package/skills/goal/SKILL.md +27 -0
- package/skills/hooks-doctor/SKILL.md +78 -0
- package/skills/lore-protocol/SKILL.md +84 -0
- package/skills/opencode-go/SKILL.md +106 -0
- package/skills/plan-ceo-review/SKILL.md +27 -0
- package/skills/plan-design-review/SKILL.md +27 -0
- package/skills/plan-devex-review/SKILL.md +19 -0
- package/skills/plan-eng-review/SKILL.md +24 -0
- package/skills/plan-refine/SKILL.md +49 -0
- package/skills/plan-refine/references/full-methodology.md +645 -0
- package/skills/ralplan/SKILL.md +50 -0
- package/skills/team/SKILL.md +60 -0
- package/skills/tech-debt/SKILL.md +79 -0
- package/skills/testing-philosophy/SKILL.md +53 -0
- package/skills/testing-philosophy/references/full-testing-philosophy.md +523 -0
- package/skills/tph/SKILL.md +35 -0
- package/skills/verify/SKILL.md +209 -0
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: skill
|
|
3
|
+
slug: verify
|
|
4
|
+
title: Verify
|
|
5
|
+
status: active
|
|
6
|
+
scope: repo
|
|
7
|
+
applies_to: [agents]
|
|
8
|
+
related: [testing-philosophy, tph]
|
|
9
|
+
created: "2026-05-07"
|
|
10
|
+
last_reviewed: "2026-07-13"
|
|
11
|
+
name: verify
|
|
12
|
+
description: "Post-implementation quality gate: run checks, TPH audit, cleanup, docs, proof."
|
|
13
|
+
argument-hint: "<target> [--full] where target is: package|file|plan-slug|all"
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Verify
|
|
17
|
+
|
|
18
|
+
Post-implementation quality gate. Run after implementation exists, before claiming `done`.
|
|
19
|
+
|
|
20
|
+
`/fix` owns reproduction, root-cause analysis, and the minimal repair. `/verify` owns the broader question: **is this work actually complete, integrated, and free of stale garbage?**
|
|
21
|
+
|
|
22
|
+
## Iron law — evidence before claims
|
|
23
|
+
|
|
24
|
+
No completion claim without fresh verification evidence.
|
|
25
|
+
|
|
26
|
+
Before saying `done`, `fixed`, `passes`, or `clean`:
|
|
27
|
+
|
|
28
|
+
1. Identify the command or log that proves the claim.
|
|
29
|
+
2. Run it now, or cite the fresh log from the just-completed run.
|
|
30
|
+
3. Read the exit code and summary — do not infer from partial output.
|
|
31
|
+
4. State the actual result, including the log path when the repo records one.
|
|
32
|
+
5. If another agent made the change, inspect the diff yourself before repeating the claim.
|
|
33
|
+
|
|
34
|
+
Not sufficient: "should pass", "looks correct", lint-only evidence for runtime claims, or another agent's success report without independent verification.
|
|
35
|
+
|
|
36
|
+
## Usage
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
/verify <target>
|
|
40
|
+
/verify <target> --full
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
`<target>` is a file path, package name, blueprint slug, or `all`.
|
|
44
|
+
|
|
45
|
+
Follow the repo's current routing and command surface:
|
|
46
|
+
|
|
47
|
+
- use repo-owned quality wrappers first
|
|
48
|
+
- use injected quality-tool routing when present
|
|
49
|
+
- use bounded large-output tooling when the repo instructs it
|
|
50
|
+
- reuse fresh logs instead of re-running broad commands just to inspect output
|
|
51
|
+
|
|
52
|
+
## Folded health dashboard
|
|
53
|
+
|
|
54
|
+
`/health` is folded into this quality gate. When the user asks for repo health,
|
|
55
|
+
run the available repo facades only as far as needed, then return a concise
|
|
56
|
+
scorecard: score, pass/fail table, top risks, skipped checks with reasons, and
|
|
57
|
+
the next command that most improves confidence.
|
|
58
|
+
|
|
59
|
+
## Folded testing-philosophy gate
|
|
60
|
+
|
|
61
|
+
`/tph` is folded into this quality gate. Every `/verify` run must apply the
|
|
62
|
+
Testing Philosophy Helper, not leave test-quality review as an optional separate
|
|
63
|
+
workflow:
|
|
64
|
+
|
|
65
|
+
1. Load the `tph`/`testing-philosophy` skill guidance before judging changed tests.
|
|
66
|
+
2. Run the repo audit when available:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
wp audit test-smells
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
3. Treat TPH findings as verification findings: over-mocking, weak assertions,
|
|
73
|
+
tautologies, implementation-only spy assertions, wrong test placement, or
|
|
74
|
+
missing integration/E2E coverage can block a `done` or `merge-ready` claim.
|
|
75
|
+
4. If no tests changed, still run or explicitly cite the fresh TPH audit result
|
|
76
|
+
and state that no test-quality diff review was needed.
|
|
77
|
+
|
|
78
|
+
## Phase 0 — Scope and evidence map
|
|
79
|
+
|
|
80
|
+
1. Identify target type (file / package / blueprint slug / all).
|
|
81
|
+
2. Map each claim you plan to make to the exact command or log that proves it.
|
|
82
|
+
3. If the target is a blueprint slug, run the repo's blueprint show/audit surface and record the acceptance boxes that still need proof.
|
|
83
|
+
|
|
84
|
+
## Phase 1 — Governance gates
|
|
85
|
+
|
|
86
|
+
Run only the gates that apply to the diff:
|
|
87
|
+
|
|
88
|
+
- repo SSOT / schema / config changes → the repo's dedicated check
|
|
89
|
+
- docs or markdown changes → the repo's docs / markdown validation surface
|
|
90
|
+
- blueprint target → the repo's blueprint audit surface
|
|
91
|
+
- agent-surface / catalog changes → the repo's agent or catalog audit surface
|
|
92
|
+
|
|
93
|
+
Hard stop on any failure.
|
|
94
|
+
|
|
95
|
+
## Phase 2 — Surface verification
|
|
96
|
+
|
|
97
|
+
Run the narrowest checks that prove the touched behavior:
|
|
98
|
+
|
|
99
|
+
- targeted lint
|
|
100
|
+
- targeted typecheck
|
|
101
|
+
- targeted tests
|
|
102
|
+
- build / e2e / package checks only when the change requires them
|
|
103
|
+
|
|
104
|
+
Rules:
|
|
105
|
+
|
|
106
|
+
- Prefer repo wrappers over raw underlying tools.
|
|
107
|
+
- Reuse fresh logs if the runner auto-saves them.
|
|
108
|
+
- Never claim broader correctness than the commands actually proved.
|
|
109
|
+
- If the repo documents a "full QA" bookend, reserve it for the final broad pass rather than every iteration.
|
|
110
|
+
|
|
111
|
+
## Phase 3 — Cross-surface impact scan
|
|
112
|
+
|
|
113
|
+
Ask:
|
|
114
|
+
|
|
115
|
+
- Did the change alter a public/shared export, type, config shape, command, install path, setup path, update path, operator guidance, or generated surface?
|
|
116
|
+
- Do consumers, mocks, fixtures, docs, help text, generated instruction templates, or skill/catalog references still mention the old shape?
|
|
117
|
+
- Does another package, blueprint, or agent surface need to be updated in the same change?
|
|
118
|
+
|
|
119
|
+
For command-surface, install/setup/update, or operator-guidance changes, explicitly scan affected docs/help/instruction surfaces before proceeding. Include, at minimum:
|
|
120
|
+
|
|
121
|
+
- CLI help text
|
|
122
|
+
- docs/guides
|
|
123
|
+
- generated instruction templates and checked-in generated instruction copies
|
|
124
|
+
- skill text and catalog references
|
|
125
|
+
|
|
126
|
+
Hard stop if a shared contract changed and consumers were not updated.
|
|
127
|
+
|
|
128
|
+
## Phase 4 — Test quality and behavioral audit
|
|
129
|
+
|
|
130
|
+
The passing test suite is necessary, not sufficient.
|
|
131
|
+
|
|
132
|
+
Check that:
|
|
133
|
+
|
|
134
|
+
- the new or changed tests would fail against the old behavior
|
|
135
|
+
- mocks stay at real external boundaries
|
|
136
|
+
- assertions prove the intended behavior rather than incidental implementation details
|
|
137
|
+
- mixed/partial/error-path coverage exists where the feature demands it
|
|
138
|
+
- UX or operator-facing flows include graceful-degradation coverage when applicable
|
|
139
|
+
|
|
140
|
+
Run the folded TPH gate for every verification target. At minimum, execute `wp audit test-smells` when available and inspect changed tests against the `testing-philosophy` checklist. Add E2E or integration evidence when the change touches user/operator-facing workflows, batch/list behavior, graceful degradation, or other fidelity-sensitive paths.
|
|
141
|
+
|
|
142
|
+
## Phase 5 — Complexity, compatibility, and dead-code sweep
|
|
143
|
+
|
|
144
|
+
Before claiming done:
|
|
145
|
+
|
|
146
|
+
- remove stale compat aliases and "temporary" branches introduced by the change
|
|
147
|
+
- verify no suppressions were added
|
|
148
|
+
- verify no production `any` slipped in except an explicitly allowed repo test idiom
|
|
149
|
+
- justify every new exported/helper surface with a real consumer or test
|
|
150
|
+
- run the repo's dead-code / dependency checks when the change broadened public surface or added new files
|
|
151
|
+
|
|
152
|
+
This phase exists to catch the garbage that often slips in beside otherwise-correct work.
|
|
153
|
+
|
|
154
|
+
## Phase 6 — Outside-model approval gate
|
|
155
|
+
|
|
156
|
+
Before claiming merge-ready, obtain outside-voice model approvals unless the
|
|
157
|
+
user explicitly asked for a different approval count or reviewer mix.
|
|
158
|
+
|
|
159
|
+
Default policy:
|
|
160
|
+
|
|
161
|
+
- Require **two extra model approvals** by default, but at most **one OpenCode Go reviewer** is required unless the user explicitly asks for multiple OpenCode models.
|
|
162
|
+
- If the user asks for more, fewer, zero, or specific reviewers, follow that
|
|
163
|
+
explicit instruction and report the chosen requirement.
|
|
164
|
+
- These approvals are model outside-voice approvals, not a substitute for
|
|
165
|
+
required human GitHub reviews or branch-protection approvals.
|
|
166
|
+
|
|
167
|
+
Reviewer preference:
|
|
168
|
+
|
|
169
|
+
- When running from Codex, prefer **Claude + one OpenCode Go reviewer**.
|
|
170
|
+
- When running from Claude, prefer **Codex + one OpenCode Go reviewer**.
|
|
171
|
+
- When Codex/Claude outside voice is unavailable, use **one OpenCode Go
|
|
172
|
+
reviewer** if OpenCode is logged in.
|
|
173
|
+
- Prefer the repo's outside-voice skills instead of hand-rolled commands:
|
|
174
|
+
`$agent-kit:claude`, `$agent-kit:codex`, and one OpenCode Go reviewer
|
|
175
|
+
skills such as `$agent-kit:opencode-go`, `$agent-kit:qwen`,
|
|
176
|
+
`$agent-kit:deepseek`, `$agent-kit:glm`, `$agent-kit:kimi`,
|
|
177
|
+
`$agent-kit:minimax`, or `$agent-kit:mimo`.
|
|
178
|
+
|
|
179
|
+
Approval evidence requirements:
|
|
180
|
+
|
|
181
|
+
- For blueprint lifecycle approval workflows, run `wp review gate <blueprint-slug> --target HEAD --json`
|
|
182
|
+
first so exact-SHA reusable evidence and approval frontmatter are handled
|
|
183
|
+
transactionally. Use `wp review log` / `wp review read` for focused ledger
|
|
184
|
+
inspection or manual evidence recording.
|
|
185
|
+
- Each outside reviewer must return a clear `APPROVED`/`BLOCKED` (or equivalent)
|
|
186
|
+
verdict with enough evidence to identify what it reviewed.
|
|
187
|
+
- Record outside approval evidence as PR comments when a PR exists.
|
|
188
|
+
- Each PR comment must include the approving model/tool name, provider/family
|
|
189
|
+
when known, verdict, reviewed commit or branch, and any blockers or caveats.
|
|
190
|
+
- If there is no PR yet, record the same evidence in the final Verify report and
|
|
191
|
+
add the PR comments once the PR exists before calling the PR merge-ready.
|
|
192
|
+
- If an outside reviewer is unavailable (not installed, not logged in, missing
|
|
193
|
+
model, timeout after the reviewer skill's allowed retry path), do not silently
|
|
194
|
+
count it. Try the next preferred reviewer. If the required count still cannot
|
|
195
|
+
be met, report the exact approval gap and say the work is **not merge-ready**.
|
|
196
|
+
|
|
197
|
+
## Phase 7 — Final completion statement
|
|
198
|
+
|
|
199
|
+
Report:
|
|
200
|
+
|
|
201
|
+
- what was verified
|
|
202
|
+
- which commands/logs prove it
|
|
203
|
+
- which docs/help/instruction surfaces were refreshed when command or operator guidance changed
|
|
204
|
+
- which outside models approved it, with PR comment links when a PR exists
|
|
205
|
+
- what remains intentionally out of scope
|
|
206
|
+
|
|
207
|
+
When catalog assets, generated instruction templates, or checked-in generated instruction copies changed, include the repo's public-package-safety or package-surface leak checks in the verification evidence.
|
|
208
|
+
|
|
209
|
+
If any required check is missing, the correct result is **not done yet**, not a softer claim.
|