Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Vis Docs?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/blockether-vis-docs)
---
name: vis-docs
description: Write or change the Vis manual in resources/vis-docs/ or the README. Gives the model page, the writing rules, the cut rules, and the checks.
---
# Vis documentation
Write so that a tired engineer understands on the first read. The manual and the README are for
people who use Vis or build on it. They are not instructions for agents.
## Use the Overview as the model
`resources/vis-docs/index.md` sets the voice of the manual. Read it before you write, and copy
what it does:
- The first sentence says what the thing is, in words that a developer says out loud: "Vis is an AI agent that works in your project."
- An example follows a general statement: "For example, a database query shows as formatted SQL, and its result shows as a table."
- A new idea starts from what the reader knows: "Most coding agents give the model a fixed list of tools. Vis gives the model a CPython interpreter instead."
- Real code or a real prompt comes before the rules about it. One sentence after the block says what matters.
- A claim has its reason or its number: "This needs fewer model steps than a new plan for each release."
- A paragraph has one point in two to four sentences. Its last sentence links to the page that owns the detail.
- A link says the task in the reader's words: "[Continue, stop, fork, or find your work](sessions.md)".
## Choose one mode for each section
One section has one mode. If a page mixes modes, split the page and link the parts.
- **Tutorial.** Say what the reader builds. Each step has a result, and you say what the reader sees.
- **How-to.** Name the section by the task. Give the condition, the steps, and the expected result. Do not explain.
- **Reference.** Only describe. Use a table or a list, in the order of the thing that it describes.
- **Explanation.** Cover one topic and give the reasons. Only this mode can have an opinion.
In a user guide, show the chat or the UI steps first. Put the calls that only the agent or a
program makes in a reference section at the end of the page, or on the `X-api` page.
## Write each sentence for one reading
- Use the short word that a developer says: "use", "start", "about". Do not invent a term.
- Write the real name of the symbol, file, flag, or command. Use one name for each thing, on each page.
- Address the reader as "you", in the present tense. Name the actor and use the active voice.
- Write an instruction as a command. Put the condition or the warning before the step that it guards.
- Write one instruction or one thought in each sentence. Split a sentence that has two.
- Mix short and long sentences. Do not start two sentences in a row with the same words.
- Be specific. Not "schema changes can cause problems", but "a column rename fails the build".
- Give the number, not an adverb. Give the mechanism, not an adjective.
- Make each "it", "they", and "this" point at one thing. Keep "that", "the", and "a".
- Keep "only" and "not" next to the word that they change. Break up a string of three or more nouns.
- Before the reader acts, state the prerequisite, the cost, the permission, and the destructive effect.
- Use serial commas. Put code in code font and UI elements in bold.
- Write a heading in sentence case, and let the heading state its point.
- Use a numbered list for a sequence and bullets for other lists. Introduce a list with a complete sentence. Keep the items parallel.
- Write each `See also` item as one sentence with the goal first: "To turn a repeated task into a tool, read [Extending Vis](extending.md)."
## Cut each word that does no work
Keep each fact. A fact is an option, a default, a limit, a path, a command, a key, or an error with
its fix. A prerequisite, a cost, and a permission are facts too. Cut these:
- A sentence that restates its heading, announces what follows, or repeats the code block or the table next to it.
- A sentence that can appear unchanged in the manual of another project.
- A fact that another page owns. Give each fact one owner page, and link to that page.
- A rule for a case that the reader cannot cause.
- Words before the point: "Note that", "Keep in mind that", "It is important to".
- A negative list where one positive statement says the same.
When a rule makes a sentence worse, write the sentence a different way.
## Do not write these
- Dashes between clauses, semicolons, slashes between words, "(s)", arrows, or Latin abbreviations. Use a full stop, a comma, "and", or "or".
- A colon in the middle of a sentence. A colon goes before a list, a quotation, or an example.
- Parentheses that are not a full grammatical unit, curly quotes, or decorative emojis.
- "Simply", "easy", "quickly", "just", "please", or two hedges in one sentence. The one hedge is "may".
- "Not only X but Y", "serves as", or "from X to Y" without a real scale.
- Ideas forced into groups of three, or a trailing "-ing" phrase that adds no fact.
- Words such as "crucial", "enhance", "seamless", "robust", and "powerful".
- A metaphor, an idiom, or an abstract noun such as "surface", "primitive", or "harness". A real API name stays, in code font.
- A bold label that restates its line, or a conclusion that repeats the page.
- Apologies, disclaimers, or notes on how you made the text or the screenshots.
## Keep the page contract
The docstring of `src/com/blockether/vis/internal/docs/core.clj` states the page contract, and
`resources/vis-docs/site.json` owns the titles, the blurbs, and the order of the pages. The tests
refuse a page that breaks one of these rules:
- The first line is `# ` and the `title` from `site.json`. A lead paragraph follows. `index.md` has no `#` heading.
- Outside **Get started**, the first `##` is `When to use`, with two or more items. Each item opens with the reader's problem as one bold sentence, in the reader's words. A link to the section that solves the problem follows: "**Vis misses a project convention.** [Write a rule in `AGENTS.md`](#project-rules-agents-md)."
- `apropos` searches the lead, the headings, and the bold problems of `When to use`. Keep the words that a reader types there, such as "context window", "crash", or "API key".
- The last `##` is `See also`, with links to two or more pages.
- Headings are `##` and `###` only. Each relative link and each `#anchor` resolves.
- A sentence has at most 25 words. A paragraph or a list item has at most six sentences and 800 characters. A code span counts as one word.
- A fenced block declares one of the languages that `fence-languages` lists in `test/com/blockether/vis/internal/docs/core_test.clj`.
- A concept page `X` links its `X-api` page in **Feature APIs**.
Some tests read code blocks from the manual and run them. When you change a code block or rename
a heading, search `test/` and the pinned SDK tests for the file name of the page.
The README links to the manual and to Curated Terminal Benchmark. Do not copy the manual into it.
## Check the result
1. Read the page from the first line as a new reader. Each paragraph must give you a fact or an action.
2. Compare the page with `git diff`. Each option, default, limit, path, command, and key of the old text must be on the page or on its owner page.
3. Run the docs checks of `.github/workflows/docs.yml`. The page contract is `clojure -M:test --namespace com.blockether.vis.internal.docs.core-test --namespace com.blockether.vis.internal.docs.corpus-test`.
4. If you changed a code block, run the tests of the pinned SDK tests that read the page.
5. If you changed the OpenAPI document, also run `com.blockether.vis.contract.openapi-test`.