maintain-claude-md
БесплатноБез исполняемых скриптовНе проверенHow CLAUDE.md and the .claude/agents and skills it references are kept true (check:claude, check:rules, agent maintenance).
от nirholas★ 289 звёзд на GitHubОб этом скилле
Specialized agents and keeping CLAUDE.md true
Three subagents live in .claude/agents/ and encode checklists you would otherwise rebuild from scratch. Use them; they exist because each of these failures happened more than once:
completionistaudits changed files against these operating rules at the end of a feature task. It reports violations, it does not fix them. One exception, and it is absolute: when the user asks to commit or push, that IS the approval. Do not run the completionist (or tests, audits, or diff reviews) first. Ship it.deploy-preflightverifies a production deploy is safe BEFOREgcloud builds submit: build order, worktree artifacts, service-account pins, changelog wiring. Run it before any deploy, or when a deploy died mid-build. It does not deploy; deploys stay owner-gated.x402-economy-triagediagnoses x402 outages against the known failure map. Run it before concluding "the wallets are dry", which is usually wrong: settle-floor starvation and capital dispersion look identical from the outside and have completely different fixes.
Evolve (npm run evolve:start, scripts/evolve.mjs, runbook docs/ops/evolve.md), the unattended development loop and not the product's trading Autopilot, runs headless Claude Code sessions around the clock in its own worktree beside the repo, on branch evolve: it works the prompts/finish/ queue, writes new scouted orders into the 400 band, and sweeps production, then fast-forwards finished commits into local main. Its sessions are denied every owner-gated action. If you are hand-running an order, evolve leaves it alone for 6 hours after you last touched it; npm run evolve:pause frees the subscription for interactive work.
.claude/workflows/ holds two workflow scripts: docs-drift.js sweeps documentation drift across the repo, and docs-freshness.js re-verifies the docs the freshness report marks stale.
Maintaining these agents. An agent definition is executed verbatim, exactly like this file, so it is held to the same standard and npm run check:claude enforces it: every npm run script and repo path it names must exist, it must never send the agent to a per-machine memory file (auto-memory under ~/.claude is invisible to a fresh clone or a cloud session; put the knowledge in docs/ and link it), and it must read changeable facts (build chains, artifact lists, env-var locations) from their source of truth instead of restating them. When the same multi-step diagnosis has been rebuilt from scratch twice, that is the signal to add an agent for it. Subagents launched with isolation: "worktree" leave a tree under .claude/worktrees/; npm run clean:worktrees reclaims each one once its branch is merged and it holds no uncommitted work.
Keeping this file true
This file is the operating brain for every agent here, and agents execute what it says verbatim. A stale line in it does not read as stale, it reads as an instruction, and the cost is a wasted session per drift. Treat it as load-bearing code:
npm run check:rulesenforces the hard rules on the lines you changed (scripts/check-rules.mjs). It reads added lines only, so your change is held to the rules while the legacy around it is left alone: em-dashes, TODO/FIXME comments, not-implemented throws, commented-out code, andsampleFoo = [...]fallback arrays all fail it. Because concurrent agents share this worktree, scope it to your own work:npm run check:rules -- --paths <files you touched>. It also reads brand-new untracked files, which a baregit diffcannot see. Generated output is excluded, including the compiled Marketplace Action undersatellites/glb-quality-gate/dist/; its authored source remains scanned. It is also enforced mechanically at push time: the pre-push hook (installed into.git/hooksbyscripts/setup-git-hooks.mjs, whichpostinstallruns on everynpm install) runs it with--base <remote sha> --head <local sha>per pushed ref, so it judges exactly the commits leaving the machine and never the shared working tree. In that push-scoped mode it also lints every pushed commit's subject line against the "Commit messages" rules in the Git section, so achore: sync working treenever lands again. A pre-commit hook runs the same check on the staged lines (--staged), so violations are stopped before they become a commit; plumbing commits (git commit-tree+update-ref) skip hooks, so runnode scripts/check-rules.mjs --stagedagainst the private index beforecommit-tree. Emergency bypass:SKIP_PUSH_CHECKS=1 git push(orgit commit). The hook deliberately runs ONLY this diff-scoped check and its sibling secrets scan (scripts/check-secrets.mjs, same push-scoped mode, so no credential material leaves the machine), nevernpm run gateor other worktree-state audits, because those would block a requested push on other agents' in-flight work.npm run check:claudeguards it (`scripts/check-
Установить maintain-claude-md в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл maintain-claude-md?
How CLAUDE.md and the .claude/agents and skills it references are kept true (check:claude, check:rules, agent maintenance).
Как установить скилл maintain-claude-md?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл maintain-claude-md запускает скрипты?
Нет, скилл состоит только из инструкций (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