eclipse-glsp/glsp-eclipse-integration / .agents/skills/fix
fix
VerifiedUse after completing any code changes (new features, bug fixes, refactors) before reporting completion
Run the auto-fix and validation suite for the GLSP Eclipse Integration. The repository has two halves that are validated separately — run the part your change touched, and both when the change spans client and server.
Client
All commands run from the client/ directory, the pnpm workspace root.
- Build first (compiles the TypeScript packages and bundles the workflow webapp). 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
Then:
- If
pnpm buildfailed, fix the compile errors and re-run this skill. - If
pnpm lint:fixreported lint errors it could not fix, fix them manually and re-run this skill.
Server
The workflow example plugin ships the bundled webapp, so a client change reaches the server build only after it has been copied over. Run this from the repository root:
pnpm -C client copy:client
Then compile, run checkstyle and the tests in one pass and turn the collected violations into a verdict. Run the summary even when the Maven build failed — the reports of the modules that were built are still worth reading:
mvn -f server clean verify -B -Dcheckstyle.failOnViolation=false
.github/scripts/checkstyle-summary.py
Then:
- If the Maven build failed, fix the compile errors or failing tests and re-run this skill.
- If the checkstyle summary reported violations, fix them and re-run this skill.
Report completion once everything is clean: the client builds with no remaining lint errors and with formatting and headers corrected in place, and the server build, tests and checkstyle pass.
Notes:
- Checkstyle runs in the
validatephase, so letting it fail the build would skip the rest of the build.-Dcheckstyle.failOnViolation=falsecollects the violations instead and the summary script turns them into the failure — the same split the CI workflow uses. pnpm headers:fixis run fromclient/but checks the whole repository, Java sources included.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 318k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 318k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 318k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 318k | Updated | Claude CodeCodex | Verified | Install |