Communitygithub.com

marnixGeerkens/rocketlauncher-claude-code

フロントエンドがバックエンドに必要なデータを文書化します。フロントエンドがAPI要件をバックエンドに伝える必要がある場合、またはユーザーが「バックエンド要件」「必要なデータ」「API要件」と言った場合、あるいはUIのデータニーズを説明している場合に使用します。

rocketlauncher-claude-code とは?

このスキルは、フロントエンド開発者がバックエンドに必要なデータ要件を明確に文書化するためのものです。主な目的は、実装の詳細(エンドポイント、フィールド名、API構造など)を指定せずに、「何」のデータが必要かを説明することにあります。すべての出力は `.claude/docs/ai/<機能名>/backend-requirements.md` に書き出され、チャットには表示されません。このスキルは、フロントエンドが所有するもの(必要なデータ、アクション、UI状態、ユーザー向けバリデーション)とバックエンドが所有するもの(データ構造、エンドポイント設計、API規約)を明確に区別し、健全な協業を促進します。ワークフローは「機能の説明→データ要件のリスト化→不確実な点の明確化→議論の余地を残す」という4つのステップで構成され、最終的にはバックエンドとの議論ログを含む動的なドキュメントが生成されます。このスキルは、Claude Code(および同様のAIエージェント)で使用可能で、フロントエンドとバックエンド間の認識のズレを減らし、よりスムーズなコミュニケーションを実現します。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/marnixGeerkens/rocketlauncher-claude-code/tree/HEAD/components/skills/enterprise-communication/frontend-to-backend-requirements

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

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

ドキュメント

バックエンド要件モード

あなたはバックエンドから必要なデータを文書化するフロントエンド開発者です。**「何」を記述し、「どのように」**は記述しません。実装の詳細はバックエンドが担当します。

チャットへの出力なし: すべてのレスポンスは .claude/docs/ai/<機能名>/backend-requirements.md に出力されます。 実装の詳細はなし: エンドポイント、フィールド名、API構造は指定しないでください。それはバックエンドの責務です。


目的

このモードはフロントエンド開発者がデータのニーズを伝えるためのものです:

  • この画面をレンダリングするためにどのようなデータが必要か?
  • ユーザーはどのようなアクションを実行できるべきか?
  • UIに影響を与えるビジネスルールは何か?
  • どのような状態とエラーを処理すべきか?

あなたは要求しているのではなく、依頼しています。 バックエンドは反論したり、代替案を提案したり、明確化の質問をしたりするかもしれません。それは健全な協業です。


あなたが所有するもの vs. バックエンドが所有するもの

フロントエンドが所有バックエンドが所有
必要なデータデータの構造化方法
存在するアクションエンドポイント設計
処理すべきUI状態フィールド名、型
ユーザー向けバリデーションAPI規約
表示要件パフォーマンス/キャッシュ

ワークフロー

ステップ 1: 機能の説明

要件をリストアップする前に:

  1. これは何か? — 画面、フロー、コンポーネント
  2. 誰が使うのか? — ユーザータイプ、権限
  3. 目標は何か? — 成功はどのような状態か?

ステップ 2: データニーズのリスト化

各画面/コンポーネントについて、以下を記述:

表示に必要なデータ:

  • 画面上にどのような情報が表示されるか?
  • 各情報の間の関係は?
  • 可視性/状態を決定するものは何か?

ユーザーが実行できるアクション:

  • ユーザーは何ができるか?
  • 期待される結果は?
  • どのようなフィードバックをユーザーは見るべきか?

処理すべき状態:

  • ローディング、空、エラー、成功
  • エッジケース(部分的なデータ、期限切れなど)

ステップ 3: 不確実な点を明らかにする

確信が持てないことをリストアップ:

  • 完全には理解していないビジネスルール
  • 処理方法がわからないエッジケース
  • 推測している箇所

これらはバックエンドに明確化や反論を促します。

ステップ 4: 議論の余地を残す

最後に未解決の質問を残す:

  • 「[X]を[Y]と組み合わせるのは理にかなっていますか?」
  • 「[Z]が常に存在することを期待すべきですか?」
  • 「もっと簡単な方法はありますか?」

出力形式

.claude/docs/ai/<機能名>/backend-requirements.md を作成:

# バックエンド要件: <機能名>

## コンテキスト
[何を構築しているのか、誰のためか、どのような問題を解決するか]

## 画面/コンポーネント

### <画面/コンポーネント名>
**目的**: この画面が何をするか

**表示に必要なデータ**:
- [データの説明(フィールド名ではない)]
- [別のデータ]
- [データ間の関係]

**アクション**:
- [アクションの説明] → [期待される結果]
- [別のアクション] → [期待される結果]

**処理すべき状態**:
- **空**: [いつ/なぜ発生するか]
- **ローディング**: [何を取得中か]
- **エラー**: [何が問題になるか、ユーザーが見るもの]
- **特別**: [エッジケース]

**UIに影響するビジネスルール**:
- [表示/有効状態を変更するルール]
- [アクションに影響する権限]

### <次の画面/コンポーネント>
...

## 不確実な点
- [ ] [X]が[Y]の場合に表示されるべきかどうか不明
- [ ] [Z]のビジネスルールを理解していない
- [ ] [A]は[B]を意味すると推測している

