What problem does it solve? Project documentation is often missing, stale, or written aspirationally rather than reflecting the actual code. This Skill reads source files, routes, schemas, and configs to produce accurate ARCHITECTURE.md, API_ENDPOINTS.md, and DATABASE_SCHEMA.md documents. ## Core Features & Use Cases - Project Type Detection: Scans for indicators like wrangler.toml, vite.config.ts, next.config.js, or drizzle.config.ts to identify the stack before documenting. - Three Doc Templates: Generates ARCHITECTURE.md (stack, directory structure, key flows), API_ENDPOINTS.md (routes, auth, request/response shapes), and DATABASE_SCHEMA.md (tables, relationships, migrations). - Safe Updates: Diffs existing docs against the current codebase and preserves hand-written content instead of silently overwriting it. - Use Case: After a major refactor of a Hono API with a Drizzle database, ask the agent to regenerate API_ENDPOINTS.md and DATABASE_SCHEMA.md so onboarding docs match the real routes and tables. ## Quick Start Ask the agent to generate project documentation by analyzing this codebase and writing ARCHITECTURE.md, API_ENDPOINTS.md, and DATABASE_SCHEMA.md.