Claude Code plugin: AI-CODING-SPEC v6.11 enforcement via shell hooks + spec distribution into ~/.claude/. Blocks banned vocab in commit messages, unsafe rm -rf $VAR, push-on-red-CI, unread MEMORY.md before ship. Ships a standalone npx CLI for git pre-commit + GitHub Actions.
Aggregate claudemd rule-hits over the last N days. Shows top banned patterns, hook deny counts, per-spec-section heatmap, and bypass-escape-hatch usage.
Clean up leftover claudemd-sync- / claudemd-memtags-hay- sentinels and claudemd-(mockgh|work). test sandbox dirs from $TMPDIR, stale tool-exhaust (session scratchpads, old fixtures) from /.claude/tmp per the spec §7-EXT retention window (mtime > TMPRETENTIONDAYS, default 7), and orphaned per-session sentinels from…
Generate a thin, fact-based DESIGN.md from a UI project's real design-token sources and wire it into project CLAUDE.md. Use when (1) the user asks to configure design specs / 配置设计规范 / 设计规范 for agents, (2) UI sessions keep inventing colors or spacing instead of using the project's existing tokens, (3) a UI project…
Bootstrap claudemd in the CURRENT Claude Code session (copy spec into /.claude/, install hook manifest, evict legacy entries). Use right after /plugin install claudemd@claudemd to skip the wait-for-next-session restart.
Refresh the installed claudemd plugin to the latest released version in one shot (marketplace update → uninstall → install via the claude CLI). Use when the SessionStart banner reports a newer version, or /claudemd-doctor flags a stale plugin cache. Restart Claude Code afterwards — spec + manifest then sync…
Audit the HARD-rules manifest. Cross-references spec/hard-rules.json with rule-hits.jsonl bySection data over the last N days (default 30). Surfaces §13.1 demote candidates (hook-enforced rules with 0 hits in window) and stale-review entries.
Show claudemd plugin version, installed spec version, kill-switch state, and rule-hits summary. Pass --verbose for full kill-switch + escape-token reference.
Register claudemd's PS1-style statusLine (user@host:path (branch) model [ctx:N% · 5h:N% · 7d:N%] — context / 5h quota / weekly quota, all used %) in /.claude/settings.json. Use when (1) the user asks to add / configure / set up a statusline or status bar, (2) a fresh machine has no statusline and the user wants the…
Pre-uninstall cleanup. Run BEFORE /plugin uninstall claudemd@claudemd to clear the plugin manifest, state dir, and rule-hits log. Spec files in /.claude/ are kept by default. Required because Claude Code's marketplace lifecycle does not fire preUninstall, so without this step /plugin uninstall leaves orphan state…