ワンクリックで
address-feedback-local
Improve the current branch's changes by getting code reviews in a loop until all feedback is addressed
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Improve the current branch's changes by getting code reviews in a loop until all feedback is addressed
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Improve the current branch's changes by getting code reviews in a loop until all feedback is addressed
Adapt designs to work across different screen sizes, devices, contexts, or platforms. Ensures consistent experience across varied environments.
Review a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight.
Perform comprehensive audit of interface quality across accessibility, performance, theming, and responsive design. Generates detailed report of issues with severity ratings and recommendations.
Amplify safe or boring designs to make them more visually interesting and stimulating. Increases impact while maintaining usability.
Improve unclear UX copy, error messages, microcopy, labels, and instructions. Makes interfaces easier to understand and use.
| name | address-feedback-local |
| description | Improve the current branch's changes by getting code reviews in a loop until all feedback is addressed |
You are performing iterative code review and improvement using local review tools. This skill takes no arguments (if any were given, ignore). You are operating on the local checkout. If the current branch is main, your task is reviewing the changes between origin/main..HEAD (or master and origin/master respectively if that is the convention in the repo).
main. If you are, checkout a new branch with an appropriate name.git push -u origin HEAD if needed.gh pr create and note the returned PR number.Before kicking off the review loop, read your own diff with reviewer eyes. Reviewer rounds tend to find the same patterns repeatedly; getting them in your first commit saves an iteration cycle. Run:
git diff origin/main...HEAD
and walk it with these questions in mind:
Contract changes: For every new function, ask "what is its contract? what edge violates it?" Then write a test for that edge if one doesn't exist. Specifically:
.. traversals, case-folding, missing leaves vs missing intermediate components.Consumer audit on contract changes: If the PR changes a contract that has multiple consumers (e.g. a path-resolution rule, a registry primitive, an auth check), grep for every other consumer of the affected primitive. Apply the same change everywhere — DO NOT fix one site and ship.
# Example: changed how `.mdl` paths resolve. Find every consumer.
git grep -nE 'mdl|sidecar' src/
The test for whether you've finished: every consumer should be calling the same primitive, not reimplementing the rule inline.
Threat-model alignment: If the PR touches auth, transport, path validation, file-creation, or anything described in docs/threat-model.md, cross-reference each promise against your code. The threat model is a contract; if your PR's code doesn't match it, either fix the code or update the threat model — but don't ship divergence silently.
N≥3 duplication smell: If the same conditional / helper / rule appears in 3+ places, refactor before merging. This is the source of the "next round of bugs" — every duplicated rule eventually drifts.
If you find issues during this pass, fix them with TDD before pushing. The review loop below should be addressing things you genuinely missed, not things visible to anyone reading the diff.
Execute this loop until the reviewer reports no actionable feedback in the same iteration:
Run at the START of every iteration:
git fetch origin && git merge-base --is-ancestor origin/main HEAD && echo "origin/main is ancestor" || echo "diverged or behind"
If the current branch has diverged from or is behind origin/main, rebase, carefully resolving merge conflicts. After a successful rebase make sure the remote branch is updated:
git push --force-with-lease
Push the current state:
git push
Then run the review command and collect its output:
Codex review -- run with a 30-minute timeout:
codex -c 'model="gpt-5.6-sol"' -c 'model_reasoning_effort="xhigh"' exec review --json --base origin/main | tee /tmp/codex.stdout | jq -r 'select(.type=="item.completed" and .item.type=="agent_message") | .item.text'
Think CRITICALLY about the output. Your job is to extract feedback that would GENUINELY IMPROVE the work. Implement feedback that:
Ignore suggestions that:
If ANY feedback would genuinely improve the code:
Deferred feedback: Suggestions that are valid but out of scope for this PR (like a pre-existing design limitation) must NOT be silently dropped. For each such item, use gh to create a new issue with a detailed description of the concern.
Only if there is ZERO actionable feedback should you proceed to Step 3.
Reviewer found no actionable issues in the same iteration. The review cycle is complete.
Ensure all changes are pushed:
git push
Post a PR comment summarizing the improvements made during this review cycle. Use gh pr comment <PR_NUMBER> --body "...". The summary should be: