بنقرة واحدة
pr-review-fixer
Fetch the latest GitHub PR review comments and apply code fixes following TDD principles.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Fetch the latest GitHub PR review comments and apply code fixes following TDD principles.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create a git commit for the current changes, with an English commit message and the change list written as bullet points. Use this skill whenever the user asks to commit, make a commit, save changes to git, or says things like "コミットして" / "コミットしといて" / "commit this" — even if they don't specify a message. Always use this skill for commit creation instead of running `git commit` ad hoc, so the message format stays consistent.
Create a pull request from the current branch targeting the develop branch. Use this skill whenever the user asks to create a PR, open a pull request, submit a PR, or push changes for review. Always use this skill for PR creation tasks, do not just run gh pr create manually.
| name | pr-review-fixer |
| description | Fetch the latest GitHub PR review comments and apply code fixes following TDD principles. |
| argument-hint | Optional PR number (defaults to the latest open PR) |
$ARGUMENTS
If a PR number is provided, use it directly. Otherwise, fetch the latest open PR.
Use GitHub MCP server tools as the primary method. Fall back to gh CLI only if MCP tools are unavailable.
Primary (GitHub MCP server):
mcp__github__list_pull_requests with state: "open" to identify the latest open PRmcp__github__pull_request_read with the PR number to get details and review commentsmcp__github__list_commits to understand the full context of changesFallback (gh CLI — only when MCP is unavailable):
gh pr list --state open --limit 5 to identify the latest open PRgh pr view <PR_NUMBER> --comments to see all review commentsgh pr diff <PR_NUMBER> to understand the full context of changesgh pr checks <PR_NUMBER> to see CI statusFor each review comment:
Before writing any code:
For each fix:
npm test after every change — all tests must passnpm run lint after every code changenpm test — all tests must pass, coverage ≥ 95% linesnpm run lint — no ESLint errorsnpm run build — TypeScript compilation must succeedtests/unit/ or tests/integration/ (Jest) or tests/e2e/ (Playwright)@param, @returns, @throws as applicableObject.assign, or immutable update patternssrc/messages/en.json and src/messages/ja.jsonnext-intl's useTranslations / getTranslations — never hardcode display stringsok(data) / fail(msg, status) helpers from src/lib/api-response.ts{ data, error }npm run lint passesnpm run build passesAfter completing your work, provide a summary:
npm test, npm run lint, npm run buildAfter completing the workflow, update agent memory at /workspaces/sealion/.claude/agent-memory/pr-review-fixer/ with any newly discovered patterns worth remembering: