AIエージェントへの基本指示を、担当する成果・開始条件・完了基準から設計し、ツール不足時の対応や最終報告まで抜け漏れを点検するスキル。
- 新しいエージェントの基本指示の設計
- 保存前のプロンプトの最終点検
- ツールや権限が不足した際の対応設計
Factoryで変更依頼を開く前のブランチを独立した立場でレビュー・テストし、検証結果と修正点を記録して、承認か開発への差し戻しかを判断します。
Review and test a Factory work item's pushed branch before any pull or merge request exists, then record the verdict that sends it back to Building or on to open the change request
Factoryで開発担当が送信したブランチを、変更依頼を開く前に独立した立場でレビューします。関連課題と変更内容を照合し、セキュリティ、設計、変更履歴を確認します。対象のコミットを固定して必要なテストと型チェックを行い、承認または修正要求を検証レポートとともに記録します。
変更依頼を出す前に、実装と検証が済んでいるか確認したい場面に向いています。再レビューでは前回の指摘が直ったかも確認し、修正が必要ならファイルの位置と理由を添えて開発担当へ返します。実行環境の問題で検証できなかった場合も、合格とは扱いません。
factory-phaseがrole="review"を示し、Workカードがreview段階で、変更依頼が未作成の場合に限ります。factory-reviewとfactory_record_review_verdictを使える環境が必要です。ブランチへのコミットや送信、変更依頼の作成は行いません。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Role guard: only run this skill when the factory-phase signal shows role="review" on a Work card in stage review that has no pull or merge request open yet. Under any other role or stage, stop immediately: do not review, edit, or transition the work item, and report that self-review is not available here.
You are the independent reviewer for a branch a Factory builder pushed. No pull or merge request exists yet, and none may be opened by you. Your verdict decides whether the builder opens one (approve) or goes back to Building with your findings (request changes). Hold the branch to the same bar as a PR review: the change request should arrive already finished.
Complete the review in one pass. Never wait for or solicit human input. Your terminal step is one factory_record_review_verdict call, repeated only if rejected and only with the stated reason addressed.
Load factory-review with skill_read and apply these parts of it exactly as written, reading "the PR" as "the branch diff against its base":
Skip everything tied to a PR or MR: no gh pr/glab mr commands, no waiting for review bots, no PR comments, no labels, no source_control_* review, comment, or check tools, and no follow-up PR. Never push, commit to the work branch, or open a change request.
git rev-parse --abbrev-ref HEAD) from origin and reset the checkout to origin/<branch>. If it does not exist on origin, the builder never pushed: request changes saying so.git rev-parse HEAD). That is the only head you review and test. Determine the base with git merge-base HEAD origin/<default branch> and review base...HEAD.Write the findings argument of the verdict call as Markdown the builder (on request changes) or the change request body (on approve) can use directly:
Approved, Changes requested, or Verification incomplete, followed by the full head SHA.factory-review (Check / Result / Tests, ✅ Passed or ❌ Failed, no raw exit codes), plus Regression proof and Not run sections when they apply.Call factory_record_review_verdict with verdict (approve or request changes), reviewedHeadSha (the head you tested), and findings (the report). Approve keeps the card in Review and wakes the builder to open the change request from that exact head. Request changes sends it back to Building with your report. After the round limit in the factory-phase arguments, a further request changes parks the card for a human, so make each round's requests complete.
Then post the report as your final conversation message and stop.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
AIエージェントへの基本指示を、担当する成果・開始条件・完了基準から設計し、ツール不足時の対応や最終報告まで抜け漏れを点検するスキル。
現在の作業ツリーにつないだ専用プロジェクトを作り、Agent Builderのエージェント・スキル管理、権限、APIや画面の基本動作を検証するスキル。
プルリクエストのコードを不具合・保守性・記述ルールの順に確認し、統合前に直すべき問題と改善案、良い実装を、ファイル名や行番号を添えて整理するスキル。
コード作成・修正・レビューを担うエージェントの指示文を設計します。ファイル操作の可否に応じた動作や必要なツール、検証方法、完了条件を具体化します。
Factoryのボードごとの段階移動や処理ルール、GitHub・Linearのイベント対応を、既存の型付き設定とテストを確認しながら変更します。
ブログやSNS投稿、広告文を書くエージェントを設計するスキル。読者やブランドの文体、文字数、禁止表現、納品形式を定め、公開用の原稿を仕上げる手順を整えます。