gezweb/claude-skills

Genera documentación de proyectos a partir del análisis del código base: ARCHITECTURE.md, API_ENDPOINTS.md, DATABASE_SCHEMA.md. Lee el código fuente, archivos de esquema, rutas y configuración para producir documentación precisa y estructurada. Útil al iniciar un proyecto, incorporar colaboradores o cuando la documentación falta o está desactualizada. Disparadores: 'generate docs', 'document architecture', 'create api docs', 'document schema', 'project documentation', 'write architecture doc'.

¿Qué es claude-skills?

Esta habilidad de agente de IA automatiza la creación de documentación técnica de proyectos de software mediante el análisis profundo del código base. En lugar de confiar en suposiciones o documentación obsoleta, examina archivos fuente, configuraciones, esquemas de base de datos y definiciones de rutas para generar tres documentos clave: ARCHITECTURE.md (visión general del sistema, pila tecnológica y flujos principales), API_ENDPOINTS.md (rutas, métodos, parámetros y formatos de respuesta) y DATABASE_SCHEMA.md (tablas, relaciones, migraciones e índices). La habilidad es compatible con cualquier proyecto que contenga archivos de código, independientemente del lenguaje o framework, y se activa mediante frases como 'generar documentación' o 'documentar arquitectura'. Su flujo de trabajo incluye la detección automática del tipo de proyecto (por ejemplo, Cloudflare Workers, React SPA, Astro, Next.js, Hono API, Python o Rust), la selección interactiva de los documentos a generar, el escaneo inteligente de los archivos relevantes y la escritura de la documentación en el directorio `docs/` o en la raíz del proyecto. Además, incorpora reglas de calidad como documentar solo lo que existe, incluir versiones reales, mostrar formas de respuesta reales y evitar sobrescribir contenido personalizado del usuario.

Compatible con✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jezweb/claude-skills/tree/HEAD/plugins/dev-tools/skills/project-docs

Installed? Explore more Productividad y colaboración skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

Generador de Documentación de Proyectos

Genera documentación estructurada de proyectos analizando el código base. Produce documentación que refleja el código real, no la arquitectura aspiracional.

Cuándo Usarlo

  • Un proyecto nuevo necesita documentación inicial
  • La documentación falta o está desactualizada
  • Al incorporar a alguien al código base
  • Actualización de documentación después de una refactorización

Flujo de Trabajo

1. Detectar el Tipo de Proyecto

Escanea la raíz del proyecto para determinar qué tipo de proyecto es:

IndicadorTipo de Proyecto
wrangler.jsonc / wrangler.tomlCloudflare Worker
vite.config.ts + src/App.tsxReact SPA
astro.config.mjsSitio Astro
next.config.jsAplicación Next.js
package.json con honoAPI Hono
src/index.ts con HonoServidor API
drizzle.config.tsTiene capa de base de datos
schema.ts o schema/Tiene esquema de base de datos
pyproject.toml / setup.pyProyecto Python
Cargo.tomlProyecto Rust

2. Preguntar Qué Generar

¿Qué documentación debo generar?
1. ARCHITECTURE.md — visión general del sistema, pila, estructura de directorios, flujos clave
2. API_ENDPOINTS.md — rutas, métodos, parámetros, formas de respuesta, autenticación
3. DATABASE_SCHEMA.md — tablas, relaciones, migraciones, índices
4. Todo lo anterior

Solo ofrece documentación que coincida con el proyecto. No ofrezcas API_ENDPOINTS.md para un sitio estático. No ofrezcas DATABASE_SCHEMA.md si no hay base de datos.

3. Escanear el Código Base

Para cada documento solicitado, lee los archivos fuente relevantes:

ARCHITECTURE.md — escanea:

  • package.json / pyproject.toml (pila, dependencias)
  • Puntos de entrada (src/index.ts, src/main.tsx, src/App.tsx)
  • Archivos de configuración (wrangler.jsonc, vite.config.ts, tsconfig.json)
  • Estructura de directorios (primeros 2 niveles)
  • Módulos clave y sus exportaciones

API_ENDPOINTS.md — escanea:

  • Archivos de rutas (src/routes/, src/api/, o en línea en index)
  • Archivos de middleware (autenticación, CORS, registro)
  • Tipos de solicitud/respuesta o esquemas Zod
  • Patrones de manejo de errores

