Repository navigation
Conversation
Add static analysis of acceptance criteria in /spec that flags vague,
untestable, or incomplete requirements before implementation begins.
Changes:
- Create src/lib/ac-linter.ts with pattern detection for:
- Vague patterns ("should work", "properly", "correctly")
- Unmeasurable patterns ("fast", "performant", "responsive")
- Incomplete patterns ("handle errors", "edge cases")
- Open-ended patterns ("etc.", "and more", "such as")
- Add comprehensive test coverage in src/lib/ac-linter.test.ts (34 tests)
- Update /spec skill with "AC Quality Check" section
- Add --skip-ac-lint flag to bypass linting when needed
The linter is warning-only - it surfaces issues but doesn't block plan
generation, allowing teams to proceed while being aware of AC quality.
Closes #201
Co-Authored-By: Claude Opus 4.5 <[email protected]>
5 tasks
admarble
deleted the
feature/201-add-ac-linting-to-spec-to-catch-vague-acceptance-c
branch
January 30, 2026 04:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/specto flag vague, untestable, or incomplete requirements--skip-ac-lintflag for cases where linting should be bypassedTest plan
/specon an issue with vague AC to verify flagging/spec --skip-ac-lintto verify skip behaviorFiles changed
src/lib/ac-linter.tssrc/lib/ac-linter.test.ts.claude/skills/spec/SKILL.mdtemplates/skills/spec/SKILL.mdCloses #201
🤖 Generated with Claude Code