基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/forcedotcom/agents --skill agents-pr-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | agents-pr-review |
| description | Review pull requests in the agents library. Use for "review PR", "code review", or "gh pr view". |
gh CLIgit (PR branch must be checked out locally for authoritative diff).claude)Run all three together:
gh pr view <PR_NUMBER> --json title,number,body,files,commits,additions,deletions,changedFiles,baseRefName,headRefName,author,labelsgh pr diff <PR_NUMBER> — GitHub API diff (may be stale)git diff $(gh pr view <PR_NUMBER> --json baseRefName --jq '.baseRefName') -- $(gh pr view <PR_NUMBER> --json files --jq '[.files[].path] | join(" ")') — authoritative local diffgh pr diff can be stale after a recent pushgit diff <base> and Read tool on changed filestype: message format (enforced by commitizen)feat, fix, improvement, docs, style, refactor, perf, test, build, ci, chore, revertfeat: prefix; breaking changes require a major version bump; flag if the commit type doesn't match the impact@ and surrounded with @ on both sides with no spaces (e.g. @W-12345678@).ts file must include the Apache 2.0 license headerany types — this repo uses tsconfig-strict-esmsrc/index.tscausemessages/ — not hardcoded in source.md file under messages/test/ (mirrors src/ structure).test.ts suffix; NUTs use .nut.tsTestContext and MockTestOrgData from @salesforce/core/testSetuptest/mocks/ — no live org calls in unit testsexpect, not assert)@salesforce/core, @salesforce/kit, etc.)npm dependencies — they require deliberate justification in a libraryAgentBase, ScriptAgent, ProductionAgent follow a class hierarchy — new agent types should extend AgentBaseAgent class (create, list, init) are the public entry points — keep their signatures stablesrc/templates/ — new templates belong there