mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-07-27 14:35:03 +00:00
1.1 KiB
1.1 KiB
Claude guidance for this project
React
- Avoid
useEffectanduseMemo. Derive values inline, use Server Components + Route Handlers, event handlers, oruseSyncExternalStoreinstead. If a hook is genuinely the only option, flag it and ask before using it.
Next.js 15 route handlers
paramsis aPromise— type as{ params: Promise<{ ... }> }andawait paramsbefore destructuring.
Task tracking — Backlog.md
- Project uses Backlog.md for manual/human todos (CLI
backlog, web UI on port 6420). - MCP server is wired via
.mcp.json— tools exposed under thebacklogserver. Use those tools instead of shelling out when possible. - Tasks live as markdown under
backlog/tasks/. Committed to git. Read them for context on outstanding manual work (env vars, IAM, infra) owed by humans. - To start the web UI during development:
backlog browser(port 6420, forwarded by devcontainer). - Do NOT mirror Backlog.md tasks into Claude's internal todo system. Use one or the other — Backlog for durable cross-session work, internal todos for within-turn progress tracking.