// acceptpack-lint 0.2.0, MIT
Free acceptance-criteria linter
Paste Given/When/Then scenarios, or one criterion per line. 15 fixed rules check missing steps, step order, vague words, "should", no observable result, no concrete value and no failure path. Heuristics, not a verdict. Nothing leaves your browser.
Findings
// CLI and MCP server
Install the same linter locally
The same rules as a zero-dependency Node package (Node 20 or newer), served from this site. It runs on your machine, makes no network calls and stores nothing. MIT licence; the source is inside the tarball.
CLI (exit code 1 when there are errors):
npx -y https://acceptpack.onrender.com/acceptpack-lint.tgz criteria.feature
npx -y https://acceptpack.onrender.com/acceptpack-lint.tgz criteria.feature --json
MCP server (stdio; tools ac_lint and ac_rules, both read-only). Add to your MCP client config:
{
"mcpServers": {
"acceptpack-lint": {
"command": "npx",
"args": ["-y", "--package=https://acceptpack.onrender.com/acceptpack-lint.tgz", "acceptpack-lint-mcp"]
}
}
}
Package: acceptpack-lint-0.2.0.tgz (also at /acceptpack-lint.tgz), sha256 dd8b3ba2450e88366dc76040ca68b9dbe6ad02da5958ff0a0ee9235df6dd25e5. Not published to npm. The paid template pack is not in this package.
The 15 rules
| AP001 | missing-step (error) Scenario has no When or no Then step. |
| AP002 | missing-given (warning) Scenario has no Given step, so the starting state is unstated. |
| AP003 | step-order (error) Steps are out of order (Given after When, or When/Given after Then). |
| AP004 | multiple-when (warning) More than one When step; a second action is a second scenario. |
| AP005 | vague-term (warning) Contains a word that hides the observable result. |
| AP006 | modal-should (warning) Uses 'should' or 'may'; state what happens, not what ideally happens. |
| AP007 | unobservable-then (warning) Then step names no observable outcome (heuristic). |
| AP008 | no-concrete-value (warning) Scenario has no number, quoted string, status code, or Examples table. |
| AP009 | no-negative-path (info) None of the scenarios covers a failure or edge case. |
| AP010 | too-many-steps (info) Scenario has more than 7 steps. |
| AP011 | implementation-detail (info) Step describes implementation instead of behaviour (heuristic). |
| AP012 | duplicate-scenario (warning) Two scenarios share the same name. |
| AP013 | not-gherkin (info) Line is not in Given/When/Then form; rewrite it as a scenario. |
| AP014 | empty-input (error) No acceptance criteria text supplied. |
| AP015 | empty-scenario (error) Scenario has no steps. |
Want criteria that pass these rules?
The pack has 12 strong templates, agent instruction files and a review rubric. The linter stays free either way.