Skip to content

Commit 1515751

Browse files
committed
feat: add guideline for lifting complex UI blocks into dedicated components in the wizard
1 parent a19d1d9 commit 1515751

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

agents.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@
4545
- Keep documentation links trustworthy; avoid marketing splash pages when direct references exist.
4646
- If adding new output formats, update both the data definition in `data/files.json` and any generation logic (currently beyond this repo).
4747
- When page-level components need reusable calculations or datasets, extract those helpers into `lib/utils.ts` and import them instead of defining inline.
48+
- For complex UI blocks reused across the wizard, lift them into dedicated components (e.g., `components/instructions-answer-card.tsx`) and consume them in the wizard instead of duplicating markup.

0 commit comments

Comments
 (0)