DATABASE_SCHEMA.md — escanea:

  • Archivos de esquema Drizzle (src/db/schema.ts, src/schema/)
  • Archivos de migración (drizzle/, migrations/)
  • Archivos SQL sin procesar si están presentes
  • Archivos de seed si están presentes

4. Generar Documentación

Escribe cada documento en docs/ (crea el directorio si no existe). Si el proyecto ya tiene documentación allí, ofrécete a actualizarla en lugar de sobrescribirla.

Para proyectos pequeños sin directorio docs/, escribe en la raíz del proyecto.

Plantillas de Documentos

ARCHITECTURE.md

# Arquitectura

## Visión General
[Un párrafo: qué hace este proyecto y cómo está estructurado]

## Pila Tecnológica
| Capa | Tecnología | Versión |
|-------|------------|---------|
| Entorno de ejecución | [ej. Cloudflare Workers] | — |
| Framework | [ej. Hono] | [versión] |
| Base de datos | [ej. D1 (SQLite)] | — |
| ORM | [ej. Drizzle] | [versión] |
| Frontend | [ej. React 19] | [versión] |
| Estilos | [ej. Tailwind v4] | [versión] |

## Estructura de Directorios
[Árbol anotado — primeros 2 niveles con comentarios de propósito]

## Flujos Clave
### [Flujo 1: ej. "Autenticación de Usuario"]
[Paso a paso: solicitud → middleware → manejador → base de datos → respuesta]

### [Flujo 2: ej. "Pipeline de Procesamiento de Datos"]
[Paso a paso a través del sistema]

## Configuración
[Archivos de configuración clave y qué controlan]

## Despliegue
[Cómo desplegar, variables de entorno necesarias, comandos de compilación]

API_ENDPOINTS.md

# Endpoints de la API

## URL Base
[ej. `https://api.example.com` o relativo `/api`]

## Autenticación
[Método: token Bearer, cookie de sesión, clave API, ninguno]
[De dónde vienen los tokens, cómo obtenerlos]

## Endpoints

### [Grupo: ej. Usuarios]

#### `GET /api/users`
- **Autenticación**: Requerida
- **Parámetros**: `?page=1&limit=20`
- **Respuesta**: `{ users: User[], total: number }`

#### `POST /api/users`
- **Autenticación**: Requerida (admin)
- **Cuerpo**: `{ name: string, email: string }`
- **Respuesta**: `{ user: User }` (201)
- **Errores**: 400 (validación), 409 (correo duplicado)

[Repetir para cada endpoint]

## Formato de Error
[Forma de respuesta de error estándar]

## Límites de Velocidad
[Si aplica]

DATABASE_SCHEMA.md

# Esquema de Base de Datos

## Motor
[ej. Cloudflare D1 (SQLite), PostgreSQL, MySQL]

## Tablas

### `users`
| Columna | Tipo | Restricciones | Descripción |
|---------|------|---------------|-------------|
| id | TEXT | PK | UUID |
| email | TEXT | UNIQUE, NOT NULL | Correo del usuario |
| name | TEXT | NOT NULL | Nombre para mostrar |
| created_at | TEXT | NOT NULL, DEFAULT now | Marca de tiempo ISO |

### `posts`
[Mismo formato]

## Relaciones
[Claves foráneas, patrones de unión, reglas de cascada]

## Índices
[Índices no primarios y por qué existen]

## Migraciones
- Generar: `npx drizzle-kit generate`
- Aplicar local: `npx wrangler d1 migrations apply DB --local`
- Aplicar remoto: `npx wrangler d1 migrations apply DB --remote`

## Datos de Seed
[Referencia al script de seed si existe]

Reglas de Calidad

  1. Documenta lo que existe, no lo planeado — lee el código real, no inventes endpoints ni tablas
  2. Incluye versiones — extráelas de package.json/archivos de bloqueo, no de memoria
  3. Muestra formas de respuesta reales — copia los tipos de TypeScript o esquemas Zod del código
  4. Mantenlo escaneable — tablas en lugar de párrafos, bloques de código en lugar de prosa
  5. No dupliques CLAUDE.md — si la información de arquitectura ya está en CLAUDE.md, muévela a ARCHITECTURE.md o haz referencia a ella
  6. Señala vacíos — si encuentras rutas no documentadas o tablas sin un propósito claro, anótalas con <!-- TODO: documentar propósito -->

