liferay/liferay-portal / .claude/skills/pr-check
pr-check
VerifiedCheck that a PR is ready to be sent for review.
validations/portal/rest-builder.md
View on GitHub# REST Builder
Regenerates REST Builder output and commits whatever has drifted. It runs when a `rest-config.yaml` or `rest-openapi.yaml` changes, when the branch changes generated output without its input, and when the generator itself changes, since that alters the output of every module.
## Match
`/rest-config\.yaml$|/rest-openapi\.yaml$|/dto/v[0-9_]+/[^/]+\.java$|SerDes\.java$|OpenAPIResource[^/]*\.java$|Base[^/]*ResourceTestCase\.java$|^modules/util/portal-tools-rest-builder/`
## Command
Run REST Builder for every module, as described in the "Every Module" section of `.claude/rules/rest-builder.md`.
## Autocommit
After the regen, check for drift with `git diff --quiet` over the regen output paths. When the check shows drift, stage all changes (`git add --all`) and create a commit titled `<TICKET> buildREST`.
When the commit fails, record the failure and continue to the next validation.
## Time Estimate
~1 min.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: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | 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: 322k | 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: 322k | Updated | Claude CodeCodex | Verified | Install |