用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill pr-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | pr-review |
| description | Use when: Author wants to check their changes before sharing with the team. Typically used with PRs |
Review pull requests for the ide-sidecar project, helping reviewers understand changes and authors self-review before formal team review. Focuses on Java code quality, testing, documentation, native build considerations, and other project-specific patterns and requirements.
Use when: Author wants to check their changes before sharing with the team. Typically used with PRs in draft mode or against local changes before pushing them to GitHub.
Goals:
Use when: Reviewer needs to understand and evaluate a PR from another team member. Typically used with PRs that are ready for review and have been shared with the team.
Goals:
For local changes:
# See what files changed
git diff --name-only HEAD~1 # or compare against main
git diff main --name-only
# See the actual changes
git diff main --stat
git diff main
For GitHub PRs:
# Get PR details if PR number or URL provided
gh pr view <PR_NUMBER> --json number,title,body,author,baseRefName,headRefName,additions,deletions,changedFiles,state,reviewDecision
# If PR number or URL not provided, try current branch
gh pr view --json number,title,body,author,baseRefName,headRefName,additions,deletions,changedFiles,state,reviewDecision
# Get the diff
gh pr diff <PR_NUMBER>
# Get existing review comments if any
gh pr view <PR_NUMBER> --json reviews,comments
# Lookup GitHub issues referenced in the PR description
gh issue view <ISSUE_NUMBER> --json body,comments
src/main/java/...)src/test/java/...)application.yml, pom.xml)*.md)src/main/resources/META-INF/native-image/...)src/main/resources/...)src/generated/resources/...).semaphore/...)Apply the ide-sidecar code review standards:
| Area | What to Check |
|---|---|
| Single Responsibility | Do classes and methods maintain focused, single purposes? |
| Security | Are there any security concerns (e.g., hardcoded secrets, command injection, OWASP Top 10)? |
| GraalVM Compatibility | Are there any issues that would prevent successful native compilation (e.g., missing @RegisterForReflection, native library usage, usage of dynamic loading of Java services)? Use /graalvm-docs to verify native image patterns against official docs. |
| Testing Coverage | Does new functionality include appropriate tests? Favor unit over integration tests, but use integration tests where necessary. We're aiming for a test coverage of 80% or higher. |
| Test Cases | Are features reasonably tested? Are edge cases covered? |
| Error Handling | Do catch blocks NEVER swallow exceptions? Are exceptions logged at ERROR level? |
| API Changes | Are user-facing API endpoint changes versioned if possible? Do API changes follow the API Design Guide? |
| Documentation | Are code changes documented in Javadocs? |
| Complexity | Is unnecessary complexity avoided to keep code maintainable and testable? |
Scan the diff for these patterns:
@RegisterForReflection - Required for DTOs/records accessed via reflection in native builds (use /graalvm-docs to verify patterns)/quarkus-docs to verify)Output the review in this format:
Author: {author} Branch: {headRefName} → {baseRefName} Changes: +{additions} / -{deletions} across {changedFiles} files
{2-3 sentence summary of what the PR does and why}
{List blocking issues with file:line references, or "None found"}
{List non-blocking suggestions for improvement, or "None"}
{Call out good patterns, thorough testing, or well-written code}
{Any concerns about GraalVM native compilation: missing reflection registration, native library usage, usage of Java features not available in GraalVM (e.g., dynamic service loading), etc.}
{APPROVE / REQUEST CHANGES / NEEDS DISCUSSION}
{Brief rationale for the recommendation}
/graalvm-docs to verify GraalVM native image patterns against official docs — catches
missing @RegisterForReflection, incorrect reflect-config.json entries, and native library
issues that only surface in make test-native/quarkus-docs to verify Quarkus patterns against official docs when reviewing CDI wiring,
Mutiny reactive chains, JAX-RS endpoints, or test configuration — catches incorrect scope
annotations, misused Mutiny operators, and test profile issuesapplication.yml native config, META-INF/native-image/, or
ReflectionConfiguration.java, always flag for make test-native verification*BeanProducers.java pattern established in the projectConverted and distributed by TomeVault — claim your Tome and manage your conversions.