Actualizar Documentación Existente

Si ya existen documentos:

  1. Lee el documento existente
  2. Compara con el código base actual
  3. Muestra al usuario qué ha cambiado (nuevos endpoints, tablas eliminadas, pila actualizada)
  4. Aplica actualizaciones preservando cualquier nota o sección escrita a mano

Nunca sobrescribas silenciosamente contenido personalizado que el usuario haya agregado a sus documentos.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

jezweb/ai-image-generator

Generate AI images using Gemini or GPT APIs directly. Covers model selection (Gemini for scenes; GPT Image 2 for text rendering, batch variations, multi-reference compositing; GPT Image 1.5 for transparent icons), the 5-part prompting framework, API calling patterns, multi-turn editing, and quality assurance. Produces photorealistic scenes, icons, illustrations, OG images, posters, infographics, and product shots. Use when building websites that need images, creating marketing assets, or generating visual content. Triggers: 'generate image', 'ai image', 'create hero image', 'make an icon', 'generate illustration', 'create og image', 'poster', 'infographic', 'image variations', 'gpt-image-2', 'ai art', 'image generation'.

jezweb/aussie-business-english

Australian business English writing style for professional communications — warm, direct, EN-AU spelling (colour, organise, centre). Use whenever the user is writing for an Australian audience: emails, chat messages, proposals, client communications, blog posts, web copy, or any business writing. Apply to drafting, editing, and tone-checking professional text.

jezweb/claude-skills

Generate a complete, deployable landing page from a brief. Produces a single self-contained HTML file with Tailwind CSS (via CDN), responsive design, dark mode, semantic HTML, and OG meta tags. Sections: hero with CTA, features, social proof, pricing (optional), FAQ, footer. Use when building a marketing page, product launch page, coming soon page, or any standalone landing page. Triggers: 'landing page', 'create a page', 'marketing page', 'launch page', 'coming soon page', 'one-page site'.

jezweb/claude-skills

Agent skill at plugins/social-media/skills/social-media-posts/SKILL.md

jezweb/cloudflare-worker-builder

Scaffold and deploy Cloudflare Workers with Hono routing, Vite plugin, and Static Assets. Describe project, scaffold structure, configure bindings, deploy. Use whenever the user wants to create a Worker project, set up Hono on Cloudflare, configure D1 / R2 / KV / Queues bindings, or troubleshoot Worker export syntax, API route conflicts, HMR issues, or deployment failures.

jezweb/color-palette

Generate complete, accessible colour palettes from a single brand hex. Produces 11-shade scale (50-950), semantic tokens, dark mode variants, Tailwind v4 CSS output, WCAG contrast checks. Use whenever the user supplies a brand hex and asks for a palette, mentions setting up a design system, wants Tailwind theme colours from a brand colour, or asks to check colour accessibility / contrast.

jezweb/d1-drizzle-schema

Generate Drizzle ORM schemas for Cloudflare D1 databases with correct D1-specific patterns. Produces schema files, migration commands, type exports, and DATABASE_SCHEMA.md documentation. Handles D1 quirks: foreign keys always enforced, no native BOOLEAN/DATETIME types, 100 bound parameter limit, JSON stored as TEXT. Use when creating a new database, adding tables, or scaffolding a D1 data layer.

jezweb/elevenlabs-agents

Build conversational AI voice agents on the ElevenLabs platform. Configure agent + tools + knowledge base, integrate SDK (React / React Native / Swift / JS / server-side), test, deploy. Use whenever the user mentions ElevenLabs, building a voice agent, an AI phone system, an AI receptionist, conversational AI, or troubleshooting deprecated @11labs packages, webhook errors, CSP violations, localhost allowlist, or tool parsing errors.

jezweb/fastapi

Build Python APIs with FastAPI, Pydantic v2, and SQLAlchemy 2.0 async. Covers project structure, JWT auth, validation, and database integration with uv package manager. Prevents 7 documented errors. Use when: creating Python APIs, implementing JWT auth, or troubleshooting 422 validation, CORS, async blocking, form data, background tasks, or OpenAPI schema errors.

jezweb/favicon-gen

