- Introduced SKILL.md outlining the principles and processes for effective interface design. - Added critique.md for evaluating design outputs and ensuring craft over correctness. - Created example.md to illustrate the application of subtle layering principles in design decisions. - Developed principles.md detailing core craft principles for consistent design quality. - Implemented validation.md for memory management and pattern reuse in the design system. - Established system.md for the Playzer design system, defining direction, domain concepts, and design decisions. - Added StatusBadge component for displaying booking statuses with appropriate styles and labels. - Updated skills-lock.json to include the new interface-design skill.
To install dependencies:
bun install
To run:
bun run dev
Tests
Run all backend tests:
bun run test
Test naming convention
*.test.tsor*.spec.ts: service-level tests. These run with the shared Prisma preload attest/support/prisma.mock.ts.*.handler.test.ts: handler-level tests. These should mock the service module locally withmock.module(...)and import the handler after the mock is in place.
Recommended pattern
- Keep business logic tests focused on the service layer.
- Use handler tests only to verify request parsing, status mapping, and response shaping.
- Put shared Prisma mocking helpers in
test/support/.