31 lines
2.1 KiB
Markdown
31 lines
2.1 KiB
Markdown
# 01: No-AI skill, first full path: empty project → working dashboard with sample data
|
|
|
|
Part of: ../spec.md
|
|
|
|
**What to build:** A developer runs the no-AI skill in an empty project. The skill:
|
|
- scans the project and finds no frontend and no bot,
|
|
- asks for colours (Tebra Sky, Superbill Ember, or a custom brand hex),
|
|
- asks desktop or web, and which optional sections to build,
|
|
- produces a working dashboard page with the shell, KPI cards, status donut, run panel and report table, running on sample data.
|
|
|
|
An automated page check proves the page renders the standard data contract correctly. Before any of that, fix the desktop host template so it stays valid Python until its placeholders are filled.
|
|
|
|
**Blocked by:** None (can start immediately)
|
|
|
|
**Status:** ready-for-agent
|
|
|
|
- [ ] The desktop host template passes the lint hook unfilled. Its placeholders go inside string literals.
|
|
- [ ] The no-AI skill file exists with a trigger description ("RPA dashboard", "automation dashboard", "bot dashboard", "without AI") and the workflow in spec order: scan → report/keep-or-restyle → colours → stack → optional sections → build → wire → verify.
|
|
- [ ] The theme presets file exists with Tebra Sky and Superbill Ember, light and dark tokens for each.
|
|
- [ ] Custom palette: given one brand hex, the skill derives the rest of the palette and checks text contrast in light and dark.
|
|
- [ ] With no bot present, the generated page uses sample data and renders on first open.
|
|
- [ ] A headless-browser page check (Seam 1) pushes contract envelopes through the page's public entry point and asserts visible results:
|
|
- KPI counts match batch states;
|
|
- donut and legend counts match;
|
|
- the step list follows the step label;
|
|
- log lines appear with their type;
|
|
- report search filters rows and shows the correct bucket pill;
|
|
- the dark toggle flips the theme.
|
|
- [ ] The page check runs in light, dark and narrow width (≤820px).
|
|
- [ ] Skill eval on test project (a), an empty project: the skill asks colours, stack and sections, never reports a frontend, and its output passes the page check.
|