Skip to content
Back to skills

Auth

ASecurity

Put in the sign-in the spec chose; a published Worker is open to anyone.

  • 234 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 29, 2026
ai-agentsrustgitapi

Works with

  • api

Security analysis

A100/100

Scanned September 29, 2026

npx -y skills add receptron/mulmoterminal --skill auth --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Auth?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Auth
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/receptron-auth-56323b1a/badge)](https://www.skillsdirectory.com/skills/receptron-auth-56323b1a)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: blueprint-cloudflare-auth
description: "Put in the sign-in the spec chose; a published Worker is open to anyone."
---

# Sign-in

A published Worker can be opened by anyone who has its URL. Read the spec's sign-in choice.

- **None**: only what the spec says a visitor may see and do is reachable. Say so on the main screen's footer.
  `test/auth.test.ts` proves an operation the spec reserves (if any) is refused without a session.
- **One shared password**: a sign-in screen; the password's PBKDF2 hash (Web Crypto, per-install salt) as a wrangler
  secret (`.dev.vars` locally, in `.gitignore`); a signed, HttpOnly, Secure, SameSite=Lax session cookie; every `/api`
  route except `/api/health` and sign-in refuses without it.
- **One account per person**: a `users` table (PBKDF2 hash with a per-user salt), sign-in and sign-out, roles if the
  spec lists them, checked on the server for every route. If the spec says only a company's people may sign in,
  Cloudflare Access in front of the Worker is the simplest door: say so in `.blueprint/open-questions.md`.

`test/auth.test.ts`: a request without a session is refused, with one it passes; a wrong password is refused.

Done when the check passes: `yarn build` and `yarn test` succeed and `test/` has the auth tests.

## Always

- Read `.blueprint/spec.md` first. It is the agreed specification; do not widen it.
- When you need a decision, ask it through the blueprint question tool and stop. Do not guess.
- Do not run `git init`: a new repository loses the folder's trust and the next unattended step stops at Claude
  Code's trust prompt. The user adds git themselves after the build if they want it.
- Say you are done by stopping; the executor runs the check. Do not claim success yourself.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.