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

alfathafp/portofolio-web-design

スーパーパワーズセッションで問題が発生した際に、人間のパートナーと共に原因を特定し、証拠に基づいた報告書を作成するスキルです。

portofolio-web-design とは?

このスキルは、AIエージェント(スーパーパワーズ)のセッションで発生した問題を診断し、証拠に基づいた報告書を作成するためのものです。主な機能は、問題の明確化、セッショントランスクリプトの読み取り、複数の分析ディメンション(スキルタイムライン、計画遵守、繰り返し作業、障害、品質、コスト・時間など)にわたる並列分析、そして構造化されたレポートの生成です。Claude CodeやCursor、CodexなどのAIエージェントプラットフォーム上で動作し、ユーザーが「時間がかかりすぎる」「なぜこんなに費用がかかる」「計画を無視した」といった不満を持った際に、客観的な証拠(ファイルパスと行番号)を提示しながら問題を報告します。また、バグ報告のためにGitHub Issueの作成を支援したり、要求に応じて個人情報をスクラビングしたセッションバンドルを作成する機能も備えています。診断の核心は「原因を特定する」のではなく「証拠を報告する」ことにあり、修正提案や原因特定は行わないという明確なルールに従います。

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

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

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

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

ドキュメント

スーパーパワーズの診断

概要

人間のパートナーと協力して、セッションで何が問題だったのかを特定し、ディスク上のトランスクリプトを読み、証拠とともに何が起こったかを報告します。あなたは報告を行います。スーパーパワーズの診断は行いません。バンドルやIssueをトリアージする担当者が、スーパーパワーズの変更が必要かどうかを判断します。

基本原則: すべての発見には path:line を引用します。引用がなければ発見ではありません。すべての数値はトランスクリプトまたは実行したコマンドに基づいており、記憶からは導き出しません。

ワークフロー

各ステップごとにTODOを作成します。ステップ5〜7は、記載された条件が満たされた場合のみ実行します。

  1. 問題の把握: 一度に一つの質問をし、以下の内容を含む文を書けるようになるまで質問を続けます。セッション名、ターン範囲(既知の場合)、パートナーが期待していたこと、実際に起こったこと、パートナーが気にしている観測可能な指標(実時間、トークン数、繰り返しアクション、特定のアクションなど)。「時間がかかりすぎる」は問題の記述ではなく、単なる不満です。ゴールがスーパーパワーズのバグ報告であるかどうかをメモします。
  2. 特定: references/session-discovery.md を使用して、各セッションを検証済みの絶対ファイルシステムパスに解決します。過去のセッションを確認するには、最初のプロンプトとタイムスタンプを引用します。また、却下したすべての候補を理由とともにリストするか、「なし」と記録します。サブエージェントのトランスクリプトを列挙します。~/.superpowers/diagnosing-superpowers/<session-id>/ を作成し、パートナーにパスを伝え、そこに templates/case.md を配置します。その際、環境とスキルの観測に関する出典規則に従います。
  3. トリアージ: 報告された問題の周辺領域を自分で読みます。その後、分析ディメンションごとに1つのアナリストサブエージェントを並列で起動します。各サブエージェントには、ケースファイルのパス、prompts/analyst-common.md、および prompts/ から該当するディメンションファイル(skill-timeline.md、plan-adherence.md、repeated-work.md、stumbles.md、quality-evidence.md、request-conflicts.md、cost-and-time.md)を与えます。トランスクリプトが長い場合は、ターン範囲でディメンションを分割します。path:line を含まない発見は破棄します。
  4. 報告: templates/report.md のすべてのセクションを順に埋め、ワークスペースに書き込み、表示し、パスを伝えます。引用された内容が実際に何を証明しているかを確認し、それを裏付けるケースを保持します。シンボリックリンクのエイリアスは冗長なコピーではありません。
  5. GitHub Issues — 報告書のセクション7が「可能性あり」または「可能性が高い」としている場合、またはパートナーが依頼した場合。references/github-issues.md に従って、症状に一致するオープンおよびクローズされたIssueを検索します。一致するIssueを表示し、この報告書を最も近いIssueに追加することを提案します。一致するIssueがない場合は、templates/issue.md を埋め、ワークスペースに書き込み、正確なテキストを表示し、承認後にのみIssueを作成します。gh はファイルを添付できないため、バンドルが存在する場合は、パートナーにそのパスを伝え、ブラウザで添付するように指示します。
  6. エクスポート — パートナーがバンドルを要求した場合のみ実行します。促されずに作成してはいけません。インテークのゴールがバグ報告だった場合、スクラビング済みのバンドルがリクエストに応じて利用可能であることを一度だけ伝え、その後待機します。編集レベルを尋ね、各レベルに何が含まれるかを説明します:スケルトン(ツール結果の本文なし)、エビデンス(引用されたイベントの本文のみ)、フル。templates/bundle-README.md に従ってバンドルを作成し、prompts/scrub.md を起動し、次に prompts/scrub-audit.md を起動します。監査がCLEANを返すまで両方を繰り返します。最終的なスクラブログ、ファイルリスト、プライバシーとエビデンスの結果を表示する前に、バンドルテンプレートのエビデンスチェックと調整を完了します。承認後にのみアーカイブ(zip -r または tar -czf)します。アーカイブパスとともに、その内容、スクラブログの置き換え箇所を指し示し、スクラビングは見逃しがある可能性があるため、共有前にすべてのファイルを確認する必要があることを伝えます。
  7. 類似セッション — 依頼があった場合。確定した発見をシグネチャに変換し、mtimeとサイズで候補をリストし、マーカー行番号を見つけ、各候補に対して prompts/similar-session.md を並列で起動し、報告書のセクション9に追加します。

