Llm doc writer
Write token-efficient documentation for LLM context. Use when creating CLAUDE.md, README, technical docs, agent instructions, or any documentation consumed by AI assistants.From its SKILL.md
npx -y skills add bg-szy/TOP-SKILLS --skill llm-doc-writerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.7 KB, 668 tokens by cl100k_base, as published. Nobody here has run it
LLM-Optimized Documentation
Core Principles
| Principle | Rule |
|---|---|
| Density | Max info, min tokens |
| Format | Tables > prose, bullets > paragraphs |
| No fluff | Ban filler words (see list below) |
| Show don't tell | Code examples > explanations |
| Progressive disclosure | TOC + separate files for details |
Banned Patterns
# Filler words - NEVER use
simplement, il suffit de, en fait, basically, just, simply,
it's important to note, as mentioned, obviously, of course,
please note that, keep in mind, remember that
# Redundant structures - NEVER use
"This file contains..." (obvious from filename)
"In this section we will..." (just do it)
"The following example shows..." (just show it)
Format Rules
Tables over Prose
# BAD - 45 tokens
The system supports three modes: development mode which
enables hot reload, production mode which optimizes for
performance, and test mode which mocks external services.
# GOOD - 20 tokens
| Mode | Behavior |
|------|----------|
| dev | Hot reload |
| prod | Optimized |
| test | Mocked services |
Bullets over Paragraphs
# BAD - Narrative
To run the project, first ensure Node.js is installed,
then install dependencies with npm install, and finally
start the dev server with npm run dev.
# GOOD - Scannable
## Run
1. Requires: Node.js 18+
2. `npm install`
3. `npm run dev`
Code over Explanation
# BAD - Explaining
To create a new user, call the createUser function
with an object containing name and email properties.
# GOOD - Showing
```ts
createUser({ name: "Jo", email: "[email protected]" })
## Structure Template
For CLAUDE.md / agent docs:
```markdown
# Project Name
## Stack
- Frontend: React/Vite
- Backend: FastAPI
- DB: PostgreSQL
## Commands
| Action | Command |
|--------|---------|
| Dev | `npm run dev` |
| Test | `npm test` |
| Build | `npm run build` |
## Architecture
[Brief description, link to detailed docs if needed]
## Conventions
- [Rule 1]
- [Rule 2]
Progressive Disclosure
For long docs (>200 lines):
# Main Doc
## Quick Reference
[Essential info here]
## Details
See [ARCHITECTURE.md](ARCHITECTURE.md)
See [API.md](API.md)
Self-Check
Before finalizing, verify:
- No filler words?
- Tables used where possible?
- Bullet points, not paragraphs?
- Examples over explanations?
- < 500 lines (or split)?
- No redundant info?
Examples
See patterns.md for before/after examples.
What ships with it: 2 files
29.4 KB alongside SKILL.md
- patterns.md3.5 KB
- skill-report.json25.9 KB