cyberneticlibrary

Verify GSD artifact consistency

gsd-preflightskillsetup L164
Tibsfox/gsd-skill-creator
What it does

Validate code before deployment (linting, typing, test coverage)

Best for

Preventing mergeable but broken code from reaching CI/production.

Inputs
  • · staged changes
  • · preflight rules (linter, type-checker, test threshold)
Outputs
  • · pass/fail on preflight
  • · error report
Requires
  • · ESLint/Prettier
  • · TypeScript
  • · Jest/test runner
Preconditions

Rules configured in project; all checks deterministic

Failure modes

Flaky tests block deployment; rule too strict (rejects valid code); rule too loose (accepts broken code)

Trust signals
  • · Pre-commit hook runs preflight; fails closed
  • · Test coverage threshold enforced (e.g., >80%)