This guidance distinguishes contributor-focused DESIGN.md files from consumer-facing READMEs, website documentation, and package or crate migration guides. It describes where documentation belongs, what each type should contain, how to link it for its intended audience, and how to maintain migration indexes and guides during release preparation.
59%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.github/skills/documentation/SKILL.mdDocumentation exists in 3 forms, code comments, design/architectural documentation that is made up of markdown files describing code flow and core concepts (such as DESIGN.md), and the documentation website.
DESIGN.md is for contributors understanding and changing the code. Describe
current APIs in their implementation context, architecture, code flow, invariants,
constraints, and the reasoning behind implementation choices.
README.md is for consumers using the published package or crate it describes.
Cover installation, prerequisites, configuration, supported public APIs, and
working usage examples. For private example projects, cover setup and running
the example. Keep implementation explanations and contributor guidance in
DESIGN.md, not in the README.
Do not link to or expose DESIGN.md files from README files, including in file
trees or reference lists. A README must provide enough usage information itself
or link to consumer-facing guides/API references under docs/. Contributor
instructions, skills, and other design documents may reference DESIGN.md.
Before adding a documentation link, check that its destination serves the
document's intended audience.
Design/architectural documentation such as DESIGN.md should always describe the current APIs, architecture and internals. Do not include migration instructions, removed-API history, before/after upgrade examples or links to migration guides in DESIGN.md.
The website captures the documentation primarily for the @microsoft/fast-element package. Other packages are treated as tangential, so testing packages or other utilities should have their own sections.
The website has been written in 11ty and primarily consists of markdown files. When making changes, ensure that the website has been scanned on whichever latest major version is available. These are organized by folder, so if 1.x/2.x/3.x folders are available, you will update the documentation in the 3.x folder.
For a breaking change, add or update a guide under the affected package/crate's
docs/migration/ directory and list it in a stable docs/migration.md index.
Related npm packages and Rust crates may share the same migration index.
Root documents such as README.md may link to docs/migration.md. Other durable
documentation, including the website, should also link to the index rather than
individual per-publish guides. Keep upgrade instructions in those guides, not in
DESIGN.md.
Migration guidance is scoped to one publish, not a permanent archive. During
release preparation, review and delete guides belonging to previous publishes and
remove their index entries. Retain guidance for the publish being prepared.
Keep docs/migration.md even when empty, noting that there are no migrations for
the current publish, so root-document links remain valid. Cleanup is a documented
release-preparation step, not an automatic publishing action.
Keep detailed markdown documentation in the package/crate's docs folder. Keep contributor architecture in DESIGN.md and published-package usage in README.md.
Any documentation created for the website should be written with the developer implementing the package in mind, it is not intended for other audiences.
microsoft/fast
544a730
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.