publishing-documents
Skill1 starsChanged 13 days agoMITView on GitHub
Use when someone needs a document outside the repo, as a PDF or single-file HTML for a partner, client, auditor or manager, such as project docs, a report, a proposal or client release notes
In this repository36 other files it gives its agents.
- skills/writing-skills/references/agents.mdAGENTS.md
- templates/CLAUDE.mdCLAUDE.md
- backend-servicesSkill
- brainstormingSkill
- changing-legacy-codeSkill
- choosing-a-stackSkill
- ci-quality-gatesSkill
- database-changesSkill
- desktop-developmentSkill
- dispatching-parallel-agentsSkill
- docsSkill
- executing-plansSkill
- finishSkill
- git-workflowSkill
- implementSkill
- kit-initSkill
- mobile-developmentSkill
- new-taskSkill
- observabilitySkill
- onboarding-existing-codebaseSkill
- payments-and-moneySkill
- pos-systemsSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- security-reviewSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- ui-motionSkill
- updating-dependenciesSkill
- using-skillsSkill
- verification-before-completionSkill
- verifySkill
- web-frontendSkill
- writing-documentationSkill
- writing-plansSkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Audience: Read every source for what this reader must not see: internal decisions and their reasons, prices, costs and margins, internal …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Publishing documents
A published document is a view of Markdown kept in the repo, built by one command into a single-file HTML and a PDF in the project's look. Its reader has no repo access: what they get stands on its own and holds only what is meant for them.
The source stays Markdown in the repo
- Project docs for outsiders: choose chapters of
docs/, never copy them.--docstakes every chapter indocs/README.md's order; listing files takes only those, in your order. - A report or proposal:
docs/publish/<doc>.mdwith frontmatter (title,subtitle,audience,version,date,lang,author), committed like any doc. Write it in English unless the user asks for another language, and setlangto match. - Client release notes:
--changelog <version>. Where the entries are written for developers, write the client's version asdocs/publish/release-<version>.mdinstead.
A copy edited for one reader drifts from the docs. When a chapter must differ for an audience, leave it out, or give that audience its own document in docs/publish/.
Build
node "<this skill's directory>/scripts/publish.mts" docs/01-overview.md docs/02-integration.md \
--title "Payouts integration" --audience "Acme" --version 1.4 --out <ignored dir>- Tools: pandoc ≥ 3.8, Typst, and mermaid-cli when there are diagrams; on Windows, run it in WSL. The script names what is missing; installing it needs the user's agreement.
- Markdown is read as the repo host reads it (GitHub-style). Each chapter keeps its own heading anchors; a chapter's frontmatter is ignored.
- Theme: once per project,
--init-theme docs/publish/themeand commit it; colours and fonts are at the top ofbrand.typandbrand.css. The build uses that folder when it exists, else the kit's theme (--themepicks another). - Output: a folder git ignores; the Markdown is the record.
- A failed build lists every finding: a link into the repo, an anchor that isn't there, a missing image, a raw HTML link or image pointing at a local file (write it as Markdown), a diagram that doesn't render. For links into the repo,
--drop-repo-linkskeeps their text;--repo-urlonly when this reader can open the repo. A diagram'saccTitleis its alt text. - The team's docs stay written for the team. Don't remove their links or rename code in them to suit an outside reader; the build options, leaving a chapter out, or a document of the reader's own in
docs/publish/do that. Fix a source only where it is wrong for everyone.
Before handing it over
- Audience. Read every source for what this reader must not see: internal decisions and their reasons, prices, costs and margins, internal hosts and dashboards, on-call details, secrets, other customers. Leave that chapter out (decision records stay out unless asked for) or move the text.
- Gaps. Placeholder hosts,
<token>, TODOs, and what this reader needs but the docs don't say: list them for the user; never fill them with guesses. - Look at every page of the PDF, and the HTML: cover, contents, diagrams, tables and code not cut off.
- Report the files, the sources used, what was left out and why, and what is still open.
Sending, uploading or publishing the file is the user's action.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