クイックリファレンス

7人のアナリストは常に実行されます。この表は、ステップ3で自分が読む領域と、評決で最初に示す発見を示します。

不満最初に読む、最初に示す発見
「時間がかかりすぎる」cost-and-time, stumbles
「なぜこの余分な作業をしたのか?」repeated-work, plan-adherence
「なぜこんなに費用がかかるのか?」cost-and-time
「一体何をしているんだ?」(まだ実行中)skill-timeline; 進行中をカバレッジに記載
「計画を無視した」plan-adherence, 最初にコンパクション行
「スキルXが発動しなかった」skill-timeline

絶対的なルール

  • コンテキストセーフティ. トランスクリプトの1行が1メガバイトになることがあります。セッションファイルを扱うたびに、毎回 references/context-safety.md に従ってください。
  • 読み取り専用. セッションファイルを変更、移動、削除しないでください。
  • サブエージェントへの正確なパス. サブエージェントの「現在のセッション」はサブエージェント自身のものです。絶対パスとIDを渡してください。
  • 人間のプロンプトのみ. フックの出力、システムリマインダー、ツール結果はパートナーの発言ではありません。サブエージェントのトランスクリプトでは、「ユーザー」は親エージェントを指します。
  • スーパーパワーズの診断は行わない. 報告書のセクション7で関与を明記し、そこで停止します。スキルの欠陥を指摘したり、変更を提案したりしないでください。パートナーが修正を要求しても、このルールは適用されます。Issue作成のステップを指し示し、バンドルがリクエストに応じて利用可能であることを伝えてください。パートナーへのアドバイスも行わないでください。
  • 承認ゲート. パートナーがスクラブログとファイルリストを確認するまではアーカイブを作成してはいけません。パートナーが正確なテキストを承認するまでは、Issueやコメントを作成してはいけません。
  • 分析前のインテーク. パートナーが回答するまで、ステップ2〜7は開始してはいけません。パートナーが離席している場合は、質問を書き留めて停止します。あなたがパートナーのために再構成した文は回答ではありません。すでに範囲が指定されたリクエスト(特定のイベント1つ、現在実行中のもの、実行すべき分析など)は、それ自体がステートメントです。それに回答し、その後質問してください。セッション全体に対する「なぜ」は不満です。

危険信号

考え現実
「問題は明白なので、インテークをスキップしよう」問題ステートメントがすべての範囲を決めます。質問してください。
「パートナーは離席中なので、ステートメントを再構成しよう」あなたは相手が何を望んでいたかを再構成できません。質問を書き留めて停止してください。
「今全部を一気に調べて、最後に質問しよう」範囲が定まっていない調査は、間違った質問に予算を費やすことになります。まず質問してください。
「バグ報告が欲しいなら、今バンドルを作ろう」バンドルはセッションデータのパッケージです。相手が要求した場合にのみ作成してください。
「小さな、ターゲットを絞った編集で、再構成は不要」どんなに小さくても、あなたの判断では決められません。証拠を報告し、トリアージ担当者が判断します。
「トークンあたりの価格はよく知られている」トランスクリプトから計算しなかった数値は捏造です。引用するか、記載をやめてください。

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 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

Delivers changes incrementally in thin, verifiable slices. Use when implementing any feature or change that touches more than one file, or when picking up the next task from a plan. Use when rolling a change out behind a feature flag, when you're about to write a large amount of code at once, or when a task feels too big to land in one step.

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.

関連スキル