5 Commits (baa01c38bd07573582d680b6ac9a9c3c0a96865d)

Author SHA1 Message Date
Deardo Satria baa01c38bd Memoize getCurrentUser per request and document cache rules
getCurrentUser is wrapped in React cache so pages that call it from
several components validate the session once per request. Cross-request
caching ("use cache", unstable_cache, module-level storage) stays
forbidden for cleo data and sessions: the PHP app writes to the same DB,
and a cached session would keep a logged-out user signed in.

CLAUDE.md and the cleo-code-review skill now state both rules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 hours ago
Deardo Satria 770ecbd204 Clarify mandatory checks in cleo-code-review skill
Mark steps 1-6 as ordered with mandatory mechanical checks (reference
check before delete, session chain, zod messages, import order), add the
CRLF caveat for prettier on Windows, and spell out the report format
with a concrete example.
1 day ago
Deardo Satria 930bfd2205 Add structure checks to cleo-code-review skill
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 days ago
Deardo Satria 54dfbd2691 Penyesuaian cleo-code-review skill 2 days ago
Deardo Satria 5cd49bb24b Add cleo-code-review skill for project code reviews 2 days ago