본문으로 건너뛰기
cccskills
무료GitHub에 공개

audit-baseline

Drift check between the baseline implementation on disk and the claims in `docs/init/seed.md` + cross-references in CLAUDE.md, README.md, and the rendered docs site. Verifies hook/agent/skill/command names + counts, settings.json wiring, project.json key presence, .mcp.json servers, vendored license files, and helper script presence. Exit 0 PASS / 1 FAIL — suitable for CI. Read-only; safe to invoke any time.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(37)

  • SKILL.md4.7 KB
  • audit.mjs7.2 KB
  • character.json13.3 KB
  • character.mjs4.3 KB
  • checks/conformance.mjs2.1 KB
  • checks/constitution.mjs1.9 KB
  • checks/context.mjs4.8 KB
  • checks/counts.mjs3.4 KB
  • checks/cross-doc-counts.mjs3.1 KB
  • checks/cross-doc-patterns.mjs2.9 KB
  • checks/derived-count-surfaces.mjs1.0 KB
  • checks/design-ui-surface.mjs2.3 KB
  • checks/docsite-drift.mjs3.8 KB
  • checks/helper-scripts.mjs803 B
  • checks/hook-decision-paths.mjs3.0 KB
  • checks/licenses.mjs1.9 KB
  • checks/mcp-servers.mjs845 B
  • checks/memory.mjs3.6 KB
  • checks/project-json.mjs3.7 KB
  • checks/quickfix-invariants.mjs3.0 KB
  • checks/settings-wiring.mjs766 B
  • checks/skill-character.mjs1.6 KB
  • checks/skill-ownership.mjs1.9 KB
  • checks/src-templates-a.mjs2.9 KB
  • checks/src-templates-b.mjs3.5 KB
  • checks/surface-helpers.mjs2.8 KB
  • cli.mjs1.8 KB
  • config-parity.mjs2.7 KB
  • derive-counts.mjs8.5 KB
  • expected-baseline.mjs3.4 KB
  • memory-shape.mjs1.4 KB
  • tests/fixtures/_pending_opener_only.md111 B
  • tests/fixtures/preamble_full_empty_body.md53 B
  • tests/fixtures/preamble_full_with_entries.md121 B
  • tests/fixtures/preamble_no_opener.md74 B
  • tests/fixtures/preamble_opener_only.md46 B
  • tests/preamble_check_test.sh5.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

audit-baseline — drift defender

Mechanical check that the baseline implementation matches its specification. Deterministic, not LLM judgment — pattern matches and file presence only. Run on demand, by /init-project Step 8, or in CI.

What it checks

CategoryCheck
CountsHooks, agents, skills, commands on disk match the count claimed in seed.md
NamesEach component's name matches the canonical list in seed.md §4
Helper scriptsvalidate.mjs, swarm_merge.mjs, render.mjs, lint.mjs, archive.sh present + executable
settings.jsonEvery baseline hook is wired in the correct event/matcher block
project.jsonEvery key listed in seed.md §13 Step 8 exists (values may be null pre-init)
.mcp.jsonthe declared documentation provider and the plantuml server present
Vendored licensesclaude-automation-recommender/{LICENSE,NOTICE} present (Apache 2.0 attribution)
Cross-doc countsNumeric claims in CLAUDE.md, README.md, and docs/init/seed.md match disk

Invocation

/audit-baseline — model-invocable and user-invocable.

Calls audit.mjs. Output is a compact pass/fail table with a final verdict. Exits 0 on a clean audit, 1 on any failure. WARN-level findings (advisory; e.g., a doc with no relevant claims) don't fail the audit.

When to run

  • End of /init-project — Step 8. A fresh baseline should pass.
  • Before /approve-direction — confirm the baseline hasn't drifted.
  • In CI — fail the build on drift.
  • On demand — when something feels off, when adding a component, or after a long gap in baseline maintenance.

When the audit reports drift

  • Counts mismatch → add the missing component or update seed.md to match the new count. Don't update one without the other.
  • Name mismatch → a component was renamed, added, or removed. Update the canonical lists in seed.md §4 and the expected sets in audit.mjs.
  • Helper missing or non-executable → chmod +x or restore from history.
  • Hook unwired → add the entry to .claude/settings.json.
  • project.json key missing → re-run /init-project, or add the key manually.
  • License missing (vendored skills) → restore from upstream; this is a license-compliance gap.
  • Cross-doc stale numbers → update the docs. seed.md is the source of truth.

Maintenance

