Agentspec — Testing skill for Claude Code
Lint, test, and score agent instruction files (CLAUDE.md, AGENTS.md, MCP tool specs).
How to install Agentspec
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open HMAKT99/Agentspec and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agentspec does
Lint, test, and score agent instruction files (CLAUDE.md, AGENTS.md, MCP tool specs).
Alternatives in Testing
- Notion Spec To Implementation — Convert Notion specs into linked implementation plans and tasks 14.6k ★
- Brooks Test — Run a Brooks-Lint test quality review 1.5k ★
- Check Package — Run full validation (build + lint + test + typecheck) on a package 1.1k ★
README
mdpact
**The missing layer between your markdown and your agents.**
`mdpact` lints the markdown your agents read, so you stop shipping contradictions. Free, open-source, local-first.
Quickest start — drop the Action into a PR check
# .github/workflows/mdpact.yml
name: mdpact
on:
pull_request:
paths: ["CLAUDE.md", "AGENTS.md", "**/*.mcp.md"]
jobs:
mdpact:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: HMAKT99/Agentspec/apps/action@v0.2.0
with:
fail-below: "70"
Posts a sticky PR comment with score + inline annotations. No install, no secrets needed for the default lint path.
Local CLI — npm publish pending
Once the `@mdpact/*` packages ship to npm you'll be able to:
npm i -D @mdpact/cli
npx mdpact init
npx mdpact lint
Until then, clone this repo and run `pnpm install && pnpm --filter @mdpact/cli build` to use the binary from `packages/cli/bin/mdpact.mjs`.
Why
Markdown became the lingua franca of agent instructions by accident. Every coding agent — Claude Code, GitHub Copilot, Cursor, Windsurf, Cline, Aider, Codex — reads markdown files as its runtime contract, and no tool exists to validate, test, or govern those files.
mdpact auto-discovers specs across the whole ecosystem:
| File | Agent(s) |
|---|---|
CLAUDE.md |
Claude Code |
AGENTS.md |
Codex, GitHub Copilot, Cursor, Claude Code (canonical open format, AAIF / Linux Foundation) |
.github/copilot-instructions.md |
GitHub Copilot (repo) |
.github/copilot-cli-instructions.md |
GitHub Copilot CLI |
**/*.agent.md |
VS Code Copilot custom agents |
.cursorrules / .cursor/rules/**/*.mdc |
Cursor |
.windsurfrules |
Windsurf |
.clinerules |
Cline |
.aider.md, .aider-instructions.md |
Aider |
GEMINI.md |
Google Gemini CLI |
**/*.mcp.md |
MCP tool specs |
Ac
Related Skills
Skill Trigger Lab
Lint, score and live-test whether an agent SKILL.md actually gets triggered. Deterministic offline frontmatter
Specdrive
Spec-driven development, enforced. An MCP server + Mac app that forces AI coding agents through specs, scenari
Create Feature Spec 10x
🚀 10X FEATURE SPECIFICATION & INSTRUCTION CREATOR
Flutter Mobx Kit
Agent toolkit for Flutter + MobX: AGENTS.md as the single instruction source, 15 on-demand playbooks, 17 ADRs,
Hef.Mutate
Mutation-test the changed code and enforce the raise-only mutation-score ratchet
Persona Loop
Run the full persona loop on a web app - persona, journey, real test, critique, score, fix plan - and iterate
Related Agents
Ehs AI Safety
AI, agent and chatbot security specialist for the Ethical Hacker Squad. Reviews the instruction/data boundary,
Product Analyzer
Analyzes product requirements for gaps, ambiguities, and readiness. Identifies blocking issues and calculates
Browser QA
Browser QA agent - structured 4-phase methodology (orient, explore, stress, judge) with Playwright MCP, confid