Lint acceptance criteria
lint_acceptance_criteriaValidates acceptance criteria against task-type rules, flagging incomplete or out-of-order Given/When/Then steps, vague terms, unitless numbers, and format issues with line-level hints.
Instructions
Check acceptance criteria against the rules of their task type: Given/When/Then complete and in order, observable Then steps, vague words, numbers without units, required fields and formats. Pass the text as it is in the ticket plus ticket_type and labels (or type). Every finding has line, column, rule and a hint; template://{type} shows the expected form. Deterministic and read-only; it does not rewrite the text.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "lint_acceptance_criteria"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The acceptance criteria as they are in the ticket | |
| type | No | Task type (file name in dod/ without .yaml); usually leave it out and pass ticket_type and labels | |
| labels | No | Labels of the ticket, as they are | |
| ticket_type | No | Ticket or work item type as in the ticket, e.g. "Story" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| limits | Yes | ||
| summary | Yes | ||
| findings | Yes | ||
| truncated | Yes | ||
| resolution | Yes | ||
| dod_version | Yes | ||
| rules_applied | Yes |