Expected name sets live in expected-baseline.mjs (the EXPECTED_* constants). Adding a new hook, agent, skill, or command means updating both expected-baseline.mjs and seed.md. The audit catches the drift; fix the implementation, not the audit.

audit.mjs is a thin orchestrator: it builds the shared audit context in checks/context.mjs, then runs one check module per concern from checks/*.mjs (each returns [name, status, detail] rows) and prints the table. To add a check, write a new checks/<concern>.mjs exporting run(ctx) and list it in the orchestrator's CHECKS array; pure surface helpers shared across checks live in checks/surface-helpers.mjs.

Output format

check                                      status  detail
------------------------------------------ ------  ---------------------------
hooks count (seed vs baseline)             PASS    17
agents count (seed vs baseline)            PASS    1
skills count (seed vs baseline)            PASS    36
commands count (seed vs disk)              PASS    4
hooks names match seed §4.1                PASS
agents names match seed §4.2               PASS
skills names match seed §4.3               PASS
commands names match seed §4.4             PASS
helper swarm-plan/validate.mjs             PASS
…
hook wired: setup_guard                    PASS
…
project.json: test.cmd                     PASS
…
mcp server: gitmcp                         PASS
mcp server: plantuml                       PASS
mcp server: playwright                     PASS
recommender LICENSE                        PASS
recommender NOTICE                         PASS
CLAUDE.md count claims                     PASS
README.md count claims                     PASS
docs/init/seed.md count claims             PASS
------------------------------------------ ------
overall                                    PASS    fails=0 warns=0

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

archive

무료

Phase 10.5 — move the slug's workflow artifacts (intake, scout, research, spec, approvals, swarm state, security reports, rendered diagrams) to docs/archive/<YYYY-MM-DD>/<slug>/. Runs before /commit so the committed tree is clean of work-in-flight files. workflow.json stays live and gets archived as the first step of /commit.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

friedbotstudio/baseline142026년 10월 13일 업데이트

PM-mode brainstorm helper. Captures the requirement via Socratic dialogue before any entry phase (`/intake`, `/spec`, `/tdd`) drafts its artifact. Stage 0 skip-check, Stage 1 gap-analysis, Stage 2 probe-loop, Stage 3 confirm-and-persist. Output lives at `docs/brief/<slug>.md`. Never proposes solutions — Stage 2 dialogue discipline is structurally enforced via `discipline.mjs`.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

friedbotstudio/baseline142026년 10월 13일 업데이트

brd

무료

Draft a Business Requirements Document (BRD) for cross-functional or stakeholder-heavy work that needs more structure than an intake. Use after `/intake` when the request spans multiple systems/teams, carries regulatory weight, or needs formal sign-off. Output lives at `docs/brd/<slug>.md`.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

friedbotstudio/baseline142026년 10월 13일 업데이트

chore

무료

Workflow track for tasks that need no TDD — documentation edits, governance count bumps, vendored-skill content updates, configuration tweaks, formatting, typo fixes, dependency bumps where no project code changes. Skips `/scenario` and `/implement` (no failing test to drive) and runs the work directly. `archive`, `memory-sync`, `/grant-commit`, and `/commit` remain mandatory. `verify`, `simplify`, `integrate`, and `document` are conditional — required when the diff hits one of the listed triggers, optional otherwise. `verify` is skipped only when the diff is pure-docs/prose AND `project.json → test.kind` is `behavior` (absent/invalid `test.kind` → `structural` → verify runs). Chore is a stripped-down pipeline, not a bypass; never silently skip a conditional phase whose triggers apply.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

friedbotstudio/baseline142026년 10월 13일 업데이트

Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers). Use when user asks for automation recommendations, wants to optimize their Claude Code setup, mentions improving Claude Code workflows, asks how to first set up Claude Code for a project, or wants to know what Claude Code features they should use.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

friedbotstudio/baseline142026년 10월 13일 업데이트

Dev-only review of user-facing CLI interface copy in `src/cli/tui/*.js`, `src/cli/*.js` error paths, and `bin/cli.js` help/usage text. Surfaces three failure modes — copy/behavior mismatch, jargon, missing next-action — as a punch list the maintainer addresses before `/grant-commit`. Read-only; no writes to source. Conditionally seeded by `/triage` between `/memory-sync` and `/grant-commit` when the request will touch CLI surfaces.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

friedbotstudio/baseline142026년 10월 13일 업데이트

friedbotstudio의 스킬 모두 보기

이 스킬의 문제 신고