@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,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: skill
|
|
3
|
+
slug: ralplan
|
|
4
|
+
title: Ralplan Consensus Planning
|
|
5
|
+
status: active
|
|
6
|
+
scope: repo
|
|
7
|
+
applies_to: [agents]
|
|
8
|
+
related: [plan-refine, plan-eng-review, plan-ceo-review, plan-design-review, plan-devex-review]
|
|
9
|
+
created: "2026-07-13"
|
|
10
|
+
last_reviewed: "2026-07-13"
|
|
11
|
+
name: ralplan
|
|
12
|
+
description: "Consensus planning gate for plan-refine"
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# Ralplan Consensus Planning
|
|
16
|
+
|
|
17
|
+
Use when the user invokes `$ralplan`, asks for RALPLAN, or wants consensus planning before execution.
|
|
18
|
+
|
|
19
|
+
`ralplan` is an agent-kit planning gate, not an implementation lane. It applies consensus review to a durable plan before execution starts.
|
|
20
|
+
|
|
21
|
+
## Workflow
|
|
22
|
+
|
|
23
|
+
1. Create or identify the durable blueprint or plan artifact that will own the work.
|
|
24
|
+
2. Run the `plan-refine` methodology against that artifact: verify local code facts, verify external claims when relevant, sharpen acceptance criteria, split independent work, and lock verification gates.
|
|
25
|
+
3. Apply the relevant review lenses before execution:
|
|
26
|
+
- `plan-eng-review` for architecture, sequencing, tests, and rollout risk.
|
|
27
|
+
- `plan-ceo-review` when scope, customer value, or sequencing tradeoffs matter.
|
|
28
|
+
- `plan-design-review` when UI/UX is material.
|
|
29
|
+
- `plan-devex-review` when docs, CLI/API ergonomics, onboarding, or migration risk is material.
|
|
30
|
+
4. Consolidate the reviews into one decision record with:
|
|
31
|
+
- decision and drivers
|
|
32
|
+
- alternatives considered
|
|
33
|
+
- material corrections
|
|
34
|
+
- implementation tasks and dependencies
|
|
35
|
+
- verification gates
|
|
36
|
+
- residual risks or blockers
|
|
37
|
+
5. Stop at an approved plan or an explicit blocker. Do not edit implementation code from this skill unless the user explicitly changes the task from planning to execution.
|
|
38
|
+
|
|
39
|
+
## Output
|
|
40
|
+
|
|
41
|
+
Return a concise consensus plan with:
|
|
42
|
+
|
|
43
|
+
- verdict: ready / ready with edits / blocked
|
|
44
|
+
- decision and rationale
|
|
45
|
+
- accepted review findings
|
|
46
|
+
- task breakdown
|
|
47
|
+
- required verification
|
|
48
|
+
- recommended execution lane, usually `goal` for durable sequential work or `autopilot` for the full autonomous pipeline
|
|
49
|
+
|
|
50
|
+
Use `plan-refine` as the detailed checklist source of truth when deeper plan surgery is needed.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: skill
|
|
3
|
+
slug: team
|
|
4
|
+
title: Team
|
|
5
|
+
status: active
|
|
6
|
+
scope: repo
|
|
7
|
+
applies_to: [agents]
|
|
8
|
+
related: [autopilot, goal, plan-refine, verify]
|
|
9
|
+
created: "2026-07-13"
|
|
10
|
+
last_reviewed: "2026-07-13"
|
|
11
|
+
name: team
|
|
12
|
+
description: "Coordinate multiple dashboard-backed agent sessions on one task."
|
|
13
|
+
argument-hint: "<brief|role plan>"
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Team
|
|
17
|
+
|
|
18
|
+
Use `team` when the work needs coordinated parallel lanes with a leader-owned
|
|
19
|
+
task list, explicit handoffs, and independent verification. Prefer native
|
|
20
|
+
subagents for small bounded lookups; use `team` when the parallel work should be
|
|
21
|
+
visible, durable, and operator-controllable from `wp dash`.
|
|
22
|
+
|
|
23
|
+
## Protocol
|
|
24
|
+
|
|
25
|
+
1. Start from a grounded brief or an approved blueprint. If scope is vague, run
|
|
26
|
+
`plan-refine` first and define task lanes, shared files, and verification.
|
|
27
|
+
2. Open or reuse `wp dash` and launch the provider sessions needed for the
|
|
28
|
+
lanes. Direct `wp claude`, `wp codex`, and `wp opencode` commands are
|
|
29
|
+
expected to enter the dashboard in interactive terminals.
|
|
30
|
+
3. Assign one owner per lane. Include the task, allowed files or surfaces,
|
|
31
|
+
expected output, verification command, and blocker-report rule.
|
|
32
|
+
4. Keep one lane or leader pass responsible for integration and evidence.
|
|
33
|
+
Workers report findings, patches, tests, and unresolved risks; they do not
|
|
34
|
+
self-approve or mark blueprint tasks complete.
|
|
35
|
+
5. Integrate only after checking shared-file conflicts, updated assumptions,
|
|
36
|
+
and verification evidence. Use `wp_blueprint_task_verify` for task completion
|
|
37
|
+
when a blueprint owns the work.
|
|
38
|
+
6. Stop when every lane is complete, cancelled, or explicitly blocked and the
|
|
39
|
+
leader has recorded verification evidence.
|
|
40
|
+
|
|
41
|
+
## Coordination Rules
|
|
42
|
+
|
|
43
|
+
- Use a single source of truth for assignments: the blueprint, goal handoff, or
|
|
44
|
+
leader-maintained task list.
|
|
45
|
+
- Require ACK-style lane starts for shared files, dependency boundaries, or
|
|
46
|
+
handoffs.
|
|
47
|
+
- Reassign or narrow blocked lanes instead of letting work drift.
|
|
48
|
+
- Escalate changed assumptions before widening scope.
|
|
49
|
+
- Never bypass review provenance, push to main, self-approve, or increase
|
|
50
|
+
timeouts to hide coordination failures.
|
|
51
|
+
|
|
52
|
+
## Output
|
|
53
|
+
|
|
54
|
+
Report:
|
|
55
|
+
|
|
56
|
+
- lane roster and ownership
|
|
57
|
+
- files or surfaces touched by each lane
|
|
58
|
+
- integration decisions and conflicts resolved
|
|
59
|
+
- verification commands and results
|
|
60
|
+
- remaining blockers or risks
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: skill
|
|
3
|
+
slug: tech-debt
|
|
4
|
+
title: tech-debt
|
|
5
|
+
status: active
|
|
6
|
+
scope: repo
|
|
7
|
+
applies_to: [agents]
|
|
8
|
+
related: []
|
|
9
|
+
created: "2026-05-07"
|
|
10
|
+
last_reviewed: "2026-05-07"
|
|
11
|
+
name: tech-debt
|
|
12
|
+
description: "Tech-debt lifecycle skill for wp tech-debt creation, review, schema validation, and audits."
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# tech-debt
|
|
16
|
+
|
|
17
|
+
Manage the tech-debt lifecycle using `wp tech-debt` commands.
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
# Create a new tech-debt item (written to tech-debt/<status>/h-NNN-<kebab-title>.md by default)
|
|
23
|
+
wp tech-debt new "Legacy CLI complexity" \
|
|
24
|
+
--severity medium \
|
|
25
|
+
--category complexity \
|
|
26
|
+
--review-cadence quarterly \
|
|
27
|
+
--status accepted
|
|
28
|
+
|
|
29
|
+
# Preview without writing
|
|
30
|
+
wp tech-debt new "Performance bottleneck" --severity high --category mutation --dry-run
|
|
31
|
+
|
|
32
|
+
# List all tech-debt items (optional filters)
|
|
33
|
+
wp tech-debt list
|
|
34
|
+
wp tech-debt list --status accepted
|
|
35
|
+
wp tech-debt list --status needs-remediation --severity high
|
|
36
|
+
wp tech-debt list --category security
|
|
37
|
+
|
|
38
|
+
# Review: show items past their review date (exits non-zero if any are overdue)
|
|
39
|
+
wp tech-debt review
|
|
40
|
+
|
|
41
|
+
# Audit tech-debt files against the schema (CI gate)
|
|
42
|
+
wp audit tech-debt --root .
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## File naming
|
|
46
|
+
|
|
47
|
+
Files are named `h-NNN-<kebab-title>.md` where `NNN` is auto-incremented across all status directories.
|
|
48
|
+
|
|
49
|
+
## Status lifecycle
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
accepted → needs-remediation → monitoring → resolved
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Severity + cadence rules
|
|
56
|
+
|
|
57
|
+
| Severity | Minimum cadence |
|
|
58
|
+
| -------- | ------------------------- |
|
|
59
|
+
| critical | weekly (required) |
|
|
60
|
+
| high | biweekly or more frequent |
|
|
61
|
+
| medium | monthly |
|
|
62
|
+
| low | quarterly |
|
|
63
|
+
|
|
64
|
+
## Categories
|
|
65
|
+
|
|
66
|
+
`complexity`, `testing`, `mutation`, `duplication`, `dependency`, `security`, `documentation`
|
|
67
|
+
|
|
68
|
+
## Frontmatter schema (required fields)
|
|
69
|
+
|
|
70
|
+
```yaml
|
|
71
|
+
---
|
|
72
|
+
type: tech-debt
|
|
73
|
+
status: accepted # accepted | needs-remediation | monitoring | resolved
|
|
74
|
+
severity: medium # critical | high | medium | low
|
|
75
|
+
category: complexity # see categories above
|
|
76
|
+
review_cadence: quarterly # weekly | biweekly | monthly | quarterly
|
|
77
|
+
last_reviewed: "2026-01-15"
|
|
78
|
+
---
|
|
79
|
+
```
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: skill
|
|
3
|
+
slug: testing-philosophy
|
|
4
|
+
title: Testing Philosophy
|
|
5
|
+
status: active
|
|
6
|
+
scope: repo
|
|
7
|
+
applies_to: [agents]
|
|
8
|
+
related: []
|
|
9
|
+
created: "2026-05-07"
|
|
10
|
+
last_reviewed: "2026-07-03"
|
|
11
|
+
name: testing-philosophy
|
|
12
|
+
description: "Integration-first TDD/testing philosophy: write failing tests, avoid over-mocking, and prove behavior."
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# Testing Philosophy
|
|
16
|
+
|
|
17
|
+
Use when writing tests, reviewing test quality, debugging "tests pass but production fails", or deciding the smallest proof for a change.
|
|
18
|
+
|
|
19
|
+
## Iron laws
|
|
20
|
+
|
|
21
|
+
1. **Failing proof first.** Folded `/test-driven-development`: for behavior changes, write or strengthen the failing test/proof, watch it fail for the right reason, implement the smallest passing code, then refactor while green.
|
|
22
|
+
2. **Integration-first confidence.** Prefer tests that exercise real boundaries and behavior. Use unit tests for pure logic speed; use integration/E2E where correctness depends on wiring, persistence, CLI/browser flows, or user experience.
|
|
23
|
+
3. **Mocks only at real external boundaries.** Do not mock business logic, framework internals, persistence semantics, or the code under test. Over-mocking creates false confidence.
|
|
24
|
+
4. **Assertions prove behavior.** Avoid tautologies, snapshot-only checks, spy-count implementation assertions, and broad "does not throw" claims.
|
|
25
|
+
5. **Mutation pressure.** New logic should be written so mutation testing could catch weak assertions; target the repo's 85% mutation-score standard where mutation is in scope.
|
|
26
|
+
|
|
27
|
+
## Test-shape checklist
|
|
28
|
+
|
|
29
|
+
- Name the user-visible behavior or invariant.
|
|
30
|
+
- Cover mixed/partial/error cases for list, browse, batch, validation, and recovery flows.
|
|
31
|
+
- Prefer repo-owned wrappers for test commands.
|
|
32
|
+
- Verify RED before GREEN when feasible; if not feasible, record the nearest reliable proof.
|
|
33
|
+
- Keep tests deterministic: no sleeps, timing guesses, hidden network, or random order dependence.
|
|
34
|
+
- If a passing test would not fail against the old behavior, strengthen it before claiming coverage.
|
|
35
|
+
|
|
36
|
+
## Output
|
|
37
|
+
|
|
38
|
+
When reviewing tests, report:
|
|
39
|
+
|
|
40
|
+
- strongest proof added or missing
|
|
41
|
+
- over-mocking / weak assertion risks
|
|
42
|
+
- required integration or E2E coverage
|
|
43
|
+
- command evidence and whether the failure was observed before the fix
|
|
44
|
+
|
|
45
|
+
After applying the checklist and judgment review, run the repo static smell audit as the final mechanical backstop when available:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
wp audit test-smells
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Treat this audit as the last step, not a substitute for the testing-philosophy review.
|
|
52
|
+
|
|
53
|
+
For the full historical examples and anti-pattern catalog, read `references/full-testing-philosophy.md` only when detailed test-design guidance is needed.
|