Install any skill in seconds. Free to start, no credit card required.
Get Started Free →aiskillstore/auth-handler
Manage authentication, authorization, and user sessions.
Passed 21 of 22 test cases with the skill, and 3 of 22 without it.
and 19 more in the full report
19 fixed2 passed either way0 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 19 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a Next.js Server Component layout file (layout.tsx) that checks user authentication status before rendering child pages.
| Checked | Without skill | With skill |
|---|---|---|
| Imports auth from @/auth. | Missed | Passed |
The instructions your model reads when the skill loads.
withAuthRequired.
export default withAuthRequired(async (req, { session, getUser }) => { ... })
withSuperAdminAuthRequired.cronAuthRequired.useUser() hook (SWR).useSession from next-auth/react.auth from @/auth.getUserPlan(session.user.id). session.user is minimal.For architecture details, key files, and debugging tips, see reference.md.
test cases passed, vs 3 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.