Skip to content

feat: add /verify skill for lint, build, and test validation#1222

Open
alexs-mparticle wants to merge 3 commits intodevelopmentfrom
feat/add-verify-skill
Open

feat: add /verify skill for lint, build, and test validation#1222
alexs-mparticle wants to merge 3 commits intodevelopmentfrom
feat/add-verify-skill

Conversation

@alexs-mparticle
Copy link
Collaborator

@alexs-mparticle alexs-mparticle commented Mar 20, 2026

Background

  • Add's a /verify skill for automating testing

What Has Changed

  • {Describe the changes introduced by this PR}

Screenshots/Video

  • {Include any screenshots or video demonstrating the new feature or fix, if applicable}

Checklist

  • I have performed a self-review of my own code.
  • I have made corresponding changes to the documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have tested this locally.

Additional Notes

  • {Any additional information or context relevant to this PR}

Reference Issue (For employees only. Ignore if you are an outside contributor)

@alexs-mparticle alexs-mparticle changed the base branch from master to development March 20, 2026 20:40
@alexs-mparticle alexs-mparticle marked this pull request as ready for review March 20, 2026 20:40
@alexs-mparticle alexs-mparticle requested a review from a team as a code owner March 20, 2026 20:40
@cursor
Copy link

cursor bot commented Mar 20, 2026

PR Summary

Medium Risk
Low-impact documentation additions, but changes test:jest to stop running a full build first, which could affect CI/local workflows that relied on build artifacts or build-time validation.

Overview
Adds a new Claude /verify skill that documents a standard pre-commit verification flow: run npm run lint, then run Jest and Karma tests and report results in a table.

Updates AGENTS.md to advertise the new skill, and tweaks package.json so test:jest runs Jest directly (no longer performs npm run build beforehand).

Written by Cursor Bugbot for commit 21fd818. This will update automatically on new commits. Configure here.

## Notes

- `npm run test:jest` runs Jest unit tests against the built output. It requires `npm run build` to complete first.
- The full Karma browser test suite (`npm run test`) is slower and typically only needed for integration-level verification. Use `test:jest` for fast feedback.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd argue that the karma tests which include a lot of integration tests are even more important than just the jest tests which are mostly unit tests. Getting fast feedback for speed sake will give the AI a false impression that it's not breaking anything. I think we should have it run both test suites.

- Add Karma integration tests alongside Jest unit tests
- Remove separate build step; each test suite builds internally
- Run lint before tests as a gate
- Run both test suites in parallel for efficiency
Jest tests don't depend on the build output, so the build step was
unnecessary and caused a race condition when running test:jest and
test (karma) in parallel during /verify.
@sonarqubecloud
Copy link

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

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.

2 participants