sourcebook-docs
Use when generating or updating Markdown documentation for an application, library, or design system from a workspace's sourcebook.config file.
Skill by storm-software
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/storm-software-sourcebook-docs
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, design
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/sourcebook-docs
What's inside
- Skill name
sourcebook-docs- Description
- Use when generating or updating Markdown documentation for an application, library, or design system from a workspace's sourcebook.config file.
- License
- Apache-2.0
- Metadata
- author: storm-software · version: 1.0.0
- Instructions
- 110 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (19)
- SKILL.md
- application.md · references/
- asd-ste100.md · references/
- design-system.md · references/
- diagrams.md · references/
- library.md · references/
- _format-BTht7T7g.mjs · scripts/
- babel.cjs · scripts/
- dist-Cb_5xco3.mjs · scripts/
- dist-bDhKCkRD.mjs · scripts/
- json5-CR6PzvNA.mjs · scripts/
- jsonc-CjWg_2xx.mjs · scripts/
- nypm-CDnL212e.mjs · scripts/
- nypm-i8K6xxOG.mjs · scripts/
- read-config.mjs · scripts/
- rolldown-runtime-DK3Fl9T5.mjs · scripts/
- tar-DHh_BzCO.mjs · scripts/
- toml-Din9QkFo.mjs · scripts/
- yaml-D5l7HIDq.mjs · scripts/
SKILL.md (first lines)
# Sourcebook Documentation Document the projects described by the target workspace's `sourcebook.config.*`. 1. Identify the workspace root from the request or current workspace. Run `node <path-to-this-skill>/scripts/read-config.mjs <workspace-root> docs` and parse its JSON stdout. The reader loads the config with c12, validates documentation values, supplies defaults, and omits unrelated options. Stop and report an error if it fails. 2. Process each root config object when `config` is an array, then process every object in its `docs` option. Select **only** the reference matching the documentation object's `type`: [application](references/application.md), [library](references/library.md), or [design-system](references/design-system.md). Read its associated path fields, inspect those locations, and follow that type's guidance. If a path field is absent, inspect the workspace to locate the relevant project material; do not invent a source path. 3. Use root values for each documented project: `displayName`, `homepage`, and `description` provide project context. Apply the root `instructions` to all of its documentation, then apply each documentation object's `instructions` to that object. Ground claims in inspected files and preserve existing user content when updating documents. 4. Write Markdown under each documentation object's `outputPath` (default `docs`). With the root object's `useLocalOutput: true` (default), place documentation under each identified project's own directory; with `false`, place it under the workspace root. Resolve project directories from the repository's structure and manifests. Check final paths remain within the workspace, avoid collisions across config entries, and report the files written. 5. Use only the scoped JSON returned by the reader. Do not read or apply `blog` configuration; `sourcebook-blog` owns it. The config selects projects and guidance, not an exact document list. Choose useful Markdown pages based on the inspected project and the user's request. Install this skill with its `scripts/` and `references/` directories. The scripts bundle `c12` and need no package install. ## Diagrams When a visual would help the intended reader understand a relationship, flow, state change, or comparison, use the [diagram guide](references/diagrams.md). It covers choosing a diagram, making it clear and visually consistent, placing it in Markdown, and checking the rendered result. Ground every diagram in the same inspected sources as the surrounding text; a visual must not imply an unverified contract or behavior. ## Documentation Instructions Write documentation for anything that is currently missing it, but, unless explicitely told, when updating existing documentation, I should ensure we fall into one of the following scenarios: 1. The existing documentation is now out-of-date due to a specific code change I can identify 2. The existing documentation is no longer needed because of a specific code change I can identify ## Writing Style We should write in a non-strict [ASD-STE100 Simplified Technical English, Issue 9 (15 January 2025)](references/asd-ste100.md) style - Karpathy suggests "80% of the way to ASD-STE100" for readability. That is the default here: short sentences, consistent terms, and direct verbs. It is a style choice, not a measured conformity score. The writing reference links the official standard, maps specific rules, gives examples, and includes the tweet's attached image. It also records a dictionary error in that image. Strict drafts require the official rules and dictionary; this package does not certify compliance. The full standard is not redistributed. ## Structure of the Documentation When writing documentation, it is important to know the audience you are writing for and what kind of document you are writing. We try to follow the framework listed below, but there are always some exceptions since the documentation is always changing. This framework is valuable to keep in mind, but we also follow the principle that if a PR is better than the existing content on the site, we'll merge it in and follow up to make it better later if it doesn't perfectly match the standards. ### Types of Documents We are generally following the [Diataxis](https://diataxis.fr) model where documents are divided into tutorials, concept guides, recipes and reference. - Tutorial - Focused on explaining a concept through step by step instructions. - Concept guide - Explains why something works the way it does or how to think about something. - Recipe - Focused directions to accomplish a specific task. Describes how to do something. - Reference - Lists what you can do with the tool (i.e. API docs). ### Audiences We also have different audiences in mind when writing docs: 👶 New user starting from scratch - They know their frameworks of choice - They have probably heard of a library/application similar to the one being documented but don't really know what it is - They're smart and eager to learn 👶 New user migrating an existing repo - They know their frameworks of choice - They know details important to understanding the current library/application - They're smart and eager to learn 👦 Intermediate User - They have a good understanding of the library/application being documented and its ecosystem. - They are comfortable with the library/application and can troubleshoot common issues independently. 👨🦳 Advanced User - They know everything about the library/application being documented except the specific piece of knowledge that is being taught by this document. ### Outline - Getting Started - These documents assume a new user and are generally concept guides with a lot of links to other parts of the site. There are some elements of recipes mixed in, but those should be kept to a minimum. - Tutorials - These are tutorials written for a new user. After completing one of these tutorials, the user should have enough knowledge to be an intermediate user. - Core Features - These are primarily recipes with a little concept mixed in. These documents should be short and provide the basic information that people will want 80% of the time and link to anything more complex. A new user should be able to click through these documents and skim them to get a good understanding of what the current library/application being documented does without getting overwhelmed with details. - Concepts - These are concept guides written for a new user. Any recipe content should be split into a recipe document and linked. - More Concepts (or other categories under Concepts) - These are concept guides written for an intermediate user. - Recipes - These are recipes written for an advanced user. - The Current Library/Application with Your Favorite Tech - These are tutorials written for an intermediate user. - Benchmarks - Reference documents linking to external resources. - Reference - Reference documents. ## Page fields `@sourcebook/core` compiles each Markdown page. Write YAML front matter at the top of every generated page. These fields are required: - `title`: the page title. - `description`: one or two sentences. - `documentType`: the Diataxis kind. Use `getting-started`, `tutorial`, `concept`, `recipe`, or `reference`. Map a Getting Started overview to `getting-started`, a concept guide to `concept`, a core-feature page to `recipe`, and benchmarks to `reference`. `tags` is optional. Use a YAML list or a comma-separated string, and only tags the page has earned. Do not invent tags. The compiler can derive a missing `title` from the first level-1 heading and a missing `description` from the first paragraph. `documentType` has no fallback. Write all three explicitly so a generated page does not depend on that fallback. ```markdown --- title: Run the service locally description: Install dependencies, start the service, and confirm it responds. documentType: getting-started tags: [setup] --- ``` ## Markdown the compiler understands The compiler uses remark and rehype. Write GitHub Flavored Markdown, including tables, task lists, strikethrough, footnotes, and GitHub alerts (`> [!NOTE]`). `:::note` blocks closed by `:::` become admonitions; a bracketed title such as `:::tip[Fast path]` sets the label. End a heading with `[#custom-id]` to choose its id. End a heading with `[!toc]` to keep it out of the table of contents, or `[toc]` to include it and omit it from the body. Level-1 headings are the page title and stay out of the table of contents unless marked `[toc]`.
From storm-software/shell-shock, Apache-2.0.
More from storm-software/shell-shock
- 0.598score
nx-generate
storm-software
Generate code using nx generators.
SkillAFreshness: A★ 2Claude Code +9 - 0.578score
mcp-builder
storm-software
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools.
SkillAFreshness: A★ 2Claude Code +9 - 0.578score
skill-creator
storm-software
Create new skills, modify and improve existing skills, and measure skill performance.
SkillAFreshness: A★ 2Claude Code +9 - 0.573score
caveman
storm-software
Ultra-compressed communication mode.
SkillAFreshness: A★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 1
- Open issues
- 1
- Last commit (this folder)
- Oct 24, 2026 (4 days ago)
- Last release
- Oct 24, 2026 (4 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- Apache-2.0
- Repository
- github.com/storm-software/shell-shock
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from storm-software
- 0.608score
sourcebook-blog
storm-software
Use when generating or updating Markdown content for blog articles.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
sourcebook-adr
storm-software
Use when recording an Architecture Decision Record (ADR) in log4brains/MADR format.
SkillAFreshness: A★ 3Claude Code +9 - 0.598score
create-architectural-decision-record
storm-software
Create an Architectural Decision Record (ADR) document for AI-optimized decision documentation.
SkillAFreshness: A★ 3Claude Code +9 - 0.598score
nx-generate
storm-software
Generate code using nx generators.
SkillAFreshness: A★ 2Claude Code +9 - 0.584score
skill-creator
storm-software
Create new skills, modify and improve existing skills, and measure skill performance.
SkillAFreshness: A★ 3Claude Code +9 - 0.579score
find-skills
storm-software
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express…
SkillAFreshness: A★ 3Claude Code +9
Cite this page
sourcebook-docs skill. Agent Mart. https://agentmart.dev/skills/storm-software-sourcebook-docs (last updated 2026-10-24)