Keep README files in sync with the repo using symbolic HTML comments. Use this skill whenever making a repo change that could affect documentation — code (exported APIs, configuration, examples, CLI commands, dependencies), repo structure (adding/removing/renaming files, directories, packages, or other sibling entries referenced by a listing comment), or metadata (package.json, manifests). Also use when authoring or editing README files to add or update symbolic comments. Trigger on any change — code or structural — that touches a construct referenced by an HTML comment in a markdown file.
93%
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
The readme skill keeps README files in sync with the repository. HTML comments
in markdown describe what the section below them reflects, such as an API
table, an install command, or a file listing. When the agent changes code or
repository structure, it finds the comments the change affects and regenerates
those sections.
## API
<!-- exported functions and their signatures from src/index.ts -->
| Function | Description |
| ----------------------- | ----------------------- |
| `createMachine(config)` | Creates a state machine |npx skills add statelyai/skills --skill readmeThe Codex stately plugin also includes this skill. The Claude Code plugin
does not. See Install.
The skill runs when a change touches something a README comment refers to. To run it on request:
Update the README sections that should stay consistent with the codebase.Add symbolic comments to this README.In Codex, invoke it with $readme.
A comment can name a file (exported functions from src/index.ts) or describe
a set of constructs (all exported creator functions). The agent:
Editorial comments such as <!-- TODO: rewrite --> are ignored.
| Path | Contents |
|---|---|
SKILL.md | Comment syntax and workflow |
agents/openai.yaml | Codex display name and prompt |