ワンクリックで
code-review
Review code changes in Copex for bugs, style issues, and best practices. Use this when reviewing PRs or code changes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Review code changes in Copex for bugs, style issues, and best practices. Use this when reviewing PRs or code changes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Debug issues in Copex, especially streaming, content display, and event handling bugs. Use this when investigating bugs, unexpected behavior, or errors.
Add new features to Copex. Use this when asked to implement new functionality, add CLI commands, or extend the client.
Release and publish Copex to PyPI. Use this when asked to release, publish, bump version, or create a new version.
Write and run tests for Copex. Use this when asked to write tests, fix tests, improve coverage, or debug test failures.
| name | code-review |
| description | Review code changes in Copex for bugs, style issues, and best practices. Use this when reviewing PRs or code changes. |
from __future__ import annotations for forward refsasync/await for all I/Oclient.py)on_event()received_content flag set when content arriveserror_holdercli.py)FakeSession to mock SDKon_chunkWhen streaming, NEVER use history fallback:
# BAD
if not received_content:
messages = await session.get_messages() # Stale!
# GOOD
if not received_content and on_chunk is None:
messages = await session.get_messages()
When streaming, prefer accumulated UI state:
# BAD
ui.set_final_content(response.content, response.reasoning)
# GOOD
final_message = ui.state.message if ui.state.message else response.content
ui.set_final_content(final_message, final_reasoning)
Both files must have same version:
pyproject.toml → version = "X.Y.Z"src/copex/cli.py → __version__ = "X.Y.Z"## Summary
Brief description of changes
## Status
- [ ] Approved
- [ ] Changes Requested
## Critical Issues
- Must-fix problems
## Suggestions
- Nice-to-have improvements
## Positive
- Good patterns used