ghostbill-frontend-v2
Installation
SKILL.md
Ghostbill Frontend V2
Use this skill for Ghostbill UI work in React, TypeScript, Vite, and plain CSS when the backend API contract is frozen and the promptvolume2 frontend behavior must be followed closely.
Workflow
- Read
references/source-prompt.mdin full before editing. It is the authoritative specification. - Treat all exact UX contracts as fixed: hero text, supported formats, state domains, localStorage keys, badge rules, reset behavior, timeline rules, required deliverables, and accessibility expectations.
- Preserve the backend freeze in the reference prompt. Do not change
/services/api.ts, API contracts, DTOs, endpoints, or request structure. - Keep the implementation dependency-free beyond the existing frontend stack: plain CSS only, no UI frameworks, no animation libraries, no reimplementation of backend business logic.
- Ensure the upload flow uses latest-request-wins request handling and that derived display data stays in memoized frontend helpers as specified.
- Run the required frontend verification before finishing.
Guardrails
- Keep all money formatting in SEK using the exact locale/currency formatter from the reference prompt.
- Do not approximate ghost/regular classification in the frontend.
- When the prompt restricts modifications to an exact file list, treat that list as binding unless the user overrides it.