- Home
- Skills
- Dagster Io
- Erk
- Learned Docs
learned-docs_skill
- Python
63
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill dagster-io/erk --skill learned-docs- SKILL.md10.2 KB
Overview
This skill helps write, modify, and reorganize documentation under docs/learned/. It enforces frontmatter rules, category placement, index updates, and routing table changes so documentation remains discoverable and agent-friendly. Use it to create new docs, move files, or ensure generated indexes and AGENTS.md stay consistent.
How this skill works
The skill scans markdown files in docs/learned/, validates required YAML frontmatter fields (title, read_when), and checks category placement against the master index. It guides updates to category index.md files, cross-references, and AGENTS.md routing entries, and advises running doc sync and validation commands to catch formatting or link errors.
When to use it
- Creating a new document under docs/learned/
- Updating or adding frontmatter (title, read_when, tripwires)
- Moving files between categories or to root level
- Adding or updating index.md files for a category
- Updating AGENTS.md routing entries
Best practices
- Always include title and 2–4 specific gerund-style read_when conditions
- Place docs in the most relevant category; put unclear topics at root until patterns emerge
- Never embed Python functions or implementation code that processes erk data
- Use prose, CLI commands, or source file pointers instead of executable examples
- Run
erk docs syncandmake fast-ciafter changes to regenerate and validate
Example use cases
- Add a new guide about CLI output formatting and include read_when: "styling CLI output"
- Move several related root docs into a new category after three related files accumulate
- Update a document's path and run grep to update cross-references, then refresh indexes
- Add an entry to AGENTS.md for a high-frequency task so agents can route correctly
- Remove Python processing functions from docs and replace with a source pointer and CLI example
FAQ
Every non-index markdown file must include a title and a read\_when list with 2–4 specific conditions.
Can I include Python examples that process erk data?
No. Remove or avoid Python functions that process erk data or encode conventions; use prose, CLI commands, or point to source files instead.
How do I update generated files after changing frontmatter?
Edit source frontmatter, run erk docs sync, verify generated files, then run make fast-ci before committing.