Skip to content

fix(#250): Add pre-PR lint validation to catch CI failures early - #253

Merged
admarble merged 1 commit into
mainfrom
feature/250-fix-exec-add-pre-pr-lint-validation-to-catch-ci-fa
Feb 4, 2026
Merged

admarble merged 1 commit into
mainfrom
feature/250-fix-exec-add-pre-pr-lint-validation-to-catch-ci-fa

Conversation

@admarble

@admarble admarble commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Changes

Location Change
allowed-tools YAML Add Bash(npm run lint:*)
Section 3 Add Pre-PR Quality Gates with build→lint→test ordering
New Section 3d Detailed lint check with graceful skip logic
Section 4 Update Implementation Loop to include lint
Output Verification Add lint results to required checklist

AC Verification

AC Description Status
AC-1 SKILL.md includes npm run lint in pre-PR checks ✅
AC-2 Lint runs after build, before tests ✅
AC-3 If lint fails, fix before PR creation ✅
AC-4 Graceful skip for projects without lint ✅
AC-5 (Derived) Update allowed-tools YAML ✅
AC-6 (Derived) Add lint results to progress summary ✅

Test plan

  • npm run build passes
  • npm run lint passes (0 errors, 0 warnings)
  • npm test passes (1159 tests)
  • Verify lint check guidance in SKILL.md is clear
  • Test in a project without a lint script (graceful skip)

Closes #250

🤖 Generated with Claude Code

Add `npm run lint` to /exec skill's pre-PR quality gates to catch ESLint
errors locally before they fail CI. This prevents wasted quality loop
iterations from lint failures (as happened in issue #239).

Changes:
- Add `Bash(npm run lint:*)` to allowed-tools YAML
- Add Pre-PR Quality Gates section with build→lint→test ordering
- Add new Section 3d with detailed lint check instructions
- Include graceful skip logic for projects without lint script
- Update Implementation Loop to run lint after build
- Update Output Verification to require lint results

Closes #250

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@admarble
admarble merged commit f11d55b into main Feb 4, 2026
6 checks passed
@admarble
admarble deleted the feature/250-fix-exec-add-pre-pr-lint-validation-to-catch-ci-fa branch February 4, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(exec): Add pre-PR lint validation to catch CI failures early

1 participant