doc-updater
БесплатноЗапускает вложенные скриптыНе проверенDeploy and manage a daily AI agent that automatically updates GitHub documentation for a LimaCharlie organization. The agent collects org config, diffs…
от refractionPOINT★ 32 звезды на GitHubОб этом скилле
Doc-Updater Agent Deployment
Deploy a daily AI agent that keeps GitHub documentation in sync with a LimaCharlie organization's configuration — with contextual explanations for every change.
LimaCharlie Integration
Prerequisites: Run
/init-lcto initialize LimaCharlie context.
LimaCharlie CLI Access
All LimaCharlie operations use the limacharlie CLI directly:
limacharlie <noun> <verb> --oid <oid> --output yaml [flags]
For command help and discovery: limacharlie <command> --ai-help
Critical Rules
| Rule | Wrong | Right |
|---|---|---|
| CLI Access | Call MCP tools or spawn api-executor | Use Bash("limacharlie ...") directly |
| Output Format | --output json |
--output yaml (more token-efficient) |
| Timestamps | Calculate epoch values | Use date +%s or date -d '7 days ago' +%s |
| OID | Use org name | Use UUID (call limacharlie org list if needed) |
| Secrets | Include values in outputs | Only document secret names, NEVER values |
Architecture
EXPORT → DIFF → ANALYZE → RENDER → PUSH
┌─────────────────┐
│ doc-exporter.py │ LC CLI → config.yaml (current state)
└────────┬────────┘
│
┌────────▼────────┐
│ doc-differ.py │ config.yaml (old vs new) → diff.yaml
└────────┬────────┘
│
┌────────▼─────────────────────────────────┐
│ AI Agent │
│ │
│ Reads diff.yaml, queries LC cases and │
│ AI sessions for context, generates: │
│ - recent_changes (for README template) │
│ - CHANGELOG.md entry │
│ - Rich git commit message │
└────────┬─────────────────────────────────┘
│
┌────────▼────────┐
│ doc-renderer.py │ config.yaml + templates → 10 markdown files
└────────┬────────┘
│
┌────────▼────────┐
│ git push │ commit annotated docs + config snapshot
└─────────────────┘
The scripts handle mechanical work. The AI agent handles the intelligence: investigating WHY things changed and writing explanations with case references.
Template & Script Sources
Templates and scripts are read directly from the filesystem — no payloads needed. The agent finds them in priority order:
| Priority | Source | How to configure |
|---|---|---|
| 1 | Explicit path | Set skill_path in doc-state lookup |
| 2 | Custom git repo | Set skill_repo in doc-state lookup |
| 3 | Default: local plugin | /opt/lc-advanced-skills/skills/doc-updater (no config needed) |
Default: local plugin directory (no config needed)
In the standard LimaCharlie AI agent runtime, plugin code is mounted at:
/opt/lc-essentials/— core plugin/opt/lc-advanced-skills/— advanced skills plugin
The agent reads templates and scripts from:
/opt/lc-advanced-skills/skills/doc-updater/templates/
/opt/lc-advanced-skills/skills/doc-updater/scripts/
No payload uploads, no deployment steps, no drift. Updates to templates in the repo are picked up on the next agent run automatically.
Custom templates repo
Users who want to customize the doc templates can provide their own repo:
# In the doc-state lookup:
skill_repo: "https://github.com/myorg/my-doc-templates"
The custom repo must follow the same directory structure:
my-doc-templates/
├── scripts/
│ ├── doc-exporter.py
│ ├── doc-renderer.py
│ └── doc-differ.py
└── templates/
├── readme.md.j2
├── architecture.md.j2
├── sensors.md.j2
├── detection-rules.md.j2
├── ai-agents.md.j2
├── data-pipeline.md.j2
├── access-control.md.j2
├── runbook-admin.md.j2
├── runbook-ir.md.j2
└── runbook-updating.md.j2
Explicit local path
For testing or non-standard layouts, set an explicit path:
# In the doc-state lookup:
skill_path: "/home/user/my-custom-doc-updater"
Components
| Component | Type | Description |
|---|---|---|
doc-updater |
AI Agent (hive) | Sonnet model, daily schedule |
doc-updater-daily |
D&R Rule | 24h_per_org schedule trigger |
doc-updater |
API Key + Secret | Scoped LC API key for config reads + case queries |
github-pat |
Secret | GitHub PAT for repo push access |
doc-state |
Lookup | Contains repo_url, template source config, and run metadata |
Scripts (in scripts/ directory)
| Script | Input | Output | Purpose |
|---|---|---|---|
doc-exporter.py |
OID | config.yaml |
Collects all org config via LC CLI |
doc-differ.py |
old + new config.yaml |
diff.yaml |
Deterministic structural diff |
doc-renderer.py |
config.yaml + templates |
10 markdown files | Jinja2 template rendering |
Templates (in templates/ directory)
| Template | Output File |
|---|---|
readme.md.j2 |
README.md (includes Recent Changes section) |
| `architect |
Установить doc-updater в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadWriteGlobGrepAgentAskUserQuestionВложенные файлы
FAQ
Что делает скилл doc-updater?
Deploy and manage a daily AI agent that automatically updates GitHub documentation for a LimaCharlie organization. The agent collects org config, diffs against previous state, analyzes changes with full case/session context, renders Jinja2 templates, and pushes annotated updates to a GitHub repo. Templates are read from the lc-ai repo or a user-provided custom repo — no payloads needed. Use for "deploy doc updater", "set up automatic documentation", "install doc-updater agent", "update docs agent".
Как установить скилл doc-updater?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл doc-updater запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub