CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

statelyai/readme

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.

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

README.md

README skill

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 |

Install

npx skills add statelyai/skills --skill readme

The Codex stately plugin also includes this skill. The Claude Code plugin does not. See Install.

Use

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:

  • scans every non-gitignored markdown file for comments
  • regenerates only the content below an affected comment, keeping the comment and surrounding prose
  • adds comments to unannotated sections the change affects
  • flags comments that refer to something that no longer exists, instead of deleting the section

Editorial comments such as <!-- TODO: rewrite --> are ignored.

Contents

PathContents
SKILL.mdComment syntax and workflow
agents/openai.yamlCodex display name and prompt

LICENSE

README.md

SKILL.md

tile.json