AI SummaryHeuristic scoring (no AI key configured).
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "cloudflare-workers-customer-assessment — Cursor Rules" prompt rules to my project. Repository: https://github.com/otaotakahiro/cloudflare-workers-customer-assessment Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
Cursor Rules for cloudflare-workers-customer-assessment
ディレクトリ構造例
src/ ├── app/ # ルーティングとページコンポーネント │ ├── (marketing)/ # ランディングページ、プライシング、お問い合わせなど │ │ ├── about/ │ │ ├── pricing/ │ │ └── contact/ │ ├── (dashboard)/ # ログイン後のメイン機能 │ │ ├── projects/ │ │ ├── settings/ │ │ └── profile/ │ └── api/ # APIルート │ ├── components/ # Reactコンポーネント │ ├── common/ # 共通コンポーネント │ │ ├── buttons/ │ │ ├── forms/ │ │ ├── icons/ │ │ └── typography/ │ ├── features/ # 機能別コンポーネント │ │ ├── dashboard/ # ダッシュボード関連 │ │ └── marketing/ # マーケティングページ関連 │ └── layouts/ # レイアウトコンポーネント │ ├── marketing/ │ └── dashboard/ │ ├── hooks/ # カスタムフック │ ├── auth/ │ ├── form/ │ └── query/ │ ├── lib/ # ユーティリティ関数 │ ├── constants/ # 定数 │ │ ├── config/ │ │ └── messages/ │ ├── types/ # 型定義 │ └── utils/ # ヘルパー関数 │ ├── date/ │ ├── format/ │ └── validation/ │ ├── dal/ # Data Access Layer │ │── auth/ │ │── projects/ │ │ └── public/ # 静的アセット ├── images/ │ ├── marketing/ │ └── dashboard/ ├── fonts/ └── icons/
命名規則
• ページコンポーネント: page.tsx • レイアウトコンポーネント: layout.tsx • ローディング状態: loading.tsx • エラーハンドリング: error.tsx • 404 ページ: not-found.tsx
Server Components
• デフォルトで Server Components を使用 • データフェッチングを含むコンポーネントは Server Components で実装 • SEO 対応が必要なコンポーネントは Server Components で実装
Client Components
以下の場合のみ Client Components を使用: • ブラウザ API を使用する場合 • イベントリスナーが必要な場合 • React hooks を使用する場合 • クライアントサイドの状態管理が必要な場合
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts