jpskill.com
🛠️ 開発・MCP コミュニティ

bencium-code-conventions

Bence's code style, tech stack, and workflow conventions

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o bencium-code-conventions.zip https://jpskill.com/download/23536.zip && unzip -o bencium-code-conventions.zip && rm bencium-code-conventions.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/23536.zip -OutFile "$d\bencium-code-conventions.zip"; Expand-Archive "$d\bencium-code-conventions.zip" -DestinationPath $d -Force; ri "$d\bencium-code-conventions.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して bencium-code-conventions.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → bencium-code-conventions フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1
📖 Claude が読む原文 SKILL.md(中身を展開)

この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。

Code Conventions

Core Technologies

  • Frontend: ReactJS, Next.js (App Router structure), TypeScript
  • Styling: TailwindCSS v3.x (never v4), Shadcn UI
  • Build Tools: Vite (when applicable)
  • Backend: Postgres compatible convex.dev or Supabase (always ask, never local postgres)
  • Deployment: Netlify or Vercel or Fly - suggest
  • Environment: Mac M2, Python3 with virtual environments, no CUDA, no Docker
  • Alternative Languages: Avoid python if you can, try using RUST

Code Style & Structure

  • Use ES modules (import/export) syntax
  • Destructure imports when possible
  • Use TypeScript for all new code
  • Use async/await instead of Promise chains
  • Prefer const/let over var; use early returns
  • Use consts instead of functions: const toggle = () =>. Define types.
  • Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError)
  • Use lowercase with dashes for directory names (e.g., components/auth-wizard)

Framework Conventions

  • Next.js: Use App Router (app directory) structure and page.tsx files
  • React: Functional and declarative patterns; avoid classes
  • State Management: Zustand, TanStack React Query
  • Validation: Zod for schema validation

Component Library & Styling

  • Component Library: Prefer shadcn components from @/components/ui
  • Styling: Tailwind utility classes
  • Layout: Grid/flex wrappers with gap for spacing
  • Icons: @phosphor-icons/react
  • Toasts: sonner for notifications
  • Always add loading states, spinners, placeholder animations

Quality Assurance & Testing

  • TDD: Write failing tests first, commit them, then iterate until suite passes
  • Never mock tests - if there's a test script, execute all until done
  • Always write SQL in chunks with test steps after each chunk
  • Typecheck after making code changes
  • Run tests before committing
  • Prefer running single tests for performance, not whole suite

Error Handling

  • Implement proper error handling and user input validation
  • Error messages should be understood by non-technical people
  • Use early returns for error conditions
  • Test APIs via curl commands first, then implement in code

Performance & Architecture

  • Minimize 'use client', useEffect, setState; favor RSC and Next.js SSR
  • Implement dynamic imports for code splitting
  • Optimize images: WebP format, size data, lazy loading
  • Favor small, simple, well-named modules

Development Workflow

Process: Explore → Plan → Code → Commit

  • Read relevant files
  • Think through a plan
  • Implement
  • Then commit
  • Never local backend, always ask (usually Supabase, Neon)
  • Minimal dependency, no docker

Environment & Deployment

  • Add .env files for API keys; warn me to save keys in Vercel/Netlify env variables
  • Write code deployable to Netlify or Vercel; prepare to build locally first
  • Document progress in progress.md; ask for implementation plan