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

エージェントスキルの利用

エージェントスキルを発見し、呼び出します。セッション開始時や、現在の作業にどのスキルまたはワークフローが該当するかを判断する必要がある場合に使用します。これは、他のすべてのスキルがどのように発見され、呼び出されるかを管理するメタスキルです。

エージェントスキルの利用 とは?

Agent Skillsは、開発フェーズごとに整理されたエンジニアリングワークフロースキルのコレクションです。各スキルは、シニアエンジニアが従う特定のプロセスをコード化しています。このメタスキルは、現在のタスクに最適なスキルを発見し適用するのに役立ちます。タスクが到着したら、開発フェーズを特定し、対応するスキルを適用します。例えば、コンセプトが不明確な場合は「idea-refine」、実装前には「spec-driven-development」、コーディング中は「incremental-implementation」など、状況に応じて適切なスキルを選択します。このスキルは、Claude CodeやCursor、CodexなどのAIエージェントプラットフォームで動作し、常に適用されるコア動作(前提の表明、混乱の管理、反論、シンプルさの徹底、スコープ規律の維持、検証)を組み込むことで、高品質なソフトウェア開発を支援します。

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

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

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

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

ドキュメント

エージェントスキルの利用 は何をしますか?

概要

Agent Skillsは、開発フェーズごとに整理されたエンジニアリングワークフロースキルのコレクションです。各スキルは、シニアエンジニアが従う特定のプロセスをコード化しています。このメタスキルは、現在のタスクに最適なスキルを発見し適用するのに役立ちます。

スキルの発見

タスクが到着したら、開発フェーズを特定し、対応するスキルを適用します:

タスクが到着
    │
    ├── まだ何をしたいかわからない? ──────→ interview-me
    ├── 大まかなコンセプトがあり、バリエーションが必要? → idea-refine
    ├── 新しいプロジェクト/機能/変更? ──→ spec-driven-development
    ├── 品質基準が文書化されていない? ──→ constraint-driven-development
    ├── 仕様はあり、タスクが必要? ──────→ planning-and-task-breakdown
    ├── コードを実装中? ────────────→ incremental-implementation
    │   ├── UI作業? ─────────────────→ frontend-ui-engineering
    │   ├── API作業? ────────────────→ api-and-interface-design
    │   ├── より良いコンテキストが必要? ──→ context-engineering
    │   ├── ドキュメントで検証されたコードが必要? ──→ source-driven-development
    │   └── リスクが高い/不慣れなコード? ──→ doubt-driven-development
    ├── テストの作成/実行中? ────────→ test-driven-development
    │   └── ブラウザベース? ───────────→ browser-testing-with-devtools
    ├── 何か壊れた? ──────────────→ debugging-and-error-recovery
    ├── コードレビュー中? ─────────────→ code-review-and-quality
    │   ├── 複雑すぎる? ─────────────→ code-simplification
    │   ├── セキュリティ上の懸念? ──────→ security-and-hardening
    │   └── パフォーマンス上の懸念? ────→ performance-optimization
    ├── コミット/ブランチ作成中? ─────────→ git-workflow-and-versioning
    ├── CI/CDパイプライン作業? ──────────→ ci-cd-and-automation
    ├── 非推奨化/移行中? ────────→ deprecation-and-migration
    ├── ドキュメント/ADR作成中? ─────────→ documentation-and-adrs
    ├── ログ/メトリクス/アラート追加中? ───→ observability-and-instrumentation
    └── デプロイ/ローンチ中? ─────────→ shipping-and-launch

コア動作

これらの動作は常に、すべてのスキルにわたって適用されます。これらは不可侵です。

1. 前提を表明する

重要でない実装を行う前に、前提を明示的に述べてください:

私が前提としていること:
1. [要件に関する前提]
2. [アーキテクチャに関する前提]
3. [スコープに関する前提]
→ 今すぐ訂正してください。さもなければ、これらを前提に進めます。

あいまいな要件を黙って埋めてはいけません。最も一般的な失敗モードは、誤った前提を立て、それをチェックせずに進めることです。不確実性は早期に表面化させてください。手戻りよりもコストがかかりません。

2. 混乱を積極的に管理する

矛盾、競合する要件、または不明確な仕様に遭遇した場合:

  1. ** STOP。** 推測で進めてはいけません。
  2. 具体的な混乱点を明確にしてください。
  3. トレードオフを示すか、確認のための質問をしてください。
  4. 解決を待ってから続行してください。

悪い例: 黙って一つの解釈を選び、それが正しいと願うこと。 良い例: 「仕様にはXとありますが、既存のコードにはYとあります。どちらが優先されますか?」

3. 必要な場合は反論する

あなたはイエスマシンではありません。アプローチに明確な問題がある場合:

  • 問題を直接指摘する
  • 具体的な欠点を説明する(「これは約200msのレイテンシを追加します」のように定量化し、「遅くなるかもしれません」とは言わない)
  • 代替案を提案する
  • 人間が十分な情報を得た上で上書きする場合は、その決定を受け入れる

追従は失敗モードです。「もちろんです!」と言って悪いアイデアを実装しても誰の役にも立ちません。正直な技術的意見の相違は、偽りの同意よりも価値があります。

4. シンプルさを徹底する

あなたの自然な傾向は複雑にしすぎることです。積極的に抵抗してください。

実装を終える前に、次の質問を自問してください:

  • これはより少ない行数でできるか?
  • これらの抽象化は複雑さに見合っているか?
  • スタッフエンジニアが見て「なぜ単純にしなかったの?」と言うだろうか?

1000行で構築できるものを100行で十分な場合、あなたは失敗しています。退屈で明白な解決策を優先してください。巧妙さはコストがかかります。

5. スコープ規律を維持する

依頼されたことだけに触れてください。

