canvas-health
Lint canvas files for staleness, missing fields, inconsistent evidence types, and orphaned references. Run periodically or before major transitions.
от haabe★ 55 звёзд на GitHub
Установить canvas-health в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Canvas Health Check
Audit the canvas knowledge base for quality, consistency, and completeness. The canvas is Mycelium's source of truth -- its quality directly determines agent output quality (Raschka: "context quality = model quality").
When to Use
- Before any diamond records a decision (called automatically by
/mycelium:diamond-assess) - After a period of inactivity (>7 days since last canvas update)
- When agent output quality seems to degrade
- After onboarding a new team member (ensures canvas is self-explanatory)
- Proactively: run periodically to catch silent drift
Workflow
Load project configuration:
- Read
.claude/diamonds/active.ymlforproduct_typeandproject_type - Read
${CLAUDE_PLUGIN_ROOT}/engine/canvas-guidance.ymlfor required/recommended/optional files per project type
- Read
Check file presence:
- For each required canvas file: does it exist? Is it non-empty (>50 bytes)?
- For each recommended canvas file: does it exist? Flag as gap if missing.
- Report:
N/M required files present, K recommended files missing
2b. Check record size (founder ruling 2026-11-12, "Size warning only"): run
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/check_record_size.py" --project-dir . It names every
canonical record (.claude/canvas/*.yml, .claude/diamonds/*.yml, .claude/memory/*.md,
.claude/harness/*.md and *.yml: the decision log, corrections, human tasks, cycle history
and their siblings) larger than 256 KB, the size past which the Read tool refuses to return a
file whole (the script's docstring says where that number comes from), with its size and its
growth over the last 30 days from git. Report the line as it is, under Warnings when any file
is named. It is report-only: do not move, trim or archive anything because of it; whether a
record is split is the person's decision. For every named file, a claim that it holds or lacks
something rests on a search of the whole file, never on the slice that was read. A file under
the threshold can still be cut by the Read tool's token limit, so a clean line is not proof
every record reads whole. Session start relays the same line when a file is past it.
- Check
_metablocks:- For each existing canvas file, check for
_meta:block - Flag missing
_metablocks - SKIP a file whose schema declares no
_metaand names its own freshness field, and judge that field by its own rule instead. Today that isdoctrine.yml:schemas/canvas/doctrine.schema.jsondeclaresschema_version,last_reviewed,doctrineandclimate, and no_meta. Itslast_reviewedis event-based ("a retrospective is DUE when a diamond has entered completed_diamonds with a completed_at later than this date"), not a calendar, andcheck_doctrine_due.pyreads exactly that. Asking that file for_metaasks for a field the schema left out on purpose, so the warning cannot be cleared by a correct file. Before flagging a missing_meta, read the file's schema: if it has no_metaproperty, do not flag it. Added v0.333.0, found on the dogfood repo 2026-11-06. - Flag
last_validatedpast the horizon for that file's category, per the "Which threshold applies to which canvas file" table in${CLAUDE_PLUGIN_ROOT}/engine/evidence-decay.md(strategic 180d, technical feasibility 120d, user-needs/competitive/market 90d, delivery metrics 30d, regulatory 365d; unlisted files fall back to 90d). - SKIP any file whose
_meta.applicabilitymarks it inapplicable (a value startingn/a, or naming a product type this project is not, or saying "NOT actively used", or declaring the file an append-only log with no quality bar to validate against). Added v0.90.0; the append-only form added v0.234.0. WHY THE APPEND-ONLY FORM WAS MISSING FOR SO LONG, AND WHY IT IS THE SAME RULE. Step 9b below already exempts append-only logs from its length budget, on the reasoning that for such a file the line count IS the value and pages-as-shape is a category error. The identical reasoning applies to a validation DATE on a file with nothing to validate, and this step never got the rule — so a dogfoodarchived-solutions.yml, a registry of discarded leaves whose own_metasaid "no quality bar to validate against", was flagged as stale on every pass. Its author had written the exemption in prose AND appended "flagged as missing_metain recurring canvas-health passes" to the marker, and it went on being flagged: a finding the author has pre-emptively annotated as noise is a check being routed around, which is the condition this very step warns trains a reader to skip it (2026-09-21). Same one-rule-two-places shape as the horizon exemption written into 8c(b) and not carried to 8c(a). Two dogfood canvases held ZERO evidence — every
- For each existing canvas file, check for
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл canvas-health?
Lint canvas files for staleness, missing fields, inconsistent evidence types, and orphaned references. Run periodically or before major transitions.
Как установить скилл canvas-health?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл canvas-health запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…