@shadowclone/cli 0.0.4 → 0.0.6
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/hooks/hooks.json +10 -0
- package/README.md +65 -152
- package/dist/shadowclone.js +543 -56
- package/evals.md +89 -0
- package/package.json +9 -3
- package/preferences/dependencies-existing.md +12 -0
- package/preferences/dependencies-mature.md +12 -0
- package/preferences/planning-first.md +12 -0
- package/preferences/planning-when-costly.md +12 -0
- package/preferences/questions-autonomous.md +12 -0
- package/preferences/questions-early.md +12 -0
- package/preferences/refactor-boundaries.md +12 -0
- package/preferences/refactor-preserve.md +12 -0
- package/skills/design-deep-modules/SKILL.md +42 -0
- package/skills/diagnose-before-editing/SKILL.md +46 -0
- package/skills/prove-regression-tests/SKILL.md +40 -0
- package/skills/research-primary-sources/SKILL.md +40 -0
- package/skills/resolve-conflicts-by-intent/SKILL.md +41 -0
- package/skills/scope-confirmed-changes/SKILL.md +41 -0
- package/skills/testing-first/SKILL.md +44 -0
- package/skills/testing-risk-based/SKILL.md +39 -0
- package/skills/typescript-type-safety/SKILL.md +40 -0
- package/skills/verify-and-review/SKILL.md +41 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: verify-and-review
|
|
3
|
+
description: Verify changed behavior and inspect the final diff before presenting completed work. Use when an implementation, fix, refactor, or documentation change is ready for handoff.
|
|
4
|
+
metadata:
|
|
5
|
+
shadowclone-category: review
|
|
6
|
+
shadowclone-section: workflow
|
|
7
|
+
shadowclone-applies-when: preparing completed work for review or handoff
|
|
8
|
+
---
|
|
9
|
+
# Verify and Review Before Finishing
|
|
10
|
+
|
|
11
|
+
## Use when
|
|
12
|
+
|
|
13
|
+
Use this skill after implementation is complete and before claiming the work is ready. Verification must support the claims in the handoff, while review checks that the diff says one coherent thing.
|
|
14
|
+
|
|
15
|
+
## Process
|
|
16
|
+
|
|
17
|
+
1. List the changed behaviors, data paths, public interfaces, and documentation claims.
|
|
18
|
+
2. Discover the repository's own checks from scripts, contributor guidance, and continuous integration configuration.
|
|
19
|
+
3. Run the narrow checks that exercise each changed behavior while failures are cheap to diagnose.
|
|
20
|
+
4. Run the required repository gate once the focused checks pass.
|
|
21
|
+
5. Inspect the final diff with surrounding code, including new files that an ordinary diff may omit.
|
|
22
|
+
6. Trace values entering logs, errors, file writes, and network calls to their source and required redaction boundary.
|
|
23
|
+
7. Compare public documentation and architecture diagrams with the implemented behavior.
|
|
24
|
+
8. Check the working tree for generated files, debug artifacts, secrets, and unrelated edits.
|
|
25
|
+
9. Report the exact commands run, their results, and any behavior that still depends on manual or external verification.
|
|
26
|
+
|
|
27
|
+
## Guardrails
|
|
28
|
+
|
|
29
|
+
- Match each completion claim to evidence from a check or direct inspection.
|
|
30
|
+
- Distinguish a failing pre-existing check from one caused by the change and provide evidence for that distinction.
|
|
31
|
+
- Re-run a broad gate only after a later edit can affect its result.
|
|
32
|
+
- Inspect indentation, scope, and neighboring declarations rather than relying only on compilation.
|
|
33
|
+
- Keep captured user content out of logs and review text unless it has passed the required redaction boundary.
|
|
34
|
+
- Do not present a build artifact as proof of runtime behavior when the changed path was never exercised.
|
|
35
|
+
- Preserve material limitations in the handoff so a reviewer knows what remains uncertain.
|
|
36
|
+
|
|
37
|
+
For user interfaces, exercise the changed state and inspect the rendered result at the supported viewport or terminal. For data handling, name every sink and show where raw content becomes safe.
|
|
38
|
+
|
|
39
|
+
## Completion
|
|
40
|
+
|
|
41
|
+
Verification is complete when every changed behavior has evidence, the required repository gate passes, the final diff and working tree are clean, public claims match the code, sink tracing is accounted for, and remaining manual or external checks are stated plainly.
|