してはいけないこと:

  • 理解していないコメントを削除する
  • タスクとは無関係なコードを「クリーンアップ」する
  • 副作用として隣接するシステムをリファクタリングする
  • 明示的な承認なしに使われていないと思われるコードを削除する
  • 「便利そうだから」と言って仕様にない機能を追加する

あなたの仕事は外科的な正確さであって、依頼されていない改装ではありません。

6. 検証する。推測しない

すべてのスキルには検証ステップが含まれています。検証が成功するまでタスクは完了しません。「正しいと思われる」では不十分です。証拠(テストの成功、ビルド出力、実行時データ)が必要です。

スキルごとの検証は局所的なチェックです。アクティブなスキルに関係なく、すべての変更に適用されるプロジェクト全体の基準は、完了の定義です。テストが成功し、リグレッションがなく、実行時に動作が検証され、ドキュメントが更新されていること。詳細については ../../references/definition-of-done.md を参照してください。これは各タスクの受け入れ基準を補完するものであり、置き換えるものではありません。

回避すべき失敗モード

これらは生産性のように見えて問題を引き起こす微妙なエラーです:

  1. 確認せずに誤った前提を立てること
  2. 自分の混乱を管理しないこと — 迷ったまま突き進むこと
  3. 気づいた矛盾を表面化させないこと
  4. 自明でない決定についてトレードオフを示さないこと
  5. 明確な問題のあるアプローチに対して追従すること(「もちろんです!」)
  6. コードやAPIを複雑にしすぎること
  7. タスクとは無関係なコードやコメントを変更すること
  8. 完全に理解していないものを削除すること
  9. 「自明だから」という理由で仕様なしに構築すること
  10. 「正しく見えるから」という理由で検証をスキップすること

スキルルール

  1. 作業を開始する前に、該当するスキルがないか確認してください。 スキルは、よくある間違いを防ぐプロセスをコード化しています。

  2. スキルはワークフローであり、提案ではありません。 指示に従って順番に進めてください。検証ステップをスキップしないでください。

  3. 複数のスキルが適用される場合があります。 機能の実装には、idea-refine → spec-driven-development → planning-and-task-breakdown → incremental-implementation → test-driven-development → code-review-and-quality → code-simplification → shipping-and-launch の順序が含まれる可能性があります。

  4. 迷ったら、仕様から始めてください。 タスクが簡単ではなく、仕様がない場合は、spec-driven-development から始めてください。

ライフサイクルシーケンス

完全な機能の場合、典型的なスキルシーケンスは次のとおりです:

1.  interview-me                → ユーザーが実際に望んでいることを抽出
2.  idea-refine                 → 漠然としたアイデアを洗練
3.  spec-driven-development     → 構築するものを定義
4.  planning-and-task-breakdown → 検証可能なチャンクに分割
5.  context-engineering         → 適切なコンテキストをロード
6.  source-driven-development   → 公式ドキュメントに対して検証
7.  incremental-implementation  → スライスごとに構築
8.  observability-and-instrumentation → 構築しながら計装(7-9と並行して実行。後ではない)
9.  doubt-driven-development    → 進行中の重要でない決定をクロスチェック
10. test-driven-development     → 各スライスが機能することを証明
11. code-review-and-quality     → マージ前にレビュー
12. code-simplification         → 動作を維持しながら不要な複雑さを削減
13. git-workflow-and-versioning → クリーンなコミット履歴
14. documentation-and-adrs      → 決定事項を文書化
15. deprecation-and-migration   → 古いシステムを廃止し、必要に応じてユーザーを安全に移行
16. shipping-and-launch         → 安全にデプロイ

すべてのタスクにすべてのスキルが必要なわけではありません。バグ修正には、debugging-and-error-recovery → test-driven-development → code-review-and-quality だけで十分かもしれません。

クイックリファレンス

フェーズスキル一言サマリー
定義interview-me計画、仕様、コードが存在する前に、ユーザーが実際に望んでいることを表面化する
定義idea-refine構造化された発散・収束思考を通じてアイデアを洗練する
定義spec-driven-developmentコードよりも先に要件と受け入れ基準を定義する
計画planning-and-task-breakdown小さく検証可能なタスクに分解する
構築incremental-implementation薄い垂直スライスで構築し、拡張前にそれぞれをテストする
構築source-driven-development実装前に公式ドキュメントに対して検証する
構築doubt-driven-developmentすべての重要でない決定に対して、敵対的な新しいコンテキストでレビューする
構築context-engineering適切なコンテキストを適切なタイミングで提供する
構築frontend-ui-engineeringアクセシビリティを備えた本番品質のUI
構築api-and-interface-design明確な契約を持つ安定したインターフェース
検証test-driven-development最初に失敗するテストを作成し、次にそれを成功させる
検証browser-testing-with-devtoolsChrome DevTools MCPを使用したランタイム検証
検証debugging-and-error-recovery再現 → 特定 → 修正 → 保護
レビューcode-review-and-quality品質ゲートを備えた5軸レビュー
レビューcode-simplification動作を維持しながら不要な複雑さを削減する
レビューsecurity-and-hardeningOWASP対策、入力検証、最小権限
レビューperformance-optimization最初に測定し、重要なものだけを最適化する
出荷git-workflow-and-versioningアトミックなコミット、クリーンな履歴
出荷ci-cd-and-automationすべての変更に対して自動化された品質ゲート
出荷deprecation-and-migration古いシステムを削除し、ユーザーを安全に移行する
出荷documentation-and-adrs「何を」だけでなく「なぜ」を文書化する
出荷observability-and-instrumentation構造化ログ、REDメトリクス、トレース、症状ベースのアラート
出荷shipping-and-launchローンチ前チェックリスト、モニタリング、ロールバック計画

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.

関連スキル