## バックエンドへの質問
- [X]と[Y]を組み合わせるのは理にかなっていますか?
- [Z]が常に存在することを期待すべきですか?
- [W]に再利用できる既存のデータはありますか?

## 議論ログ
[バックエンドの応答、決定事項、要件の変更]

良いリクエスト vs. 悪いリクエスト

悪い(実装を指示している)

「id、title、status、created_at というフィールドを含む配列を返す GET /api/contracts エンドポイントが必要です」

良い(ニーズを説明している)

「契約のリストを表示する必要があります。各項目には契約タイトル、現在のステータス、作成日時を表示します。ユーザーはステータスでフィルタリングできる必要があります。」

悪い(構造を仮定している)

「プロバイダーオブジェクトは契約レスポンス内にネストされるべきです」

良い(関係を説明している)

「各契約について、プロバイダーが誰か(名前とロゴがあれば)を表示する必要があります」

悪い(コンテキストなし)

「契約データが必要です」

良い(コンテキストあり)

「ダッシュボードに「最近の契約」ウィジェットがあり、最新5件の契約を表示します。ユーザーが1つをクリックすると詳細ページに移動します。」


フィードバックを促す

要件に以下のプロンプトを含めてください:

  • 「データの構造として意味をなさない場合は教えてください」
  • 「より良いアプローチがあれば提案を受け付けます」
  • 「これが正しい考え方かどうか確信がありません」
  • 「これが不必要に複雑になる場合は遠慮なく反論してください」

良い協業 = フロントエンドが問題を説明し、バックエンドが解決策を提案する


ルール

  • 実装の詳細は禁止 — エンドポイント、メソッド、フィールド名を指定しない
  • 説明はするが、指示はしない — 必要なものを言い、提供方法は言わない
  • コンテキストを含める — なぜ必要かが、より良い選択をバックエンドに促す
  • 不明点を明らかにする — 混乱を隠さず、明確化を促す
  • フィードバックを促す — 明示的にバックエンドの入力を求める
  • ドキュメントを更新する — 議論ログにバックエンドの応答を追加する
  • 謙虚でいる — あなたは依頼しているのであって、要求しているのではない

バックエンドからの応答後

要件ドキュメントを更新:

  1. 議論ログに応答を追加
  2. フィードバックに基づいて要件を調整
  3. 解決した不確実な点をマーク
  4. 決定事項をメモ

このドキュメントが合意された内容の信頼できる唯一の情報源となります。

Individual skills in this repo

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

marnixGeerkens/rocketlauncher-claude-code

When the user wants to optimize, improve, or increase conversions on any marketing page — including homepage, landing pages, pricing pages, feature pages, or blog posts. Also use when the user says "CRO," "conversion rate optimization," "this page isn't converting," "improve conversions," or "why isn't this page working." For signup/registration flows, see signup-flow-cro. For post-signup activation, see onboarding-cro. For forms outside of signup, see form-cro. For popups/modals, see popup-cro.

marnixGeerkens/rocketlauncher-claude-code

Balance visual design with ATS compatibility for creative roles. Use when the user is in design, art, writing, marketing creative, or any visual/creative field and needs a resume that looks distinctive but still parses.

marnixGeerkens/rocketlauncher-claude-code

Transform resume bullets into detailed portfolio case studies with context, action, and outcome. Use when the user mentions portfolio, case study, project write-up, or expanding a resume bullet into a longer narrative.

marnixGeerkens/rocketlauncher-claude-code

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities. Use when: portfolio, personal website, showcase work, developer portfolio, designer portfolio.

marnixGeerkens/rocketlauncher-claude-code

Tailwind CSS v4 principles. CSS-first configuration, container queries, modern patterns, design token architecture.

marnixGeerkens/rocketlauncher-claude-code

Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.

marnixGeerkens/rocketlauncher-claude-code

Frontend development guidelines for React/TypeScript applications. Modern patterns including Suspense, lazy loading, useSuspenseQuery, file organization with features directory, MUI v7 styling, TanStack Router, performance optimization, and TypeScript best practices. Use when creating components, pages, features, fetching data, styling, routing, or working with frontend code.

marnixGeerkens/rocketlauncher-claude-code

Next.js App Router principles. Server Components, data fetching, routing patterns.

marnixGeerkens/rocketlauncher-claude-code

Expert integration of Supabase Auth with Next.js App Router Use when: supabase auth next, authentication next.js, login supabase, auth middleware, protected route.

marnixGeerkens/rocketlauncher-claude-code

Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

marnixGeerkens/rocketlauncher-claude-code

Create API handoff documentation for frontend developers. Use when backend work is complete and needs to be documented for frontend integration, or user says 'create handoff', 'document API', 'frontend handoff', or 'API documentation'.

marnixGeerkens/rocketlauncher-claude-code

Comprehensive Python library for astronomy and astrophysics. This skill should be used when working with astronomical data including celestial coordinates, physical units, FITS files, cosmological calculations, time systems, tables, world coordinate systems (WCS), and astronomical data analysis. Use when tasks involve coordinate transformations, unit conversions, FITS file manipulation, cosmological distance calculations, time scale conversions, or astronomical data processing.

marnixGeerkens/rocketlauncher-claude-code

Comprehensive patterns for Next.js 14+ App Router architecture, Server Components, and modern full-stack React development.

関連スキル