building-mockup
Installation
SKILL.md
Building Mockup
Setup
| Item | Kind | Required | When | Done when | How |
|---|---|---|---|---|---|
| Root path and intention | ask | required | All | mockup-contract.md → Resolve mockup root finds a root for the request's app | Ask for the folder (default mockup/) and the app it mocks up (one short phrase); missing or empty → use it, else ask for another path; recorded as the root's location and its app and intention |
| Root marker | static | required | All | <mockup-root>/index.md carries mockup-contract.md → Author signature |
Write index.md from assets/index.md with app and intention |
| Node.js | user | optional | Create or amend | node --version succeeds |
https://nodejs.org |
| Playwright Chromium | user | optional | Create or amend | npx -y playwright screenshot about:blank <tmp>/check.png succeeds |
npx -y playwright install chromium |
Workflow
- Setup — for each Setup row whose When covers the request, in order: Done when holds → skip;
user→ stop and print its How when required, continue without it when optional;ask→ fill what the request answers, ask the rest together in one message, record each answer;autoandstatic→ run. - Contract — read mockup-contract.md.
- Recipe — match one Recipes row; open every doc in its Read column.