documentation-discipline
Skill6 starsChanged 4 months agoMITView on GitHub
Дисциплина документации: только относительные пути, синхронизация ссылок через grep, doc-before-code, закрытые спринты не трогаем, источник истины — код.
- Reads credentials
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/agents.mdcCursor rule
- architecture-disciplineSkill
- async-disciplineSkill
- automation-disciplineSkill
- debugging-disciplineSkill
- error-handling-disciplineSkill
- git-disciplineSkill
- prompt-injection-defenseSkill
- pr-review-disciplineSkill
- pull-request-disciplineSkill
- skill-authoringSkill
- testing-disciplineSkill
The file
Files
Skill: documentation-discipline
Правила работы с документацией проекта. Источник истины — _docs/instructions.md §9 и _board/process.md §8.
Когда использовать
- Меняешь поведение системы — нужно обновить профильный документ в
_docs/до или вместе с кодовым коммитом. - Правишь
_docs/,_board/,README.md,.env.example,app/prompts/,app/skills/,.agents/. - Переименовываешь или переносишь файл либо раздел — нужно поправить ссылки.
Не использовать для правок кода без изменения поведения (рефакторинг, не добавляющий новых фактов в документацию).
Алгоритм
- Только относительные пути. Запрещены абсолютные пути ФС (
/home/...,/Users/...,C:\...). Все ссылки — от корня проекта (_docs/...,app/...,./architecture.md). - Язык — по §1 (
_docs/instructions.md): по умолчанию русский; технические идентификаторы (имена модулей, функций, env, путей) — латиницей. - Doc-before-code. Поведение сначала описывается в профильном документе (
requirements.md/commands.md/agent-loop.md/tools.md/memory.md/skills.md), затем меняется код. Кодовый коммит, меняющий поведение, без обновления документации не принимается (§9;_board/process.md§8). - Синхронизация ссылок. При переименовании/удалении файла или смене номера/названия раздела —
grep -rnпо репозиторию и починить все живые ссылки. - Закрытые спринты — архив. Файлы
_board/sprints/<NN>-*.mdсо статусомClosedне трогаем (_board/process.md§2 п.5). - Источник истины — код. При расхождении документ приводится к коду отдельным
docs(...)-коммитом.
Чего избегать
- Абсолютных путей ФС в любой документации.
- «Висячих» ссылок после переименования — всегда проверяй
grep -rn. - Правок закрытых спринтов.
- Кодового коммита, меняющего поведение, без обновления документации.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

