HMAKT99

Agentspec — Testing skill for Claude Code

Testing community

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