sdsrss/claudemd

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.

2Stars on the repository
25Mods indexed here, across every type
8d agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

claudemd-analyze

01

sdsrss/claudemd

Command

Read-only spec ↔ implementation coherence audit. Cross-references core ↔ extended §EXT refs, Sizing line accuracy (±20B), §0.1 headroom caps, MEMORY.md ↔ files bidirectional integrity, and §10 quick-check terms ↔ banned-vocab.patterns coverage. Findings graded CRITICAL/HIGH/MEDIUM/LOW. Borrowed from github/spec-kit's…

2 8d ago A 91 tokens original MIT

claudemd-audit

02

sdsrss/claudemd

Command

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.

2 8d ago B 42 tokens original MIT

sdsrss/claudemd

Command

R3 Step 2 — lesson-bypass detector. Joins memory-prompt-hint suggest events with subsequent transcript activity to compute cite-recall (applied / (applied + bypassed)) across recent sessions. Makes the §11 MEMORY.md read-the-file effectiveness observable.

2 8d ago A 66 tokens original MIT

sdsrss/claudemd

Command

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…

2 8d ago A 134 tokens original MIT

sdsrss/claudemd

Command

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…

2 8d ago A 145 tokens original MIT

claudemd-doctor

06

sdsrss/claudemd

Command

Run health checks on claudemd installation. Flags missing deps, spec drift, settings.json issues, hook drift, backup inventory, rule-usage health, MEMORY.md tag specificity, cross-layer memory maintenance (promote/repatriate/stale candidates). Supports --prune-backups=N.

2 8d ago A 65 tokens original MIT

claudemd-install

07

sdsrss/claudemd

Command

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.

2 8d ago B 55 tokens original MIT

claudemd-refresh

08

sdsrss/claudemd

Command

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…

2 8d ago A 70 tokens original MIT

claudemd-rules

09

sdsrss/claudemd

Command

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.

2 8d ago A 67 tokens original MIT

sdsrss/claudemd

Command

Retrospective batch scan of historical transcripts for 8 self-enforced HARD rules — text detectors (§10-V banned vocab / §iron-law-2 / §10-four-section-order / §10-honesty) + sequence/claim detectors (§11-turn-yield / §7-bugfix-anchor / §11-post-compaction / §5-hard-auth). Every rule reports violations with its…

2 8d ago A 111 tokens original MIT

claudemd-sparkline

11

sdsrss/claudemd

Command

Emit rule-usage trend sparkline (deny+warn+advisory+bypass per specsection across 3 windows). Markdown block suitable for CHANGELOG header.

2 8d ago A 40 tokens original MIT

claudemd-status

12

sdsrss/claudemd

Command

Show claudemd plugin version, installed spec version, kill-switch state, and rule-hits summary. Pass --verbose for full kill-switch + escape-token reference.

2 8d ago A 38 tokens original MIT

claudemd-statusline

13

sdsrss/claudemd

Command

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…

2 8d ago B 195 tokens original MIT

claudemd-toggle

14

sdsrss/claudemd

Command

Enable or disable a specific claudemd hook (stored as DISABLEHOOK in settings.json env).

2 8d ago A 27 tokens original MIT

claudemd-uninstall

15

sdsrss/claudemd

Command

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…

2 8d ago B 79 tokens original MIT

claudemd-update

16

sdsrss/claudemd

Command

Sync /.claude/CLAUDE.md with the plugin-cache shipped spec. Shows diff summary; user chooses apply-all or cancel.

2 8d ago A 33 tokens original MIT