|
| 1 | +--- |
| 2 | +name: context-visualizer-ui-feature-workflow |
| 3 | +description: Workflow command scaffold for context-visualizer-ui-feature-workflow in periscope. |
| 4 | +allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"] |
| 5 | +--- |
| 6 | + |
| 7 | +# /context-visualizer-ui-feature-workflow |
| 8 | + |
| 9 | +Use this workflow when working on **context-visualizer-ui-feature-workflow** in `periscope`. |
| 10 | + |
| 11 | +## Goal |
| 12 | + |
| 13 | +Implements or migrates context visualizer UI features, including bug fixes, refactors, and kit-ui migrations. |
| 14 | + |
| 15 | +## Common Files |
| 16 | + |
| 17 | +- `frontend/src/lib/components/context/*.svelte` |
| 18 | +- `frontend/src/lib/components/context/*.test.ts` |
| 19 | +- `frontend/messages/*.json` |
| 20 | +- `frontend/scripts/generate-api-client.mjs` |
| 21 | +- `docs/context-session-visualizer-mvp-plan.md` |
| 22 | +- `docs/context-session-visualizer-roadmap.md` |
| 23 | + |
| 24 | +## Suggested Sequence |
| 25 | + |
| 26 | +1. Understand the current state and failure mode before editing. |
| 27 | +2. Make the smallest coherent change that satisfies the workflow goal. |
| 28 | +3. Run the most relevant verification for touched files. |
| 29 | +4. Summarize what changed and what still needs review. |
| 30 | + |
| 31 | +## Typical Commit Signals |
| 32 | + |
| 33 | +- Edit or create Svelte components under frontend/src/lib/components/context/ |
| 34 | +- Update or add related test files (*.test.ts) for those components |
| 35 | +- Update frontend/messages/*.json for i18n if needed |
| 36 | +- Update or fix docs/context-session-visualizer-*.md and docs/context-visualizer-ui-recommendation.md as needed |
| 37 | +- Update frontend/scripts/generate-api-client.mjs if API changes |
| 38 | + |
| 39 | +## Notes |
| 40 | + |
| 41 | +- Treat this as a scaffold, not a hard-coded script. |
| 42 | +- Update the command if the workflow evolves materially. |
0 commit comments