hezarfen_frontend
Clone
0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits
AGENTS.md — Hezarfen Frontend
Mirror of CLAUDE.md — CLAUDE.md is the authoritative rulebook. Update CLAUDE.md first, then copy changes here.
SolidJS + TypeScript + TanStack Router + shadcn-solid, Vite/Bun. Read-only status-board dashboard; Turkish/English i18n. Bilingual codebase: Turkish UI labels, English code + commits.
Gotchas
- SolidJS, not React. Components run once. No re-render. Signals = functions.
Load
solidjs-pitfallsskill before writing components. - A ders is a catalog row; a şube×ders
instanceis where teaching happens./courses/{id}is the catalog (title, kind, subjects, notes, club/etüt members). Attaching it to a class (postClassInstance) mints the instance, and that is what carries enrollments, exams, homework, sessions, roll call,ders_saatiand the karne flag — seesrc/api/instances/and/instances/$id. Exam/homework/session rows nameclass_course, nevercourse; a class links an academic year (/academic-years), and a dönem lives inside one. - Podman, not Docker. Never suggest docker.
podman build,podman compose. - Bun only, never npm/npx/yarn/pnpm. Install/run/exec with
bun add,bun run,bunx— this repo has nopackage-lock.json/yarn.lock/pnpm-lock.yaml, onlybun.lock. Translate any copy-pastednpm .../npx ...snippet to thebun/bunxequivalent before running it. - Pre-approved commands:
bun run build,tsc --noEmit,vite build, test runs, lint — run without asking. Commits are also pre-approved (seecommit-workflowskill) — rungit commitdirectly once the message format and pre-commit build check pass, no per-commit ask. Only genuinely risky git ops (force-push, history rewrite, branch deletion, hard reset/clean that would discard work) need explicit approval.
Skills
Load on demand by area — solidjs-pitfalls | ui-conventions | api-layer |
commit-workflow | dashboard-design |
check-api-contract (live Swagger/OpenAPI vs src/api/; check it before
saying an endpoint does or does not exist — the backend repo is not local).
Source of truth: .claude/skills/<name>/SKILL.md.
Deeper docs by area: docs/ui/ · docs/auth/ · docs/frontend/ · docs/backend/.