Command Palette

Search for a command to run...

Назад к скиллам
скилл № 46402

canvas-health

Lint canvas files for staleness, missing fields, inconsistent evidence types, and orphaned references. Run periodically or before major transitions.

БесплатноБез исполняемых скриптов
haabeот 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

  1. Load project configuration:

    • Read .claude/diamonds/active.yml for product_type and project_type
    • Read ${CLAUDE_PLUGIN_ROOT}/engine/canvas-guidance.yml for required/recommended/optional files per project type
  2. 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.

  1. Check _meta blocks:
    • For each existing canvas file, check for _meta: block
    • Flag missing _meta blocks
    • SKIP a file whose schema declares no _meta and names its own freshness field, and judge that field by its own rule instead. Today that is doctrine.yml: schemas/canvas/doctrine.schema.json declares schema_version, last_reviewed, doctrine and climate, and no _meta. Its last_reviewed is event-based ("a retrospective is DUE when a diamond has entered completed_diamonds with a completed_at later than this date"), not a calendar, and check_doctrine_due.py reads exactly that. Asking that file for _meta asks 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 _meta property, do not flag it. Added v0.333.0, found on the dogfood repo 2026-11-06.
    • Flag last_validated past 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.applicability marks it inapplicable (a value starting n/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 dogfood archived-solutions.yml, a registry of discarded leaves whose own _meta said "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 _meta in 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
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

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), без исполняемых скриптов.

Похожие скиллы

Сравнить canvas-health с