Generate custom favicons from logos, text, or brand colours. Produces favicon.svg, favicon.ico, apple-touch-icon.png, icon-192/512.png, and web manifest. Use whenever the user wants a favicon, mentions replacing a CMS default favicon, converting a logo into a favicon, creating branded initials icons, or troubleshooting favicon not displaying / iOS black square / missing manifest.

jezweb/github-release

Prepare and publish GitHub releases. Sanitizes code for public release (secrets scan, personal artifacts, LICENSE/README validation), creates version tags, and publishes via gh CLI. Trigger with 'release', 'publish', 'open source', 'prepare for release', 'create release', or 'github release'.

jezweb/google-apps-script

Build Google Apps Script automation for Sheets and Workspace. Custom menus, triggers (onEdit / time-driven / form submit), dialogs, sidebars, email batches, PDF export, external API. Use whenever the user wants to automate a Google Sheet, build a Sheets menu / sidebar / dialog, hit a Sheets row from email or a webhook, schedule a Sheets workflow, or asks 'how do I script this in Sheets'.

jezweb/google-chat-messages

Send Google Chat messages via incoming webhooks — text, rich cards (cardsV2), threaded replies. TypeScript types, card builder utility, widget reference inline. Use whenever the user wants to post to Google Chat from a script, build a chatbot reply, send a notification card, build a Google Chat webhook integration, or troubleshoot card / threading issues.

jezweb/hono-api-scaffolder

Scaffold Hono API routes for Cloudflare Workers. Produces route files, middleware, typed bindings, Zod validation, error handling, and API_ENDPOINTS.md documentation. Use after a project is set up with cloudflare-worker-builder or vite-flare-starter, when you need to add API routes, create endpoints, or generate API documentation.

jezweb/icon-set-generator

Generate cohesive, project-specific SVG icon sets for websites and applications. Use this skill whenever the user needs custom icons, an icon set for a website or app, icons for a client project, or mentions needing SVG icons that look consistent together. Also trigger when the user describes a project and icons would naturally be part of the deliverable — e.g. 'I'm building a site for a plumber' implies they'll need service icons. Trigger on: 'icons for', 'icon set', 'custom icons', 'SVG icons', 'make me icons', 'I need icons', 'website icons', 'project icons', or any request for consistent visual assets for a web project. Produces individual SVG files with a consistent style engine, not generic icon library lookups.

jezweb/image-processing

Process images for web development — resize, crop, trim whitespace, convert formats (PNG/WebP/JPG), optimise file size, generate thumbnails, create OG card images. Uses Pillow (Python) — no ImageMagick needed. Trigger with 'resize image', 'convert to webp', 'trim logo', 'optimise images', 'make thumbnail', 'create OG image', 'crop whitespace', 'process image', or 'image too large'.

jezweb/mcp-builder

Build MCP servers in Python with FastMCP. Define tools / resources / prompts, build the server, test locally, deploy to FastMCP Cloud or Docker. Use whenever the user mentions building an MCP server, exposing tools to LLMs, FastMCP, building a Claude integration, or troubleshooting FastMCP module-level server, storage, lifespan, middleware, OAuth, or deployment errors.

jezweb/nextjs

Build Next.js 16 apps with App Router, Server Components/Actions, Cache Components ("use cache"), and async route params. Includes proxy.ts and React 19.2. Prevents 25 documented errors. Use when: building Next.js 16 projects, or troubleshooting async params (Promise types), "use cache" directives, parallel route 404s, Turbopack issues, i18n caching, navigation throttling.

jezweb/project-health

All-in-one project configuration and health management. Sets up new projects (settings.local.json, CLAUDE.md, .gitignore), audits existing projects (permissions, context quality, MCP coverage, leaked secrets, stale docs), tidies accumulated cruft, captures session learnings, and adds permission presets. Uses sub-agents for heavy analysis to keep main context clean. Trigger with 'project health', 'check project', 'setup project', 'kickoff', 'bootstrap', 'tidy permissions', 'clean settings', 'capture learnings', 'audit context', 'add python permissions', or 'init project'.

jezweb/react-hook-form-zod

Build type-safe validated forms using React Hook Form v7 and Zod v4. Single schema works on client and server with full TypeScript inference via z.infer. Use when building forms, multi-step wizards, or fixing uncontrolled warnings, resolver errors, useFieldArray issues, performance problems with large forms.

Skills relacionados