Навык codebase-documenter
✓ ПровереноСоздание структурированных шаблонов документации проекта, включая README, ARCHITECTURE и справочники API, с использованием плейсхолдеров в квадратных скобках.
- Звёзды на GitHub
- 49
- Файлы
- 3
- Последний коммит
- 11 нояб. 2026 г.
- Лицензия
- MIT
- Разрешённые инструменты
- 5
Что делает навык codebase-documenter?
codebase-documenter — это Agent Skill. Создание структурированных шаблонов документации проекта, включая README, ARCHITECTURE и справочники API, с использованием плейсхолдеров в квадратных скобках.
Сводка сгенерирована из SKILL.md навыка.
О skill codebase-documenter
codebase-documenter позволяет быстро развернуть документацию для новых репозиториев или проектов с недостаточным документированием. Инженерные команды используют эту SKILL для генерации структурированных каркасов файлов README, обзоров архитектуры, справочников API и стандартов документирования кода. Она предназначена для ситуаций, когда у проекта отсутствует формальная структура документации и требуется готовая отправная точка, а не готовый текст.
Агент загружает эту SKILL, когда пользователь запрашивает создание каркаса документации проекта или установку стандартов документирования. Процесс включает использование таких инструментов, как Read, Write, Edit, Glob и Grep, для создания файлов на основе специфических шаблонов, расположенных в assets/templates. Инструмент создает такие файлы, как README.md, ARCHITECTURE.md и docs/API.md, которые содержат плейсхолдеры вида [вот так], указывающие на места, где авторы должны внести конкретные детали.
Этот инструмент фокусируется исключительно на создании каркасов и ссылок на стандарты. Он не делает выводов о специфике проекта и не пишет описательный текст, что отличает его от инструментов, предназначенных для проверки точности существующей документации или генерации описаний для уже готовых компонентов.
Что агент может делать с ним
- 1Инициализация нового репозитория проектаСоздание полного набора стартовых файлов документации для абсолютно нового кодового базиса.
- 2Установление стандартов документирования кодаДобавление стандартизированных руководств по docstrings и инлайновым комментариям в репозиторий.
- 3Создание «входной точки» проектаГенерация каркаса README, включающего разделы для быстрого старта и устранения неполадок.
- 4Настройка структуры документации APIСоздание шаблона справочника API, содержащего плейсхолдеры для эндпоинтов и примеров.
Написано на основе skill SKILL.md. Каждый сценарий использования проверен по цитате из него.
Как установить навык codebase-documenter
Каждая команда копирует папку навыка в каталог навыков клиента. Перезапустите клиент или начните новую сессию, чтобы загрузить его.Установка навыка codebase-documenter в Плагин
/plugin marketplace add rjmurillo/ai-agents /plugin install project-toolkit@ai-agents
Установка навыка codebase-documenter в Claude Code
~/.claude/skills/codebase-documenter/SKILL.md
$ npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter ~/.claude/skills/codebase-documenterУстановка навыка codebase-documenter в Claude Code (project)
.claude/skills/codebase-documenter/SKILL.md
$ npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter .claude/skills/codebase-documenterУстановка навыка codebase-documenter в Codex
~/.agents/skills/codebase-documenter/SKILL.md
$ npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter ~/.agents/skills/codebase-documenterУстановка навыка codebase-documenter в Gemini CLI
~/.gemini/skills/codebase-documenter/SKILL.md
$ npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter ~/.gemini/skills/codebase-documenterУстановка навыка codebase-documenter в Claude.ai
npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter codebase-documenter && zip -r codebase-documenter.zip codebase-documenter # claude.ai → Customize → Skills → + → Create skill → Upload a skill → codebase-documenter.zip
Автоматические проверки
Запущено 15 нояб. 2026 г.Полный отчёт →Прошёл наши автоматические проверки. Это не аудит безопасности: прочитайте скрипты, прежде чем агент их запустит. Как работают проверки
- Связанный и доступный исходный репозиторийrjmurillo/ai-agents/src/claude/skills/codebase-documenter is public and reachablegithub.com/rjmurillo/ai-agents/tree/HEAD/src/claude/skills/c ↗Пройдено
- Open source лицензия (OSI)MITspdx.org/licenses/MIT.html ↗Пройдено
- Коммит или релиз за последний годLast commit 2026-11-11github.com/rjmurillo/ai-agents/commits ↗Пройдено
- В скриптах нет загрузки с запуском и кражи учётных данныхNo scripts in the skill folderПройдено
- В SKILL.md нет скрытых инструкцийNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/rjmurillo/ai-agents/blob/HEAD/src/claude/skills/c ↗Пройдено
- Заранее разрешённые инструменты ограниченыPre-approved: Read, Write, Edit, Glob, Grepgithub.com/rjmurillo/ai-agents/blob/HEAD/src/claude/skills/c ↗Пройдено
- SKILL.md соответствует формату Agent SkillsValid name and description; says when to use it; 97 linesgithub.com/rjmurillo/ai-agents/blob/HEAD/src/claude/skills/c ↗Пройдено
SKILL.md
Открыть на GitHubCodebase Documenter
Generate documentation scaffolding for a project that has none, or has the wrong shape. This skill produces structured starters with bracketed placeholders the team fills in. It does not write prose for you.
Triggers
| Trigger Phrase | Operation |
|---|---|
scaffold project documentation |
Generate README, ARCHITECTURE, API, code comment scaffolds |
bootstrap docs for new codebase |
Produce starter docs with placeholders |
add starter README |
Create README scaffold only |
set up documentation standards |
Drop standards references into the repo |
document this codebase from scratch |
Full scaffold pass |
When to Use
Use this skill when:
- A repository has no
README.md,ARCHITECTURE.md, or API reference, and you need a populated skeleton. - A team is onboarding without a tech writer and wants documented standards alongside the templates.
- You need a starting point for code-comment conventions in a polyglot project.
Use a different skill when:
- Documentation already exists and you want to verify accuracy, detect missing XML docs / docstrings / JSDoc, or audit README / CLAUDE.md drift. Use
doc-accuracyfor verification, missing-doc detection, and structural sync. - You want narrative prose generated for an existing component. Use the
explaineragent.
Boundaries
- Writes scaffolding and standards references only. Does not write narrative prose for the project.
- Placeholders use bracket convention
[Like this]so a writer can search and replace. - Templates must be filled in by a human or downstream skill. The skill does not infer project specifics.
Process
- Confirm the target directory and confirm no overwrite of existing docs without explicit user consent.
- Copy
assets/templates/README.template.mdtoREADME.md(or path the user requests). - Copy
assets/templates/ARCHITECTURE.template.mdtoARCHITECTURE.mdif a separate architecture doc is wanted. - Create parent directories (
docs/,docs/standards/, or any user-requested path) before any copy step that targets them. - Copy
assets/templates/API.template.mdtodocs/API.md(or equivalent) if the project exposes an API. - Copy
assets/templates/CODE_COMMENTS.template.mdtodocs/standards/CODE_COMMENTS.md(or link from the README). - Point the team at
references/documentation_guidelines.mdandreferences/visual_aids_guide.mdfor voice and visual standards.
Templates
| Template | Purpose |
|---|---|
assets/templates/README.template.md |
Project front door. Why, quick start, structure, common tasks, troubleshooting. |
assets/templates/ARCHITECTURE.template.md |
System overview, components, data flow, decisions, failure modes. |
assets/templates/API.template.md |
API reference per endpoint with conventions and examples. |
assets/templates/CODE_COMMENTS.template.md |
Docstring and inline comment standards across languages. |
References
| Reference | Purpose |
|---|---|
references/documentation_guidelines.md |
Voice, structure, audience framing, placeholder convention. |
references/visual_aids_guide.md |
When and how to use diagrams, tables, callouts. |
Verification Checklist
- No environment-specific paths in any template
- All user-provided paths are validated against path traversal
- Bracketed placeholders match the
[Word or short phrase]convention - Code fences are balanced and use language identifiers on the opener only
- Voice is active, audience is the project's reader (not the documenter)
- No marketing language, weasel words, or filler
- Diagrams added only when they reduce ambiguity (see
references/visual_aids_guide.md)
Anti-Patterns
| Avoid | Why | Instead |
|---|---|---|
| Filling in placeholders speculatively | Produces fiction the team will rediscover and rewrite | Leave brackets; team fills in |
| Copying README content into ARCHITECTURE | Both files drift; readers cannot tell which is current | One concept per document |
| Adding diagrams for every section | Visual noise distracts from text | Diagram only where ambiguity is real |
| Long preamble before quick start | Readers leave before they reach the value | Quick start in the first screen |
Файлы в этом навыке
3Вопросы о навыке codebase-documenter
Как установить навык codebase-documenter в Claude Code?
Выполните npx degit rjmurillo/ai-agents/src/claude/skills/codebase-documenter ~/.claude/skills/codebase-documenter. Claude Code загружает навыки из ~/.claude/skills (все проекты) или .claude/skills (один проект) и использует навык, когда его описание соответствует задаче.
Какие клиенты могут использовать навык codebase-documenter?
Любой клиент, который читает формат Agent Skills: Claude Code, Codex, Gemini CLI и claude.ai (загрузить как ZIP). Скрипты в навыке выполняются только там, где клиент разрешает выполнение кода.
Эта SKILL пишет сам текст документации?
Нет, она создает структурированные заготовки с плейсхолдерами в квадратных скобках, которые команда может заполнить самостоятельно, вместо написания связного текста.
Как мне найти части шаблона, которые требуют участия человека?
SKILL использует соглашение с квадратными скобками [вот так], чтобы авторы могли легко находить и заменять плейсхолдеры.