| name | fix |
| description | Run the fix-and-verify suite for the workspace (build, auto-fix lint/format/headers, test). IMPORTANT - Proactively invoke this skill after completing any code changes (new features, bug fixes, refactors) before reporting completion. |
Run the auto-fix and validation suite for the GLSP dev-packages monorepo from the repository root.
- Build first. This is a hard gate: if the build fails, stop immediately, report the build errors, and do not run any of the following steps.
The build must pass before anything else runs.
pnpm build
- Auto-fix lint, formatting, and copyright headers. Run all three even if an earlier one reports remaining problems (they are independent):
pnpm lint:fix
pnpm format
pnpm headers:fix -t changes
- Run the test suite to validate behavior (tests are not auto-fixable) — only if the change touched the CLI package (
dev-packages/cli), the only package with tests. Skip this step otherwise:
pnpm test
Then:
- If
pnpm build failed, fix the build errors and re-run this skill.
- If
pnpm lint:fix reported lint errors it could not fix, or pnpm test failed, fix them manually and re-run this skill.
- Otherwise if everything is clean (build succeeds, formatting and headers are corrected in place, lint has no remaining errors, tests pass) — report completion.