ai-doc

Installation
SKILL.md

/ai-doc — One Page, One Mode, One Place

This skill puts documentation pages into a project's docs tree, each in the one Diátaxis mode it serves — tutorial, how-to, reference, or explanation — and in the one directory that mode and its reader give it. It reads what to do from the argument and from the tree it finds: it stands a tree up where none exists, files a flat tree's pages one confirmed move at a time, assesses a page, surveys a tree, writes a new page, or names the skill that owns what was asked for.

It never writes a page that serves two modes, never files a page under a reader the project has no directory for, and never writes .ai-skills.toml.

Edit Scope

Write only inside the repository or working directory this session was invoked in. Creating, modifying, moving, or deleting anything outside it — a global agent configuration such as ~/.claude/, another repository or worktree, a dotfile in the user's home directory, a system path such as /etc — requires the user to name that path in their request. Reading outside it is unrestricted.

Temporary files are the one exemption. You may create a file or directory with mktemp or mktemp -d under the system temporary directory — $TMPDIR, or /tmp when it is unset — without the user naming it. Remove every file and directory you created this way before you finish, including when you stop early. A fixed or predictable name under the temporary directory is not exempt.

Installs
1
GitHub Stars
3
First Seen
13 days ago