studio-repo-structure
БесплатноБез исполняемых скриптовНе проверенUse when organizing or restructuring a repository's documentation, skills, CLAUDE.md, README, or generated docs: where knowledge lives, the Diátaxis shape…
от jterrazz★ 15 звёзд на GitHubОб этом скилле
Repo structure
The doctrine every @jterrazz repo follows for where knowledge lives. Canonical home: studio-station docs/concepts/repo-structure.md.
Mental model
A repo is three distinct roles, and conflating them is the failure mode this skill guards against:
- The corpus:
README.md+docs/. Where knowledge is authored. - The injection layers:
CLAUDE.md(agent brief),skills/entries. They route, they never author. - The compiler: a repo-specific projector, when there is a source layer worth projecting (rule rows into the generated tables of
package-typescript's reference,make generateinto the toolbelt rosters in studio-station). No source layer, no compiler.
The corpus belongs to the repository: anything a change in this repo would make false (its architecture, its conventions, its runbook, its quirks, the decisions it alone took) is authored in its docs/. An outside corpus (the OS wiki) keeps only a pointer to the repo and the contracts between repos. A decision this repo alone took goes to docs/decisions/NNN-title.md; one that spans several repos is recorded by the corpus that spans them and linked from here.
Three golden rules, compressed:
- Written once: a piece of knowledge lives on one page; everything else links to it. No duplication between README, a skill, and a page.
- Route, don't retell: CLAUDE.md and skills are maps: a mental model + a routing table into
docs/. When they start explaining, knowledge has leaked out of the corpus. - The compiler projects, never authors: generated text sits between
GENERATEDmarkers or is stamped as generated. Change the source and regenerate; never hand-edit a projection.
Projection vs presentation: the line is which layers a derived file spans. A projection crosses a layer (source into docs): it is committed and sync-checked. A presentation re-packages within the docs layer (an llms.txt concatenation, a rendered site): never committed, built in CI only if a delivery target exists.
The shape, after Diátaxis
A page serves one reader's mood. The manual is cut by mood:
| Path | Holds |
|---|---|
README.md |
The front door: what, why, a 30-second example that works pasted, a pointer to docs/README.md. |
docs/README.md |
The map: every page of the four sections, grouped by section, each with what it answers. |
docs/start/ |
Tutorials: the first success from nothing, every file complete. |
docs/guides/ |
How-to guides: one task each. Maintainer tasks are guides: develop.md, test.md, release.md. |
docs/concepts/ |
Explanation: ideas, shape, why. architecture.md opens it. |
docs/reference/ |
Lookup: commands, options, rules, findings, words; exhaustive, dry; generated tables live here. |
docs/decisions/ |
NNN-kebab.md records beside _template.md. |
docs/_assets/ |
Files a page embeds. |
No contributing/ section, no CONTRIBUTING.md, no CHANGELOG.md. Required pages: concepts/architecture.md, guides/develop.md, guides/test.md always; guides/release.md when the repo ships something that runs. Pages are kebab-case, unnumbered, named for a subject (a guide for its task), flat inside their section; the map orders them. Nothing else sits in docs/.
A page growing a second mood splits: the option table to reference/, the why to concepts/, the guide links both. The API is the types: no page restates a signature, no API dump is generated.
Where to look
| Task | Read |
|---|---|
| The doctrine itself (three roles, golden rules, root layout) | studio-station docs/concepts/repo-structure.md |
| The manual's shape: the sections, the required pages, naming | studio-station docs/concepts/repo-structure.md |
| The rule ids the gate prints for that shape |
Установить studio-repo-structure в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл studio-repo-structure?
Use when organizing or restructuring a repository's documentation, skills, CLAUDE.md, README, or generated docs: where knowledge lives, the Diátaxis shape every docs/ takes (start, guides, concepts, reference, decisions), what gets committed, corpus vs injection layers vs compiler, projections vs presentations.
Как установить скилл studio-repo-structure?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл studio-repo-structure запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic