Communityコーディング&開発github.com

alfathafp/portofolio-web-design

タスクの完了時、主要機能の実装時、マージ前に作業が要件を満たしていることを確認するために使用します。

portofolio-web-design とは?

このスキルは、コードレビューサブエージェントを起動して、問題が拡大する前に発見するための枠組みを提供します。開発の各段階(タスク完了後、機能実装後、マージ前)でレビューを実行することを必須とし、早期かつ頻繁なレビューを推奨します。レビューアが変更を評価する際に、正確に構成されたコンテキストのみを渡すことで、コーディネーターのセッション履歴を消費しない設計が特徴です。また、「差分を自分で確認すればよい」という言い訳や、重大な問題を無視するなどの危険な行動を回避するための具体的なガイドラインも含まれています。このスキルはClaude Codeなどの汎用エージェントで使用することを想定しており、Git SHAの取得方法や具体的な実行例、テンプレートの参照方法も記載されています。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/alfathafp/portofolio-web-design/tree/HEAD/.agents/skills/requesting-code-review

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

コードレビューの依頼

問題が拡大する前に発見するために、コードレビューサブエージェントを起動します。レビューアは評価のために正確に構成されたコンテキストを取得し、セッションの履歴は渡されません。

基本原則: 早期に、頻繁にレビューすること。

レビューを依頼すべきタイミング

必須:

  • サブエージェント駆動開発における各タスクの完了後
  • 主要機能の実装完了後
  • mainブランチへのマージ前

任意だが価値がある:

  • 行き詰まったとき(新たな視点を得るため)
  • リファクタリング前(ベースライン確認)
  • 複雑なバグ修正後

依頼方法

1. Git SHAを取得:

BASE_SHA=$(git rev-parse HEAD~1)  # または: git merge-base origin/main HEAD
HEAD_SHA=$(git rev-parse HEAD)

2. コードレビューサブエージェントを起動:

general-purpose サブエージェントを起動し、code-reviewer.md にあるテンプレートを埋めます。

プレースホルダー:

  • {DESCRIPTION} - 構築したものの簡単な概要
  • {PLAN_OR_REQUIREMENTS} - それが何をすべきか
  • {BASE_SHA} - 開始コミット
  • {HEAD_SHA} - 終了コミット

3. フィードバックに対処:

  • Critical(重大)な問題は直ちに修正
  • Important(重要)な問題は先に進む前に修正
  • Minor(軽微)な問題は後回しにして記録
  • レビューアが間違っている場合は(理由を添えて)反論

例

[タスク2: 検証関数の追加が完了]

あなた: 先に進む前にコードレビューを依頼しましょう。

BASE_SHA=$(git log --oneline | grep "タスク1" | head -1 | cut -d' ' -f1)
HEAD_SHA=$(git rev-parse HEAD)

[コードレビューサブエージェントを起動]
  DESCRIPTION: 4種類の問題タイプに対して verifyIndex() と repairIndex() を追加
  PLAN_OR_REQUIREMENTS: docs/superpowers/plans/deployment-plan.md のタスク2
  BASE_SHA: a7981ec
  HEAD_SHA: 3df7661

[サブエージェントから返却]:
  強み: クリーンなアーキテクチャ、実際のテスト
  問題:
    Important: 進捗インジケータがない
    Minor: レポート間隔のマジックナンバー (100)
  評価: 先に進んでよい

あなた: [進捗インジケータを修正]
[タスク3に続行]

よくある言い訳

言い訳現実
「サブエージェントを起動せずに自分で差分をレビューすればいい」あなたはコーディネーターです。差分をその場でレビューすると、作業を進めるために必要なコンテキストウィンドウを消費してしまいます。レビューサブエージェントを起動してください。差分と評価はそのコンテキスト内で行われ、結果だけがあなたに返ってきます。
「レビューアが変更を理解するには、セッション履歴全体が必要だ」正確に構成されたコンテキストを渡し、セッション履歴は決して渡さないでください。レビューアを作業成果物に集中させ、あなたの思考プロセスに注目させないようにします。

危険な兆候

絶対にしないこと:

  • 「簡単だから」とレビューをスキップする
  • Critical(重大)な問題を無視する
  • Important(重要)な問題を修正せずに先に進む
  • 正当な技術的フィードバックに反論する

レビューアが間違っている場合:

  • 技術的な理由を添えて反論する
  • 動作するコードやテストを示す
  • 明確化を依頼する

テンプレートは code-reviewer.md を参照してください。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

alfathafp/portofolio-web-design

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).

alfathafp/portofolio-web-design

Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be configured.

alfathafp/portofolio-web-design

Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.

alfathafp/portofolio-web-design

Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch. Use when asked to review a diff or a pull request, even when the diff is pasted inline.

alfathafp/portofolio-web-design

Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.

alfathafp/portofolio-web-design

Establishes a project's quality bar as a written contract and stops agents quietly lowering it. Interviews the user on which dimensions matter, supplies sane default thresholds when they have no number in mind, records everything in CONSTRAINTS.md, and watches the diff for a weakened bar — new @ts-ignore or eslint-disable suppressions, skipped or deleted tests, assertions stripped out, unimplemented stubs, thresholds edited down. Use when no quality bar is written down, when the user says "set up constraints" or "define our standards", when the user wants dimensions they care about — accessibility, web performance, coverage — set up as enforced constraints, when an agent keeps silencing checks or skipping tests to get to green, when you need a coverage or performance threshold and don't know what number to pick, or when an agent writes more code than anyone will read.

alfathafp/portofolio-web-design

Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project.

alfathafp/portofolio-web-design

Guides systematic root-cause debugging. Use when tests fail, builds break, something that worked yesterday broke, behavior doesn't match expectations, or you encounter any unexpected error. Use when you need to figure out what broke and why — a systematic approach to finding and fixing the root cause rather than guessing.

alfathafp/portofolio-web-design

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

alfathafp/portofolio-web-design

Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.

alfathafp/portofolio-web-design

Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.

alfathafp/portofolio-web-design

Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

alfathafp/portofolio-web-design

Records decisions and documentation. Use when you need to document an architecture decision (ADR) or the reasoning behind a design choice, when changing public APIs, shipping features, or when you need to record context that future engineers and agents will need to understand the codebase.

alfathafp/portofolio-web-design

Subjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when you want every assumption cross-examined before proceeding, when stress-testing a plan for hidden failure modes, when correctness matters more than speed, when working in unfamiliar code, when stakes are high (production auth, security-sensitive logic, a high-stakes migration, irreversible operations), or any time a confident output would be cheaper to verify now than to debug later.

alfathafp/portofolio-web-design

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

alfathafp/portofolio-web-design

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work

alfathafp/portofolio-web-design

Builds production-quality, accessible, responsive user-facing UIs. Use when building or modifying interfaces and pages, creating components, implementing layouts, meeting WCAG accessibility requirements, managing state, or when the output needs to look and feel production-quality rather than AI-generated.

alfathafp/portofolio-web-design

Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, splitting uncommitted work in a messy working tree into clean atomic commits, opening or reviewing a pull request (PR), pushing to a remote, or when you need to organize work across multiple parallel streams. Use when cutting a release, choosing a semantic version bump, tagging, or writing a changelog.

alfathafp/portofolio-web-design

Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to stress-test assumptions before committing to a plan, or when you want to expand options before converging on one. Triggers on "ideate", "refine this idea", or "stress-test my plan".

alfathafp/portofolio-web-design

Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.

関連スキル