From skillry-documentation-and-tech-writing
Use when you need to structure or restructure a project README and a documentation site — defining required sections, a 5-minute quickstart, a navigable table of contents, and a docs-as-code layout that lives in the repo and builds in CI.
How this skill is triggered — by the user, by Claude, or both
Slash command
/skillry-documentation-and-tech-writing:301-readme-and-docs-structureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Define a predictable, navigable information architecture for a project's entry-point README and its larger documentation site. Cover the required README sections in reading order, a quickstart that gets a new user to first success in under five minutes, a table of contents that scales, and a docs-as-code layout (Markdown in the repo, built by a static site generator, validated in CI). The goal ...
Define a predictable, navigable information architecture for a project's entry-point README and its larger documentation site. Cover the required README sections in reading order, a quickstart that gets a new user to first success in under five minutes, a table of contents that scales, and a docs-as-code layout (Markdown in the repo, built by a static site generator, validated in CI). The goal is that a newcomer can install, run, and find any topic without asking a maintainer.
docs/ tree.# Find every doc-like file and the README
find . -maxdepth 3 \( -name "README*" -o -name "*.md" -o -name "*.rst" \) \
-not -path './node_modules/*' -not -path './.git/*' | sort
# Detect an existing docs generator
ls mkdocs.yml docusaurus.config.* docs/conf.py book.toml hugo.toml 2>/dev/null
cat mkdocs.yml docusaurus.config.js 2>/dev/null | head -40
A complete README, top to bottom: project name + one-line value statement; status badges (build, version, license); a short "What is this / Why" paragraph; Quickstart (install + minimal run); Usage with one real example; Configuration (env vars, flags); Links to deeper docs; Contributing; License. Anything longer than a screen of detail belongs in docs/, linked — not inline.
The quickstart must be copy-pasteable and produce visible success. Prerequisites first, then exact commands, then the expected output so the reader can self-verify.
# Verify the documented install path actually works from a clean checkout
git clone <repo-url> /tmp/docs-smoke && cd /tmp/docs-smoke
# run the exact commands from the quickstart, unmodified, and compare output
Group by user goal, not by source-code layout. A scalable top level: Getting Started, Guides (how-to), Reference, Concepts (explanation), Operations, Contributing. Keep nesting to two levels where possible.
# mkdocs.yml — nav grouped by user intent
nav:
- Home: index.md
- Getting Started:
- Installation: getting-started/install.md
- Quickstart: getting-started/quickstart.md
- Guides:
- Configure auth: guides/auth.md
- Reference:
- CLI: reference/cli.md
- API: reference/api.md
- Concepts: concepts/architecture.md
- Operations: operations/runbook.md
Docs live beside code in docs/, are reviewed in the same pull request as the change they describe, and are built and link-checked in CI. Pin the generator version so builds are reproducible.
# Build must succeed (fail the job on warnings)
mkdocs build --strict # MkDocs
# or: npm run build # Docusaurus
# Catch dead internal/external links
npx --yes markdown-link-check -q docs/**/*.md
# or: lychee --no-progress docs/ README.md
docs/ and linked, not pasted inline in the README.# to ###).--strict (or equivalent) in CI on every PR.# ProjectName
> One sentence: what it does and who it is for.
  
## What is this
Two or three sentences on the problem solved and when to reach for it.
## Quickstart
Prerequisites: <runtime + version>
<install command>
<minimal run command>
Expected output:
<the exact lines a working setup prints>
## Usage
One realistic example with input and output.
## Configuration
| Variable | Required | Default | Description |
|---------------|----------|---------|----------------------|
| `SERVICE_URL` | yes | — | Upstream service URL |
## Documentation
- [Guides](docs/guides/) · [Reference](docs/reference/) · [Concepts](docs/concepts/)
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md).
## License
MIT — see [LICENSE](LICENSE).
src/ tree instead of user goals.docs/, drifting apart over time.# H1s on one page, breaking the auto-generated ToC.Produce: (1) a gap list of missing or out-of-order README sections; (2) a proposed docs/ tree and navigation config; (3) the rewritten Quickstart with verified expected output; (4) the CI build + link-check command to add; (5) a prioritized fix list (broken links and stale install steps first).
Provides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.
npx claudepluginhub fluxonlab/skillry --plugin skillry-documentation-and-tech-writing