Command Palette

Search for a command to run...

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

arckit-health

Scan all projects for stale research, forgotten ADRs, unresolved review conditions, orphaned artifacts, missing traceability, and version drift

БесплатноБез исполняемых скриптов
tractorjuiceот tractorjuice★ 19 звёзд на GitHub

Установить arckit-health в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Artifact Health Check

You are performing a diagnostic health check across all ArcKit projects, identifying governance artifacts that need attention — stale data, forgotten decisions, unresolved conditions, broken traceability, and version drift.

This is a diagnostic command. Output goes to the console and the hook writes only docs/health.json for dashboard integration. Do NOT create project governance artifacts. The health report is a point-in-time scan, not a governance artifact.

User Input

$ARGUMENTS

Arguments

PROJECT (optional): Restrict scan to a single project directory

  • Example: PROJECT=001-payment-gateway
  • Default: scan all projects under projects/

SEVERITY (optional): Minimum severity to report (default: LOW)

  • Valid: HIGH, MEDIUM, LOW
  • Example: SEVERITY=HIGH shows only high-severity findings

SINCE (optional): Override staleness baseline date (default: today)

  • Valid: ISO date YYYY-MM-DD
  • Useful for "what would be stale as of date X" scenarios

STALE_DRAFT_DAYS (optional): Threshold (in days) for STALE-DRAFT findings (default: 30)

  • Valid: positive integer
  • Example: STALE_DRAFT_DAYS=14 matches the session-start monitor's legacy threshold

What This Command Does

Scans the projects/ directory for all ARC-* artifacts and applies ten detection rules to identify governance health issues. Each finding is assigned a severity (HIGH, MEDIUM, or LOW) with a suggested remediation action. The hook also writes docs/health.json on every run for dashboard integration (consumed by $arckit-pages).

At its default threshold, the STALE-DRAFT rule reports every draft the session-start stale-artifact-scan monitor reports as unchanged, and it also falls back to the Created Date when Last Modified is missing. Overdue reviews differ: the monitor reports a past Next Review Date whatever the artifact's status, while REVIEW-OVERDUE skips DRAFT, SUPERSEDED and ARCHIVED artifacts, so a draft or a retired artifact with a past review date appears in the monitor's notice but not here.

This command does NOT modify any project files. It is a diagnostic tool. The only file written is docs/health.json.

Detection Rules

ID Rule Severity Threshold
STALE-RSCH Stale Research HIGH RSCH documents with created/modified date >6 months old
FORGOTTEN-ADR Forgotten ADR HIGH ADR with status "Proposed" for >30 days with no review activity
UNRESOLVED-COND Unresolved Conditions HIGH HLD/DLD review with "APPROVED WITH CONDITIONS" where conditions lack resolution evidence
ORPHAN-REQ Orphaned Requirements MEDIUM REQ documents not referenced by any ADR in the same project
MISSING-TRACE Missing Traceability MEDIUM ADR documents that do not reference any requirement (REQ, FR-xxx, NFR-xxx, BR-xxx)
VERSION-DRIFT Version Drift LOW Multiple versions of the same artifact type where the latest version is >3 months old
STALE-EXT Unincorporated External Files HIGH External file in external/ newer than all ARC-* artifacts in the same project
REVIEW-OVERDUE Overdue Review HIGH Document Control Next Review Date is in the past, on a non-DRAFT/SUPERSEDED/ARCHIVED artifact
STALE-DRAFT Long-running Draft MEDIUM Artifact with Status: DRAFT whose Last Modified (or Created Date) is >30 days old (override via STALE_DRAFT_DAYS=N), unless only a command sets its type's Status
STALE-VIEW Out-of-date Generated View MEDIUM An artifact with a ## Source Artefacts table (such as an arc42 description) cites a source, in its project or in 000-global, that now has a newer version, or omits a later instance of a type it cites

Process

Steps 1-3: Pre-processed by Hook

Note: The Health Pre-processor Hook (graph-inject.mjs, health recipe) has already completed Steps 1-3 automatically:

  1. Scan Scope — identified all projects and ARC-* artifacts
  2. Metadata Extraction — read every artifact and extracted dates, statuses, requirement IDs, review verdicts, and conditions
  3. Rule Application — applied all ten detection rules and generated findings with severities

The hook's hook context above contains all findings — use them directly. Do NOT re-read any artifact files. Proceed to Step 4 to format the console output.

If the hook data is not present (hook context missing), fall back to manual scanning: read each ARC-* artifact, extract Document Control fields, and apply the detection rules described below.

Rule 1: STALE-RSCH — Stale Research

Scan: All ARC-*-RSCH-*.md files

Logic:

  1. Extract the created date and last modified date from the Document Control section
  2. Calculate age = baseline date - last modified date (or created date if no modified date)
  3. If age > 180 days (6 months): flag as HIGH severity

Rationale: Rese

Полный SKILL.md на GitHub

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

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

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

Вложенные файлы

  • agents/openai.yaml

FAQ

Что делает скилл arckit-health?

Scan all projects for stale research, forgotten ADRs, unresolved review conditions, orphaned artifacts, missing traceability, and version drift

Как установить скилл arckit-health?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл arckit-health запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

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