agentleFS
exasol-labsexasol-labs/speq-skill/.claude/skills/speq-audit/SKILL.md

speq-audit

Skill56 starsChanged 15 days agoMITView on GitHub

Audits a speq project's health: validators, unrecorded plans, the architecture file, mission sync, and ADR noise. Use when asked to audit, health-check, or check a project built with speq-skill.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run checks 1 to 5 in references/checks.md.

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Spec Auditor

User Arguments

$ARGUMENTS

Runs read-only health checks over a speq project, diffs the mission against the spec library, judges the ADRs, prints a summary, and offers to fix each finding. Always ask before a fix.

Invoke /speq-cli and /speq-writing-guardrails first. Read references/checks.md for each check's detection, signal, and remediation.

Workflow

Phase 1: Preconditions

No specs/ directory → STOP: "No spec library found. Run /speq-mission to bootstrap."

Phase 2: Run Checks (read-only)

Run checks 1 to 5 in references/checks.md. Record ✓ / ✗ / ⚠ and a one-line detail for each. Modify nothing in this phase.

Phase 3: Print the summary

Lead with the verdict, then the checks table, then numbered actions, each ending with the concrete next command. Quantify every result.

# speq:audit — <project>

| Result | Summary |
|--------|---------|
| **✓ healthy** _or_ **⚠ N findings** | <one line: what's wrong, most important first> |

## Checks
| Check                     | Status | Detail |
|---------------------------|--------|--------|
| Validators                | ✓ | 0 errors |
| Unrecorded plans          | ✗ | 1: add-export-command |
| Architecture file         | ✓ | present, 6 sections |
| mission.md ↔ spec library | ⚠ | 2 features unmentioned · 1 capability unbacked |
| ADR review                | ⚠ | 2 noise · 1 wordy of 12 ADRs |

## Recommended actions  (I ask before each change)
1. Record the finished plan → /speq-record add-export-command
2. Reconcile mission.md → /speq-mission (seeded): features `cli/export`, `cli/import` unmentioned; capability "Diff specs" unbacked
3. Clean up 3 ADRs: remove 2 noise, trim 1 wordy

A clean project prints ✓ healthy and omits the actions section. List each noisy or wordy ADR under its action.

Phase 4: Remediate (each finding gated)

For each actionable finding, ask the user (Yes / No / Skip) and apply the remediation in references/checks.md. Never act without a Yes. After a fix, re-run the affected validator and print its one-line result. Never edit mission.md directly: /speq-mission owns it.

Phase 5: Close

Print the final status and any remaining manual next steps.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.