storm-software/sourcebook
Generate workspace documentation and update blog articles and project READMEs, improve TypeScript TSDoc comments, and record architecture decisions with the Sourcebook agent skills.
Runs a workspace documentation pass by following the sourcebook-tsdoc, sourcebook-story, sourcebook-docs, sourcebook-guide, sourcebook-openapi, sourcebook-readme, and sourcebook-editor skills one at a time. Use when a schedule or the user asks to document a repository that has never been through Sourcebook, or to update component stories and their catalog, Markdown docs, guides, OpenAPI descriptions, and READMEs after code changes. Not for a single README, one guide, one spec, a blog post, an ADR, or a review of one page.
Use when recording an Architecture Decision Record (ADR) in log4brains/MADR format. Trigger proactively, without being asked, right after an agent makes a significant technology change (adopting, replacing, or removing a framework, library, language, build tool, data store, protocol, or hosting/infra; changing a public API contract, architecture pattern, or security model) or after the user settles a significant design decision the agent asked them to make. Also use when the user asks to write, supersede, or deprecate an ADR. Not for bug fixes, routine refactors, or minor dependency bumps.
Use when generating or updating Markdown content for blog articles.
Use when generating or updating Markdown documentation for an application, library, or design system from a workspace's sourcebook.config file.
Use when reviewing or polishing updates to existing Markdown documentation or blog articles for clarity, accuracy, and reader usefulness; not for generating new docs or articles.
Use when the user asks for a guided walk-through of some functionality — a step-by-step tour that traces a feature, flow, command, or module through the real code or through real usage, for a stated audience. Invoked by the user (for example /sourcebook-guide <topic>); asks for any missing details before starting.
Use when adding or updating summaries, descriptions, tags, and other documentation fields in an existing OpenAPI or Swagger specification from what the workspace implements. Use when the user asks to document an API spec, fill in OpenAPI operation summaries or descriptions, or tag endpoints from the code. Not for changing paths, schemas, security, or generating a new specification.
Use when creating or updating a specific project's README.md for an application or library, ensuring it contains Quick Features, Installation, Usage, and Development sections while preserving existing content.
Use when writing or updating Fumadocs Story files (*.story.tsx) that show how to use a component, its anatomy, and its variants, and when generating the component catalog's MDX pages from those files with @sourcebook/core. Use when the user asks for component stories, live component docs, or a component catalog. Not for Storybook *.stories.tsx files, hand-written Markdown component pages, or design tokens, fonts, and icons.
Use when reviewing or improving TypeScript TSDoc or JSDoc comments, documenting exported functions, classes, interfaces, types, and properties, or preparing source comments for Sourcebook. Use for missing or stale API comments and custom callouts or acknowledgements. Not for runtime refactors, Markdown pages, or creating component stories.