che-incubator/dev-workflow-ai/review-pr

Claude Code and agent skill by che-incubator/dev-workflow-ai

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Review a che-server PR diff against Java/Maven coding standards. Reports findings grouped by severity.

Install

npx vskill@latest install che-incubator/dev-workflow-ai/review-pr

SKILL.md

The same SKILL.md was published earlier as che-incubator/dev-workflow-ai/review-pr.

Review che-server PR

Required input

A PR number or URL. Parse from $ARGUMENTS.

Workflow

1. Fetch the PR diff
bash
PR_NUM=<parse from $ARGUMENTS>
gh pr diff ${PR_NUM} --repo eclipse-che/che-server
gh pr view ${PR_NUM} --repo eclipse-che/che-server --json title,body,files,additions,deletions,labels
2. Tier 1 — Always check (BLOCKING unless noted)
EPL-2.0 header in new .java files
bash
gh api repos/eclipse-che/che-server/pulls/${PR_NUM}/files \
--jq '.[] | select(.status == "added") | .filename' | grep "\.java$"

For each new Java file: fetch it and verify the EPL-2.0 header block is present. Missing header = BLOCKING.

No wildcard imports
bash
gh pr diff ${PR_NUM} --repo eclipse-che/che-server | grep "^\+" | grep -E "^import .+\.\*;"

Any import com.foo.*; in added lines = BLOCKING.

No hardcoded credentials or tokens
bash
gh pr diff ${PR_NUM} --repo eclipse-che/che-server | grep "^\+" | grep -iE "(password|token|secret|apikey)\s*=\s*['\"][^$]"

Hardcoded secrets = BLOCKING.

@Inject for injectable components

Search added lines for new <ClassName>( where the class is a service/repository. Constructor injection with @Inject is the correct pattern. Bare new for injectable components = BLOCKING.

Test present for changed logic (ADVISORY)
bash
gh api repos/eclipse-che/che-server/pulls/${PR_NUM}/files \
--jq '.[].filename' | grep -v "Test\.java\|\.xml\|\.md"

For each changed non-test Java file, check if a corresponding *Test.java was also changed or added. New logic without new tests = ADVISORY (BLOCKING if a new class with no existing test).

3. Tier 2 — Trigger-based checks
REST endpoint changed (@Path, @GET, @POST, @PUT, @DELETE)
bash
gh pr diff ${PR_NUM} --repo eclipse-che/che-server | grep "^\+" | grep -E "@(GET|POST|PUT|DELETE|Path)"

If triggered, check:

  • Auth guard present: @RolesAllowed or equivalent annotation
  • Input validation: method parameters validated before use
  • Error response format: consistent with existing API (returns typed error body)
Kubernetes API call changed

If KubernetesClient, CoreV1Api, or CustomObjectsApi usage changed:

  • Check error handling: ApiException caught and converted to domain exception
  • Check resource cleanup: created resources have corresponding delete on error path
OAuth code changed

If OAuthAuthenticator, OAuthToken, or OAuth-related classes changed:

  • Check token validation logic
  • Check scope verification
  • Verify no token is logged at info/debug level

Output

## PR Review: #NNNN — <title>
| # | File | Finding | Severity |
|---|---|---|---|
| 1 | src/.../Foo.java | Missing EPL-2.0 header | BLOCKING |
| 2 | src/.../Bar.java | Wildcard import: `import com.foo.*` | BLOCKING |
| 3 | src/.../Baz.java | No test updated for changed method | ADVISORY |
**Blocking issues:** N — PR cannot merge until fixed.
**Advisory issues:** N — fix recommended.

If no issues: "No blocking issues. PR looks clean."

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/che-incubator/dev-workflow-ai/review-pr/badge)](https://verified-skill.com/skills/che-incubator/dev-workflow-ai/review-pr)

Something wrong with this skill or its page? Tell us.