forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits

AGENTS.md2.2 KiBHistoryRawDownload

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-pitfalls skill before writing components.
  • A ders is a catalog row; a şube×ders instance is 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_saati and the karne flag — see src/api/instances/ and /instances/$id. Exam/homework/session rows name class_course, never course; 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 no package-lock.json/yarn.lock/ pnpm-lock.yaml, only bun.lock. Translate any copy-pasted npm ... / npx ... snippet to the bun/bunx equivalent before running it.
  • Pre-approved commands: bun run build, tsc --noEmit, vite build, test runs, lint — run without asking. Commits are also pre-approved (see commit-workflow skill) — run git commit directly 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/.