liferay/liferay-portal / .claude/skills/pr-check
pr-check
VerifiedCheck that a PR is ready to be sent for review.
validations/portal/instance-wrapper-build.md
View on GitHub# Instance Wrapper Build
Regenerates the instance wrappers declared in `instance_wrappers.xml` and commits whatever has drifted from them.
## Match
`instance_wrappers\.xml$`
## Command
```bash
(cd "${REPO_ROOT}/portal-impl" && ant build-iw)
```
## Autocommit
After the regen, check for real drift with `git diff --quiet` excluding `*-portlet-service.jar`, `packageinfo`, `service.properties`, `yarn.lock` (these always fluctuate). When the check shows drift, stage all changes (`git add --all`) and create a commit titled `<TICKET> buildIW`.
When the commit fails, record the failure and continue to the next validation.
## Time Estimate
~30 sec.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 |