pi-feature-dev 1.12.0 → 1.13.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/README.md +24 -9
- package/package.json +1 -1
- package/skills/visual-recap/SKILL.md +110 -0
- package/skills/visual-recap/agents/openai.yaml +4 -0
package/README.md
CHANGED
|
@@ -42,6 +42,11 @@ into concrete work without losing the creator's taste, feeling, or human focus.
|
|
|
42
42
|
It applies to creative technical and everyday work, while staying out of
|
|
43
43
|
factual, mechanical, exact, or fully specified tasks.
|
|
44
44
|
|
|
45
|
+
The `visual-recap` skill turns a plan or completed non-trivial change into an
|
|
46
|
+
evidence-backed visual review aid. It helps a reviewer see the outcome, affected
|
|
47
|
+
system parts, risk, and the best place to inspect first. It adapts to the current
|
|
48
|
+
host agent and always keeps a portable inline fallback.
|
|
49
|
+
|
|
45
50
|
## Install
|
|
46
51
|
|
|
47
52
|
```
|
|
@@ -78,8 +83,8 @@ No companion package is required. Optional Pi packages can improve specific part
|
|
|
78
83
|
|
|
79
84
|
## Credits
|
|
80
85
|
|
|
81
|
-
The original
|
|
82
|
-
|
|
86
|
+
The original skills and workflows that informed these portable versions came
|
|
87
|
+
from:
|
|
83
88
|
|
|
84
89
|
- [umputun/cc-thingz](https://github.com/umputun/cc-thingz)
|
|
85
90
|
- [anthropics/claude-code feature-dev plugin](https://github.com/anthropics/claude-code/tree/main/plugins/feature-dev)
|
|
@@ -88,6 +93,7 @@ versions came from:
|
|
|
88
93
|
- [AminBlg/SimpleEnglish](https://github.com/AminBlg/SimpleEnglish/tree/main/skills/simple-english)
|
|
89
94
|
- [ayghri/i-have-adhd](https://github.com/ayghri/i-have-adhd)
|
|
90
95
|
- [bish-x/creator-vibe](https://github.com/bish-x/creator-vibe)
|
|
96
|
+
- [kentcdodds/kcd-skills visual-recap](https://github.com/kentcdodds/kcd-skills/tree/main/skills/visual-recap)
|
|
91
97
|
|
|
92
98
|
## Usage
|
|
93
99
|
|
|
@@ -109,6 +115,12 @@ Carry an incomplete creative brief into the work itself:
|
|
|
109
115
|
/skill:creator-vibe Make this onboarding feel calm, capable, and unmistakably ours.
|
|
110
116
|
```
|
|
111
117
|
|
|
118
|
+
Create a visual review aid for a plan or completed change:
|
|
119
|
+
|
|
120
|
+
```text
|
|
121
|
+
/skill:visual-recap Show the architecture impact of the current change.
|
|
122
|
+
```
|
|
123
|
+
|
|
112
124
|
The files under `skills/*/SKILL.md` are portable Markdown and can be adapted for
|
|
113
125
|
other agent environments.
|
|
114
126
|
|
|
@@ -213,14 +225,17 @@ pi-feature-dev/
|
|
|
213
225
|
├── plan-review/
|
|
214
226
|
│ ├── agents/openai.yaml
|
|
215
227
|
│ └── SKILL.md
|
|
216
|
-
|
|
228
|
+
├── ste/
|
|
229
|
+
│ ├── agents/openai.yaml
|
|
230
|
+
│ ├── references/
|
|
231
|
+
│ │ ├── before-after.md
|
|
232
|
+
│ │ ├── checklist.md
|
|
233
|
+
│ │ ├── use-cases.md
|
|
234
|
+
│ │ └── writing-rules.md
|
|
235
|
+
│ ├── README.md
|
|
236
|
+
│ └── SKILL.md
|
|
237
|
+
└── visual-recap/
|
|
217
238
|
├── agents/openai.yaml
|
|
218
|
-
├── references/
|
|
219
|
-
│ ├── before-after.md
|
|
220
|
-
│ ├── checklist.md
|
|
221
|
-
│ ├── use-cases.md
|
|
222
|
-
│ └── writing-rules.md
|
|
223
|
-
├── README.md
|
|
224
239
|
└── SKILL.md
|
|
225
240
|
```
|
|
226
241
|
|
package/package.json
CHANGED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: visual-recap
|
|
3
|
+
description: Create evidence-backed visual recaps of planned or completed non-trivial changes. Use after planning or completing non-trivial work when a visual review aid would reduce review effort, or when the user asks for a visual recap, visual plan, change map, system overview, architecture impact, before/after view, or scannable review aid. Adapt the result to the current Host Agent without requiring a specific tool, service, version-control host, or output format.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Visual Recap
|
|
7
|
+
|
|
8
|
+
Help a reviewer understand a non-trivial change and choose where to inspect first.
|
|
9
|
+
|
|
10
|
+
A useful recap answers these questions in less than one minute:
|
|
11
|
+
|
|
12
|
+
- What outcome changes?
|
|
13
|
+
- Which system parts and relationships are affected?
|
|
14
|
+
- What path should the reviewer trace?
|
|
15
|
+
- Where is the risk or evidence gap?
|
|
16
|
+
|
|
17
|
+
The recap supplements the plan, source, change set, and normal review. It does not replace them.
|
|
18
|
+
|
|
19
|
+
## Choose the Mode
|
|
20
|
+
|
|
21
|
+
- **Plan**: Show intended work against the current system. Label assumptions, open decisions, and unverified paths.
|
|
22
|
+
- **Recap**: Show what the current change set does. Rebuild the recap from current evidence.
|
|
23
|
+
|
|
24
|
+
State the mode. If a plan and an implementation both exist, use Recap. Add a short plan-versus-actual view only when they differ.
|
|
25
|
+
|
|
26
|
+
## Ground the Recap
|
|
27
|
+
|
|
28
|
+
Use the smallest sufficient set of project evidence:
|
|
29
|
+
|
|
30
|
+
1. Follow the instructions and context that the **Host Agent** already supplied.
|
|
31
|
+
2. Look for project-local `CONTEXT-MAP.md` and `CONTEXT.md` files. Use `CONTEXT-MAP.md` for bounded-context locations and relationships. Use the relevant `CONTEXT.md` files for canonical domain terms. Link to each file that informed the recap.
|
|
32
|
+
3. Use existing architecture documents, diagrams, ownership maps, and decision records when they cover the affected area.
|
|
33
|
+
4. In Plan mode, inspect the current implementation and the proposed plan or requirements.
|
|
34
|
+
5. In Recap mode, inspect the actual change set, affected source, and validation results. Use a source-control comparison when available, but do not require one version-control system.
|
|
35
|
+
|
|
36
|
+
A `CONTEXT.md` glossary supplies language, not architecture or path ownership. Do not create or update context files for this recap.
|
|
37
|
+
|
|
38
|
+
Use session memory to find evidence, not to prove a claim. Label facts when the distinction matters:
|
|
39
|
+
|
|
40
|
+
- **documented**: defined by canonical project material;
|
|
41
|
+
- **observed**: present in the current implementation or change set;
|
|
42
|
+
- **planned**: intended but not implemented;
|
|
43
|
+
- **inferred**: derived from source boundaries or behavior;
|
|
44
|
+
- **unknown**: not verified.
|
|
45
|
+
|
|
46
|
+
## Tell the Review Story
|
|
47
|
+
|
|
48
|
+
1. Start with the user or system outcome. Do not start with a file list.
|
|
49
|
+
2. Choose affected units at one useful altitude. Use bounded contexts, surfaces, services, modules, data stores, or the project's own vocabulary.
|
|
50
|
+
3. Show the shortest path that explains the change. Include only affected units and the immediate neighbors needed for context.
|
|
51
|
+
4. Rank one to three review hotspots. Point to the edge, invariant, contract, or evidence gap that needs attention.
|
|
52
|
+
5. Attach compact evidence to each important claim.
|
|
53
|
+
|
|
54
|
+
If no architecture map exists, infer a local map from the source. Label the map as inferred. Do not present it as a permanent project taxonomy.
|
|
55
|
+
|
|
56
|
+
Mark the change shape for each affected unit:
|
|
57
|
+
|
|
58
|
+
- **uses**: Connects or configures existing behavior without changing its contract.
|
|
59
|
+
- **changes**: Changes behavior, state, shape, or a contract.
|
|
60
|
+
- **adds/removes**: Creates or removes a meaningful boundary, capability, data shape, or external surface.
|
|
61
|
+
|
|
62
|
+
Assess risk separately from change shape. Risk tells the reviewer how much attention the change needs.
|
|
63
|
+
|
|
64
|
+
| Risk | Use when |
|
|
65
|
+
|---|---|
|
|
66
|
+
| **Low** | The change is bounded and reversible. It changes no known contract or invariant. Validation is strong. |
|
|
67
|
+
| **Medium** | The change alters behavior or an internal contract in a bounded area, or validation has a meaningful gap. |
|
|
68
|
+
| **High** | The change affects security, privacy, persisted data, public compatibility, critical invariants, concurrency, or broad cross-system behavior. Also use High when a large blast radius has weak evidence. |
|
|
69
|
+
|
|
70
|
+
State why the overall risk has that level. A new unit is not automatically high risk. A small authentication or data edit is not automatically low risk.
|
|
71
|
+
|
|
72
|
+
## Choose the Smallest Useful Visual
|
|
73
|
+
|
|
74
|
+
Match the visual to the review question:
|
|
75
|
+
|
|
76
|
+
- Use a map for relationships and blast radius.
|
|
77
|
+
- Use a flow or timeline for behavior that crosses several steps.
|
|
78
|
+
- Use a table for exact mappings or classifications.
|
|
79
|
+
- Use a side-by-side view for before and after.
|
|
80
|
+
- Use interaction only when it helps the reviewer trace a path, inspect evidence, or compare states.
|
|
81
|
+
|
|
82
|
+
Skip the diagram when one obvious relationship or a short table explains the change better.
|
|
83
|
+
|
|
84
|
+
Prefer a native interactive surface when the current **Host Agent** can present it reliably and interaction saves review effort. Otherwise, use a rendered visual or inline Markdown. If diagrams do not render, use a compact text map.
|
|
85
|
+
|
|
86
|
+
Do not require or name a product-specific tool. Do not add a dependency, deployment, or standalone application only to render the recap.
|
|
87
|
+
|
|
88
|
+
Always provide a concise inline fallback. The fallback must preserve the outcome, affected units, risk, review hotspots, and evidence links.
|
|
89
|
+
|
|
90
|
+
## Compose the Result
|
|
91
|
+
|
|
92
|
+
Include:
|
|
93
|
+
|
|
94
|
+
1. **Headline**: mode, scope, outcome, overall risk, and the reason for that risk.
|
|
95
|
+
2. **Impact view**: affected units, change shape, and the path between them.
|
|
96
|
+
3. **Review first**: one to three ranked hotspots.
|
|
97
|
+
4. **Evidence**: links or pointers to relevant context, source, documents, comparisons, and checks.
|
|
98
|
+
5. **Gaps**: planned, inferred, unknown, or unverified claims that could change the conclusion.
|
|
99
|
+
|
|
100
|
+
Add a change flow, before-and-after view, plan-versus-actual view, or open decisions only when it reduces review effort.
|
|
101
|
+
|
|
102
|
+
Keep the overview on one screen when possible. Put supporting detail behind expansion or below the overview. Use direct labels. Do not rely on color alone. Do not include empty sections or the whole system graph.
|
|
103
|
+
|
|
104
|
+
## Deliver and Update
|
|
105
|
+
|
|
106
|
+
Present the recap in the current conversation by default. Save it to a plan, document, change request, or other artifact only when the user asks or the current workflow defines that destination.
|
|
107
|
+
|
|
108
|
+
When a recap already exists, revise it instead of adding a conflicting copy. Preserve unrelated content.
|
|
109
|
+
|
|
110
|
+
Before delivery, confirm that the recap tells the reviewer what to inspect first and why. If the visual does not reduce review effort, simplify it.
|