# Erinrugas Artisan Agents Auth Debug

> Auth Debug Skill

- Skill: `tomevault-io/erinrugas-artisan-agents-auth-debug` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/erinrugas-artisan-agents-auth-debug`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/erinrugas-artisan-agents-auth-debug/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/erinrugas-artisan-agents-auth-debug

---


# Auth Debug Skill

## When to Apply
- Login succeeds but users appear unauthenticated.
- Requests return 401/403 unexpectedly.
- Session/cookie/token handling is inconsistent across environments.

## Workflow
1. Read auth-related requirements from `specs/specs.md` and `specs/security-spec.md`.
2. Identify auth model in use (session cookie, token, OAuth, SSO, hybrid).
3. Trace the failing request path:
   - client request headers/cookies
   - server middleware/guards
   - role/policy checks
4. Verify environment/config factors (domains, CORS, secure cookie, token expiry).
5. Propose minimal fix and include regression tests/checklist.

## Quality Bar
- No broad permission bypasses.
- Preserve least privilege.
- Include one concrete reproduction and one verification path.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/erinrugas) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

