@hopla/claude-setup 1.14.1 → 1.16.0
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/.claude-plugin/.mcp.json.example +41 -0
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +22 -0
- package/cli.js +65 -50
- package/commands/execute.md +5 -44
- package/commands/guides/validation-pyramid.md +74 -0
- package/commands/plan-feature.md +15 -15
- package/commands/validate.md +3 -30
- package/global-rules.md +15 -5
- package/hooks/hooks.json +22 -0
- package/hooks/precompact-snapshot.js +65 -0
- package/hooks/prompt-route.js +125 -0
- package/hooks/session-prime.js +35 -3
- package/hooks/statusline.js +83 -0
- package/package.json +5 -1
- package/skills/code-review/SKILL.md +15 -38
- package/skills/code-review/checklist.md +44 -0
- package/skills/execution-report/SKILL.md +18 -85
- package/skills/execution-report/report-structure.md +88 -0
- package/skills/verify/SKILL.md +12 -7
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Execution Report Structure
|
|
2
|
+
|
|
3
|
+
Fill every section. Write "Not applicable" rather than leaving a section blank — empty sections make it unclear whether the check was performed.
|
|
4
|
+
|
|
5
|
+
## Meta Information
|
|
6
|
+
|
|
7
|
+
- **Plan file:** [path to the plan that guided this implementation]
|
|
8
|
+
- **Files added:** [list with paths]
|
|
9
|
+
- **Files modified:** [list with paths]
|
|
10
|
+
- **Lines changed:** +X −Y
|
|
11
|
+
|
|
12
|
+
## Validation Results
|
|
13
|
+
|
|
14
|
+
- Syntax & Linting: ✓/✗ [details if failed]
|
|
15
|
+
- Type Checking: ✓/✗ [details if failed]
|
|
16
|
+
- Unit Tests: ✓/✗ [X passed, Y failed]
|
|
17
|
+
- Integration Tests: ✓/✗ [X passed, Y failed]
|
|
18
|
+
|
|
19
|
+
## Code Review Findings
|
|
20
|
+
|
|
21
|
+
- **Code review file:** [path to `.agents/code-reviews/[name].md`, or "Not run"]
|
|
22
|
+
- **Issues found:** [count by severity: X critical, Y high, Z medium, W low]
|
|
23
|
+
- **Issues fixed before this report:** [count]
|
|
24
|
+
- **Key findings:** [1-2 sentence summary of the most significant issues found]
|
|
25
|
+
|
|
26
|
+
## What Went Well
|
|
27
|
+
|
|
28
|
+
List specific things that worked smoothly:
|
|
29
|
+
|
|
30
|
+
- [concrete examples]
|
|
31
|
+
|
|
32
|
+
## Challenges Encountered
|
|
33
|
+
|
|
34
|
+
List specific difficulties:
|
|
35
|
+
|
|
36
|
+
- [what was difficult and why]
|
|
37
|
+
|
|
38
|
+
## Bugs Encountered
|
|
39
|
+
|
|
40
|
+
Categorize each bug found during implementation:
|
|
41
|
+
|
|
42
|
+
| Bug | Category | Found By | Severity |
|
|
43
|
+
|-----|----------|----------|----------|
|
|
44
|
+
| [description] | stale closure / validation / race condition / styling / scope mismatch / type error / route ordering / other | lint / types / tests / code review / manual testing | critical / high / medium / low |
|
|
45
|
+
|
|
46
|
+
If no bugs were encountered, write "No bugs encountered during implementation."
|
|
47
|
+
|
|
48
|
+
## Divergences from Plan
|
|
49
|
+
|
|
50
|
+
For each divergence:
|
|
51
|
+
|
|
52
|
+
**[Divergence Title]**
|
|
53
|
+
|
|
54
|
+
- **Planned:** [what the plan specified]
|
|
55
|
+
- **Actual:** [what was implemented instead]
|
|
56
|
+
- **Reason:** [why this divergence occurred]
|
|
57
|
+
- **Type:** Better approach found | Plan assumption wrong | Security concern | Performance issue | Other
|
|
58
|
+
|
|
59
|
+
## Scope Assessment
|
|
60
|
+
|
|
61
|
+
- **Planned tasks:** [number in the original plan]
|
|
62
|
+
- **Executed tasks:** [number actually completed]
|
|
63
|
+
- **Unplanned additions:** [count and brief description of work not in the original plan]
|
|
64
|
+
- **Scope accuracy:** On target | Under-scoped (took more work than planned) | Over-scoped (simpler than expected)
|
|
65
|
+
|
|
66
|
+
## Skipped Items
|
|
67
|
+
|
|
68
|
+
List anything from the plan that was not implemented:
|
|
69
|
+
|
|
70
|
+
- [what was skipped] — Reason: [why]
|
|
71
|
+
|
|
72
|
+
## Technical Patterns Discovered
|
|
73
|
+
|
|
74
|
+
New gotchas, patterns, or conventions learned during this implementation that should be documented:
|
|
75
|
+
|
|
76
|
+
- **Pattern/Gotcha:** [description]
|
|
77
|
+
- **Where it applies:** [what type of feature or context triggers this]
|
|
78
|
+
- **Ready-to-paste CLAUDE.md entry:** [Write the EXACT text that should be added to the project's CLAUDE.md to prevent this gotcha in future features. Format it as a bullet point under the appropriate section. If it belongs in a guide instead, write the exact text for the guide. Do not write vague suggestions like "document this" — write the actual content so the system reviewer can apply it directly.]
|
|
79
|
+
|
|
80
|
+
If nothing new was discovered, write "No new patterns discovered."
|
|
81
|
+
|
|
82
|
+
## Recommendations
|
|
83
|
+
|
|
84
|
+
Based on this implementation, what should change for next time?
|
|
85
|
+
|
|
86
|
+
- Plan command improvements: [suggestions]
|
|
87
|
+
- Execute command improvements: [suggestions]
|
|
88
|
+
- CLAUDE.md additions: [suggestions]
|
package/skills/verify/SKILL.md
CHANGED
|
@@ -47,13 +47,7 @@ Instead, run the verification and report actual results.
|
|
|
47
47
|
|
|
48
48
|
## Integration with Validation Pyramid
|
|
49
49
|
|
|
50
|
-
When completing a feature (not just a single file edit), run
|
|
51
|
-
|
|
52
|
-
1. **Level 1**: Lint & format
|
|
53
|
-
2. **Level 2**: Type check
|
|
54
|
-
3. **Level 3**: Unit tests
|
|
55
|
-
4. **Level 4**: Integration tests (if applicable)
|
|
56
|
-
5. **Level 5**: Human review suggestion
|
|
50
|
+
When completing a feature (not just a single file edit), run levels **1–4 + 7** from `commands/guides/validation-pyramid.md` (Lint, Types, Unit, Integration, Human review).
|
|
57
51
|
|
|
58
52
|
Reference `/hopla:validate` for project-specific validation commands.
|
|
59
53
|
|
|
@@ -72,3 +66,14 @@ When verifying completion of a plan execution (not just a standalone task):
|
|
|
72
66
|
3. **All acceptance criteria met?** — Read the plan's acceptance criteria and verify each one has fresh evidence.
|
|
73
67
|
|
|
74
68
|
These checks prevent the common pattern where implementation is "done" but divergences are silently omitted from the report.
|
|
69
|
+
|
|
70
|
+
## Authoritative post-implementation sequence
|
|
71
|
+
|
|
72
|
+
When verification passes, follow this order to avoid redundant work and skill overlap:
|
|
73
|
+
|
|
74
|
+
1. **`verify`** (this skill) — confirm fresh evidence for every completion claim.
|
|
75
|
+
2. **`code-review`** — run technical review on changed files. Fix `critical`/`high` issues before proceeding.
|
|
76
|
+
3. **`execution-report`** — document what was built, bugs found, divergences, patterns discovered.
|
|
77
|
+
4. **`git`** — commit (and PR when ready).
|
|
78
|
+
|
|
79
|
+
Each step cites the next, so at any point you should be routing to exactly one subsequent skill. If multiple skills are triggering simultaneously on a completion claim, this is the canonical ordering.
|