Docs gen
Skill GlamgarOnDiscord/claude-saas-blueprint/.claude/skills/docs-gen
Plug-and-play AI workflow that turns Claude Code, Cursor, Copilot or any AI agent into a senior SaaS engineer. Hexagonal architecture, multi-tenant by default, 31 skills + APEX workflow.
npx -y skills add GlamgarOnDiscord/claude-saas-blueprint --skill docs-genAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Génère la documentation du projet : API docs, README, architecture. Utilise les scripts Python et l'analyse du code réel.
SKILL.md
2.5 KB, as published. Nobody here has run it
Modes
/docs-gen api — Documentation API
- Scanner les routes :
Grep "export.*async function (GET|POST|PUT|DELETE|PATCH)" app/api/ - Pour chaque route, lire le fichier et extraire : méthode, auth requise, body Zod schema, réponses
- Format de chaque endpoint :
### POST /api/invoices **Auth** : Requis — `session.user.organizationId` **Body** : `{ amount: number, clientId: string }` (Zod schema: `CreateInvoiceSchema`) **201** : `{ data: Invoice }` **400** : `{ error: string, details: ZodError[] }` **401** : `{ error: "Unauthorized" }` **Rate limit** : 10 req/min - Écrire dans
docs/api.md
/docs-gen readme — README du projet
- Lire
.claude/memory/stack.md+project-scan.md+package.json - Lire la structure réelle avec Glob
- Générer un README avec :
- Description + stack (versions réelles du lockfile)
- Prérequis (Node, pnpm, Supabase CLI, Vercel CLI)
- Setup en 5 commandes : clone → install →
.env.local→supabase start→pnpm dev - Scripts disponibles (depuis
package.json) - Architecture hexagonale (
src/core/,src/adapters/, etc.) - Commandes Python utiles (
scripts/README.md)
/docs-gen architecture — Diagramme d'architecture
- Scanner la structure réelle avec Glob
- Générer un diagramme Mermaid des flux principaux :
- Auth flow (login → session → middleware → route)
- Data flow (request → Zod → usecase → port → adapter → DB)
- Multi-tenancy flow (
organizationIddans chaque query)
- Documenter les choix techniques depuis
.claude/memory/decisions.mdetdocs/adr/ - Écrire dans
docs/architecture.md
/docs-gen schema — Documentation DB
- Lire les fichiers de migration
supabase/migrations/*.sql - Extraire toutes les tables, colonnes, FK, index
- Générer un diagramme ERD en Mermaid
- Documenter les policies RLS pour chaque table
- Écrire dans
docs/db-schema.md
/docs-gen onboarding — Guide développeur
Générer docs/ONBOARDING.md step-by-step :
- Prérequis + setup env (pointer vers
/env-setup) - Architecture expliquée (hexagonale : core vs adapters)
- Conventions (kebab-case, types, erreurs typées)
- Workflow de contribution (branch → APEX → PR → deploy)
- Commandes du quotidien :
project_health.py,supabase_migrate.py, etc.