auth-quality
Skill1 starsChanged 5 months agoMITView on GitHub
Authentication and permissions quality checklist for login, identity, session, and access-control changes.
In this repository117 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- advanced-orchestrationSkill
- architect-agentSkill
- implementer-agentSkill
- quality-councilSkill
- reviewer-agentSkill
- tester-agentSkill
- writer-critic-pairSkill
- authoring-skillsSkill
- api-endpoint-qualitySkill
- async-job-qualitySkill
- db-migration-qualitySkill
- frontend-state-qualitySkill
- acceptance-criteriaSkill
- adaptive-flowSkill
- adaptive-prompt-selectionSkill
- adversarial-code-reviewSkill
- architecture-decision-recordsSkill
- brainstormingSkill
- brownfield-spec-enhancementSkill
- bug-fix-lifecycleSkill
- checkpoint-validationSkill
- cicd-integrationSkill
- clarify-before-codeSkill
- claude-code-hooks-packSkill
- code-context-packSkill
- code-intelligence-reviewSkill
- context-policySkill
- context-rich-implementationSkill
- crash-proof-planningSkill
- critique-pass-protocolSkill
- dependency-aware-task-orderingSkill
- deprecation-migrationSkill
- disciplined-diagnosisSkill
- docs-authorSkill
- executing-plansSkill
- external-skillSkill
- finishing-a-development-branchSkill
- git-guardrailsSkill
- goal-driven-executionSkill
- grill-user-before-buildingSkill
- guard-bypass-protocolSkill
- improve-codebase-architectureSkill
- incremental-reviewSkill
- issue-slicingSkill
- lessons-learned-dbSkill
- loop-engineeringSkill
- model-aware-configSkill
- model-weakness-memorySkill
- multi-repo-learningSkill
- orchestration-workflowsSkill
- plan-driven-executionSkill
- plan-from-specSkill
- prd-from-contextSkill
- project-constitutionSkill
- prompt-architectureSkill
- prototype-before-commitmentSkill
- quality-engineSkill
- quality-execution-contractSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
Use for changes involving login, registration, credential reset flows, API authentication, role or permission changes, session management, …
- Distinctive: line 38
Check MFA behavior when the product supports it: enrollment, challenge, recovery, bypass prevention, and degraded states.
- Distinctive: line 39
Verify brute-force protections: lockout or throttling strategy, abuse monitoring, and safe user-facing messages.
- Distinctive: line 46
Add or request negative tests for wrong credential input, expired session artifacts, disabled users, revoked sessions, insufficient role, …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Auth-Quality Checklist
Purpose
Review authentication, session, and authorization work for security, reliability, and test coverage before it ships. Use this checklist to catch common identity and access-control failures early, especially around credentials, sessions, roles, and permission boundaries.
When to use
Use for changes involving login, registration, credential reset flows, API authentication, role or permission changes, session management, refresh flows, identity providers, account status handling, or any endpoint that changes who can access what.
Inputs
- The auth-related change summary and acceptance criteria.
- Affected routes, endpoints, middleware, guards, stores, forms, and data models.
- Current auth policy, role model, session behavior, and relevant security requirements.
- Existing tests for successful and unsuccessful auth flows.
Workflow
- Define the protected assets, actors, roles, and trust boundaries affected by the change.
- Confirm credential rules are explicit: minimum length, complexity or passphrase policy, reuse constraints if applicable, and safe reset behavior.
- Check MFA behavior when the product supports it: enrollment, challenge, recovery, bypass prevention, and degraded states.
- Verify brute-force protections: lockout or throttling strategy, abuse monitoring, and safe user-facing messages.
- Review session lifecycle: creation, expiry, refresh, revocation, logout, concurrent sessions, and disabled-user behavior.
- Review token handling: storage location, transport security, rotation, invalidation, audience or scope checks, and exposure through logs, URLs, browser storage, or error messages.
- Confirm rate limiting exists on auth-sensitive endpoints, including login, registration, reset request, reset completion, MFA challenge, and refresh endpoints where applicable.
- Compare the design against OWASP guidance for authentication, session management, and access control.
- Apply least privilege: default deny, narrow scopes, role checks at the server boundary, and no client-only authorization decisions.
- Inspect test coverage for positive flows, negative flows, edge cases, and regression coverage around permission boundaries.
- Add or request negative tests for wrong credential input, expired session artifacts, disabled users, revoked sessions, insufficient role, malformed auth data, and replay attempts.
- Record any residual risk, missing control, or manual verification step before marking the change ready.
Outputs
- A completed auth quality checklist with pass/fail/needs-follow-up notes.
- Identified security gaps, missing tests, and required fixes before release.
- Verification evidence: test commands, manual checks, or explicit limitations.
Failure modes
- Treating UI checks as sufficient authorization enforcement.
- Adding a happy-path login or permission test while skipping denial-path tests.
- Leaving sessions active after logout, account disablement, role changes, or credential reset.
- Storing sensitive auth artifacts in locations exposed to scripts, logs, URLs, analytics, or crash reports.
- Using vague role names without documenting exact capabilities and default-deny behavior.
- Returning error messages that reveal whether an account exists or which credential field failed.
- Assuming framework defaults cover OWASP expectations without verifying configuration.
Verification checklist
- Credential rules and reset behavior are explicit and tested.
- MFA behavior is reviewed when applicable.
- Brute-force and rate-limiting protections are present for auth-sensitive endpoints.
- Session expiry, refresh, revocation, logout, and disabled-user handling are covered.
- Auth artifacts are stored and transported securely and are not leaked through logs or URLs.
- Server-side authorization follows least privilege and default-deny behavior.
- OWASP authentication, session, and access-control guidance has been considered.
- Positive and negative auth tests exist, including wrong credential input, expired auth data, disabled user, and insufficient permission cases.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

