dev-skills
README.md
# dev-skills
開発の作業手順を、スキルを1つずつローカルへ置かずに配る MCP サーバ。接続先はこの1つ。
スキル本文は [Agent Skills](https://agentskills.io) の `SKILL.md`。配信は MCP の Skills 拡張 [`io.modelcontextprotocol/skills`](https://modelcontextprotocol.io/extensions/skills/overview)(SEP-2640)。`skills/list` と `skills/get` が名前、説明、関連理由、ファイルのダイジェストを返し、本文は `resources/read` で必要なものだけ読む。
Cursor は今のところこの拡張をスキル一覧へ自動では載せない。同じカタログを `list_categories`、`list_skills`(`category` で絞り込み可)、`read_skill`、`read_skill_file` からも読める。サーバの説明に、作業前にここから選んで本文に従うと書いてある。`~/.cursor/skills` や `.cursor/skills` へコピーしない。
## カテゴリー
スキルは `skills/<カテゴリー>/<サブカテゴリー>/<スキル名>/SKILL.md` に置く。このパスがそのまま URI になる(例: `skill://security/appsec/xss-prevention/SKILL.md`)。カテゴリーとサブカテゴリーの名前と説明(英語・日本語)は [skills/categories.yaml](skills/categories.yaml) にある。
| カテゴリー | サブカテゴリー |
| --- | --- |
| セキュリティ `security` | `appsec`, `identity`, `secrets-crypto`, `supply-chain`, `secops` |
| WEB `web` | `frontend`, `inclusive`, `http` |
| 言語 `languages` | `application`, `systems`, `scripting` |
| データ `data` | `database`, `caching`, `privacy` |
| 品質 `quality` | `testing`, `debugging`, `ci` |
| 共同作業 `collaboration` | `git`, `review`, `community` |
| デリバリー `delivery` | `release`, `infrastructure`, `terraform`, `hosting` |
| 設計 `architecture` | `decisions`, `code` |
| 運用 `operations` | `monitoring`, `incident` |
| ドキュメント `documentation` | `writing` |
| 技術スタック `stack` | `typescript`, `react`, `styling`, `server`, `orm`, `auth`, `next`, `svelte`, `backend`, `agents` |
| サイバーセキュリティ運用 `cybersecurity` | 33 サブカテゴリー(`skills/categories.yaml`) |
関連理由は各 `SKILL.md` の `metadata.reason` / `metadata.reason_ja`。取り込みスキルでは `.dev-skills.yaml` にある。`metadata.relates_to` は、次に読むスキルとその理由で、カテゴリーをまたいでつながる。全スキルの一覧は [CATALOG.md](CATALOG.md)。`stack` と `cybersecurity` 以外の中身は公開されている開発の慣行(OWASP、NIST SP 800-63B、Conventional Commits、Semantic Versioning、WCAG、Core Web Vitals、OpenTelemetry など)に沿ってここに書いたもので、他のスキル集の複製ではない。`security` のスキルは防御側の手順だけを扱う。
## サイバーセキュリティ運用の出典
`cybersecurity` は [mukul975/Anthropic-Cybersecurity-Skills](https://github.com/mukul975/Anthropic-Cybersecurity-Skills)(コミット `54a79883`、818 スキル、Apache-2.0)を原文のまま置いたもの。名前に反して Anthropic 公式ではない。攻撃側と防御側の両方があり、補助の Python スクリプトも含む。上流の表記どおり、許可を得た対象に限って使う。近縁のサブカテゴリー(`security-operations` と `soc-operations` など)は1つにまとめ、各スキルの関連先は同じサブカテゴリーの隣のスキル。`SKILL.md` に LICENSE が無かった1件にはリポジトリの Apache-2.0 文面を足した。
## 技術スタックのスキルと出典
`stack` には、ツールの作者が公開している公式スキルを原文のまま取り込んだもの(取り込みスキル)と、ここで書いたものがある。
| スキル | 出典 | ライセンス |
| --- | --- | --- |
| `typescript-project-setup`, `typescript-strict`, `typescript-build-references`, `typescript-update`, `typescript-publish-types`, `typescript-report-issue` | [microsoft/typescript-skills](https://github.com/microsoft/typescript-skills) `23092049` | MIT, Microsoft Corporation |
| `hono`, `hono-jsx`, `hono-void` | [honojs/skills](https://github.com/honojs/skills) `e54ce51f` | MIT, Yusuke Wada |
| `drizzle` | npm `drizzle-kit@1.0.0-rc.6` 同梱の `skills/drizzle` | package.json は MIT、リポジトリは Apache-2.0(両方の文面を同梱) |
| `better-auth`, `react-components`, `react-aria-components`, `tailwind-css` | このリポジトリ(各公式ドキュメントに基づく) | MIT |
| `next-dev-loop`, `next-cache-components-adoption`, `next-cache-components-optimizer`, `next-partial-prefetching-adoption`, `next-partial-prefetching-optimizer`, `next-bundle-optimizer` | [vercel/next.js](https://github.com/vercel/next.js) `14884b3c` | MIT, Vercel, Inc. |
| `svelte-core-bestpractices`, `svelte-code-writer` | [sveltejs/ai-tools](https://github.com/sveltejs/ai-tools) `5c3ad9ba` | MIT, Svelte Contributors |
| `playwright-cli` | [microsoft/playwright-cli](https://github.com/microsoft/playwright-cli) `dc5f4d56` | Apache-2.0, Microsoft Corporation |
| `prisma-orm-setup`, `prisma-cli`, `prisma-client-api`, `prisma-upgrade-v7`, `prisma-postgres-setup`, `prisma-postgres-upgrade` | [prisma/skills](https://github.com/prisma/skills) `b4bebffd` | MIT, Prisma |
| `supabase`, `supabase-postgres-best-practices` | [supabase/agent-skills](https://github.com/supabase/agent-skills) `c9be0e93` | MIT, Supabase |
| `webapp-testing`, `frontend-design`, `mcp-builder`, `claude-api`, `skill-creator` | [anthropics/skills](https://github.com/anthropics/skills) `e4bb5d96` | Apache-2.0, Anthropic, PBC |
Better Auth の公式スキル集 [better-auth/skills](https://github.com/better-auth/skills) にはライセンスがなく再配布できない。React Aria の公式スキルは約 180 ファイルの生成物。Tailwind CSS と React には公式スキルがない。この 4 つはここで書き、本文から公式の資料を案内している。
取り込みスキルのフォルダでは、`SKILL.md` と補助ファイルは上流のバイト列のまま。上流の `LICENSE` を同梱し、関連理由と出典は `.dev-skills.yaml` に書く。このファイルは MCP では配られず、`list_skills` の `source` と CATALOG.md に出る。取り込みスキルは上流の書式を保つため、`Use when` と 160 行の制限を課さない。`typescript-report-issue` は上流で `disable-model-invocation: true` なので、`manual_only` として返し、ユーザーが名前で頼んだときだけ使う。
上流を更新するときは、上流のフォルダを丸ごと置き換え、`.dev-skills.yaml` の `revision` を新しいコミットまたは版に変えて、CATALOG.md を作り直す。
Terraform、AWS、Railway、Vercel、GitHub CLI は次の公式スキルを原文のまま入れた。Git のコミット、ブランチ、マージはもともと `collaboration/git` にある。
| スキル | 出典 | ライセンス |
| --- | --- | --- |
| Terraform 16 件(`terraform-style-guide` ほか)と `aws-ami-builder` | [hashicorp/agent-skills](https://github.com/hashicorp/agent-skills) `5e30fa5c` | MPL-2.0, HashiCorp, Inc. |
| AWS 12 件(`deploy`, `aws-lambda`, `api-gateway`, `aws-step-functions`, `dsql`, `amplify-workflow` ほか) | [awslabs/agent-plugins](https://github.com/awslabs/agent-plugins) `a8eea0d0` | Apache-2.0, Amazon.com, Inc. or its affiliates |
| `use-railway` | [railwayapp/railway-skills](https://github.com/railwayapp/railway-skills) `29b37e47` | MIT, Railway Corporation |
| `deploy-to-vercel`, `vercel-optimize`, `vercel-cli-with-tokens` | [vercel-labs/agent-skills](https://github.com/vercel-labs/agent-skills) `5a37a632` | README が MIT と宣言。LICENSE ファイルは無いので、Vercel, Inc. の MIT 文面を同梱 |
| `gh`, `gh-skill` | [cli/cli](https://github.com/cli/cli) `aec38089` | MIT, GitHub Inc. |
AWS の SageMaker や HyperPod の診断スキル、Azure 向け Packer は、依頼の範囲外なので入れていない。
調べて入れなかったもの: 同じ vercel-labs/agent-skills の React 性能、composition、React Native、view transitions はホスティングではなく、今回は入れていない。Prisma の非推奨エイリアス(`prisma-database-setup`, `prisma-postgres`)と、製品固有の `prisma-compute` は外した。`svelte-mcp-feedback` は不具合報告用なので外した。Anthropic の文書作成・デザイン素材(`docx`, `pdf`, `pptx`, `xlsx`, テーマ、フォント)は開発手順ではない。`web-artifacts-builder` はバイナリの tar を同梱していて、このカタログはテキストしか配れない。Stripe のスキルは Git リポジトリではなくドキュメントサイトから入るため、ライセンスを確認できるまで入れていない。
## このプロジェクトで有効にする
依存関係:
```bash
python -m venv .venv
.venv/bin/pip install -e .
```
`.cursor/mcp.json` が次の1件を指している。Cursor でこのフォルダを開き、MCP を再読み込みする。
```json
{
"mcpServers": {
"dev-skills": {
"type": "stdio",
"command": "${workspaceFolder}/.venv/bin/python",
"args": ["-m", "dev_skills_mcp"],
"env": {
"PYTHONPATH": "${workspaceFolder}/src"
}
}
}
}
```
すべてのプロジェクトで使うときは、同じ内容を `~/.cursor/mcp.json` に足し、`command` と `PYTHONPATH` をこのリポジトリの絶対パスにする。足すサーバは `dev-skills` の1つ。
スキルファイルを変えたあとは、MCP サーバを再起動する。カタログは起動時に読む。
## スキルを足す
`skills/<カテゴリー>/<サブカテゴリー>/<name>/SKILL.md` を置く。カテゴリーとサブカテゴリーは `categories.yaml` に定義済みのものを使う。新しい分類が要るなら先にそこへ足す。`name` はフォルダ名と一致させ、カタログ全体で一意にする。`description` には何をするかと、いつ使うか(`Use when`)を書く。`metadata` には慣行の名前、関連理由、少なくとも1つの `relates_to` が要る。関連先が実在しない、未定義の分類に置いた、スキルのないサブカテゴリーがある、取り込みスキルに `LICENSE` や `source` がない、のいずれかでサーバは起動しない。
```bash
PYTHONPATH=src .venv/bin/python -m dev_skills_mcp --catalog > CATALOG.md
PYTHONPATH=src .venv/bin/python -m pytest
```
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues