Skip to content

Validation

Both workflows include validation, but at different depths:

WorkflowValidation TypeCommand
My KitAutomated checks/mykit.validate
Spec KitSpec review + automated checks/speckit.review + /mykit.validate

Run automated checks before commit:

/mykit.validate

Automatically fix common issues:

/mykit.validate --fix
CheckDescription
LintCode style and formatting
TypesTypeScript compilation
BuildProduction build succeeds
TestsTest suite passes

Before creating PR:

  • bun run build passes
  • No lint errors
  • No type errors
  • Tests pass (if applicable)
  • Changes match issue description

Before implementation, validate the spec:

/speckit.review
SectionValidation
Problem StatementClear, specific, impactful
GoalsMeasurable, bounded
Non-GoalsExplicit exclusions
User StoriesProper format, testable criteria
DeliverablesConcrete, specified
Acceptance CriteriaComplete, verifiable

Before marking spec “Approved”:

  • Problem statement defines the issue clearly
  • Goals are specific and measurable
  • Non-goals prevent scope creep
  • User stories follow format
  • Acceptance criteria are testable
  • Deliverables are defined
  • Implementation checklist is complete

During and after implementation:

/mykit.validate

Same checks as My Kit, plus:

  • All acceptance criteria met
  • Spec checklist items completed
  • No scope creep beyond spec

IssueExampleFix
Too vague”Fix the bug”Specify which bug and how
No test planMissing “Test” sectionAdd verification steps
Scope creepAdding unrelated changesStick to the issue
IssueExampleFix
Vague problem”Needs improvement”Explain specific problem
Unmeasurable goals”Make it better”Define success criteria
Missing non-goalsNo exclusionsAdd explicit scope limits
Vague criteria”Should work”Make testable

My Kit:

  • Issue exists
  • Quick spec in issue/PR

Spec Kit:

  • Spec document exists
  • Spec reviewed and approved
  • Status is “Approved”

Both workflows:

  • Build passes
  • Lint clean
  • Tests pass
  • Changes match spec/issue

Both workflows:

  • PR approved
  • All checks pass
  • No unresolved comments
  • Changelog updated

CommandPurpose
/mykit.validateRun all checks
/mykit.validate --fixAuto-fix issues
/mykit.securitySecurity scan
CommandPurpose
/speckit.reviewValidate spec completeness
/speckit.approveMark spec approved
/mykit.validateRun implementation checks

  • Run /mykit.validate --fix before every commit
  • Keep changes focused on the issue
  • Don’t skip validation for “small” changes
  • Get spec reviewed before writing code
  • Update spec if requirements change
  • Mark acceptance criteria as you complete them
  • Don’t mark “Complete” until all criteria pass