setup
Skill1 starsChanged 15 days agoMITView on GitHub
技術スタックと独自規約をヒアリングして project-setup エージェントに .claude/rules/coding-standards.md と .claude/rules/project-conventions.md を生成させる。ユーザーの /setup 明示呼び出しと、init-session が SETUP_NEEDED を検出したときの連鎖起動でのみ使う。
191 other projects use a version of this.
Adopted by
Most recently taken up by
- hydra-db/hydradb-claude-codetheir own version, first seen Nov 8, 2026
- WALKERKILLER/Look-Tongji-Notestheir own version, first seen Nov 8, 2026
- steerlabs/opensteertheir own version, first seen Nov 8, 2026
- ansvisor/ansvisortheir own version, first seen Nov 8, 2026
- dsifry/metaswarmtheir own version, first seen Nov 8, 2026
- anombyte93/prd-taskmastertheir own version, first seen Nov 8, 2026
Used with
Projects with it also use add-voice-transcription, add-discord and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
juancruzmunozalbeloSkilladd-voice-transcription
Add voice message transcription to NanoClaw using OpenAI's Whisper API. Automatically transcribes WhatsApp voice notes so the agent can read and respond to them.
Also in 5 projects that use this
MicrosoftSkilladd-discord
Add Discord bot channel integration via Chat SDK.
Also in 11 projects that use this
MicrosoftSkilladd-slack
Add Slack channel integration via Chat SDK.
Also in 11 projects that use this
juancruzmunozalbeloSkilladd-telegram-swarm
Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".
Also in 7 projects that use this
- +8 more from microsoft
Other versions191 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 191
- anthropics/knowledge-work-plugins★ 35ksame name
- garrytan/gbrain★ 32ksame name
- gavrielc/nanoclaw★ 31ksame name
- nanocoai/nanoclaw★ 31ksame name
- qwibitai/nanoclaw★ 31ksame name
- Q00/ouroboros★ 6.3ksame name
- pytorch/executorch★ 5.2ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- aws/agent-toolkit-for-aws★ 3.4ksame name
- spotify/portal-ai-plugins★ 2.8ksame name
181 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- autonomous-modeSkill
- brainstormSkill
- developSkill
- dev-workflowSkill
- docSkill
- extract-libSkill
- init-sessionSkill
- parallel-agentsSkill
- pattern-statusSkill
- promote-patternSkill
- recallSkill
- report-timestampSkill
- review-phaseSkill
- startSkill
The file
Files
setup
プロジェクトのコーディング規約を設定する。 ヒアリングは親 Claude が担当し、収集後に project-setup エージェントを起動する。
起動経路の制約: 本 skill の起動は (a) ユーザーの
/setup明示呼び出し、 (b)init-sessionガード G-2 がSETUP_NEEDEDを検出した際のチェーン起動、の 2 経路のみ。 それ以外の場面で LLM の判断により自発的に起動してはならない (frontmatter で model invocation を禁止していないのは、G-2 のチェーン起動を許可するため)。
Phase 1: 技術スタックのヒアリング(親 Claude が実施)
Q1: 言語・バージョン
AskUserQuestion ツール:
{
"questions": [{
"question": "使用する言語とバージョンを教えてください",
"options": [
{ "label": "Python", "description": "バージョンを後で確認します" },
{ "label": "TypeScript / JavaScript", "description": "バージョンを後で確認します" },
{ "label": "Java / Kotlin", "description": "バージョンを後で確認します" },
{ "label": "C# / .NET", "description": "バージョンを後で確認します" }
]
}]
}選択後にバージョンを確認する。
Q2: フレームワーク
AskUserQuestion ツール:
{
"questions": [{
"question": "使用するフレームワーク・主要ライブラリを教えてください",
"options": [
{ "label": "使用するものがある", "description": "具体的に入力してください" },
{ "label": "まだ決めていない" },
{ "label": "使用しない" }
]
}]
}Q3: 実行環境
AskUserQuestion ツール:
{
"questions": [{
"question": "実行環境はどれですか?",
"options": [
{ "label": "サーバーサイド(API・バックエンド)" },
{ "label": "ブラウザ(フロントエンド)" },
{ "label": "両方(フルスタック)" },
{ "label": "CLI ツール" }
]
}]
}Q4: データベース
AskUserQuestion ツール:
{
"questions": [{
"question": "データベースは使いますか?",
"options": [
{ "label": "PostgreSQL" },
{ "label": "MySQL / MariaDB" },
{ "label": "SQLite" },
{ "label": "使わない" }
]
}]
}Q5: テストフレームワーク
AskUserQuestion ツール:
{
"questions": [{
"question": "テストフレームワークは決まっていますか?",
"options": [
{ "label": "決まっている", "description": "具体的に入力してください" },
{ "label": "まだ決めていない" }
]
}]
}Phase 2: 独自規約のヒアリング(親 Claude が実施)
Q6: 参考スタイルガイド
AskUserQuestion ツール:
{
"questions": [{
"question": "参考にするスタイルガイドはありますか?",
"options": [
{ "label": "公式スタイルガイドに従う", "description": "PEP8・Google・StandardJS 等" },
{ "label": "Airbnb スタイル" },
{ "label": "独自ルールがある", "description": "後で詳しく教えてください" },
{ "label": "特になし・おすすめに任せる" }
]
}]
}Q7: コメント方針
AskUserQuestion ツール:
{
"questions": [{
"question": "コードコメントの方針を教えてください",
"options": [
{ "label": "最小限にする", "description": "コード自体を読みやすく書く" },
{ "label": "積極的に書く" },
{ "label": "英語で統一" },
{ "label": "日本語で統一" }
],
"multiSelect": true
}]
}Q8: テストカバレッジ
AskUserQuestion ツール:
{
"questions": [{
"question": "テストカバレッジの目標はありますか?",
"options": [
{ "label": "80% 以上" },
{ "label": "クリティカルパスのみ" },
{ "label": "数値目標なし" }
]
}]
}Q9: その他の規約
AskUserQuestion ツール:
{
"questions": [{
"question": "他に規約として残しておきたいことはありますか?",
"options": [
{ "label": "ある", "description": "自由に入力してください" },
{ "label": "特になし" }
]
}]
}Phase 3: project-setup エージェントの起動
全ヒアリング結果を整理して Agent ツールで project-setup エージェントを起動する。
agent は .claude/skills/setup/templates/ と .claude/skills/setup/reference.md を Read して、{プレースホルダ} を置換する形で 2 ファイルを生成する。
プロンプト形式:
以下の情報をもとに rules/ ファイルを生成してください。
テンプレートと参照表は以下に配置されています:
- .claude/skills/setup/templates/coding-standards-template.md
- .claude/skills/setup/templates/project-conventions-template.md
- .claude/skills/setup/reference.md(言語→拡張子マッピング・公式スタイルガイド参照先)
## 技術スタック
- 言語・バージョン: {回答}
- フレームワーク: {回答}
- 実行環境: {回答}
- データベース: {回答}
- テストフレームワーク: {回答}
## チーム規約
- 参考スタイルガイド: {回答}
- コメント方針: {回答}
- テストカバレッジ目標: {回答}
- その他: {回答}
## 生成ルール
- .claude/rules/coding-standards.md には .claude/skills/setup/reference.md の言語→拡張子マッピングを {LANG_PATHS} に展開する
- .claude/rules/project-conventions.md には paths を付けない(git・コミット規約など横断的ルールのため常時適用)
- 全プレースホルダを実値に置換した完成版を Write する(プレースホルダを残さない)Phase 4: 完了報告
project-setup エージェントが 2 ファイルを生成したら、Bash で setup 実行済みマーカーを記録する
(/init-session の setup ガードが再発火しないようにするため。このフラグは wheel に含まれず、利用先では git 管理されてチームの他メンバーにも setup 済みとして伝わる)。
このフラグは存在自体がマーカーであり中身は不要(空ファイルで可):
c3 run .claude/skills/init-session/scripts/session_guard.py setup-mark書き込みが失敗した場合は .claude/skills/init-session/scripts/session_guard.py が例外で停止する(握り潰さない)。フラグ未書き込みなら次回 /init-session 実行時に G-2 が SETUP_NEEDED を返し /setup が再起動されるためリカバリ可能。
その後、以下を報告する:
セットアップ完了:
.claude/rules/coding-standards.md — 標準コーディング規約
.claude/rules/project-conventions.md — プロジェクト固有の規約
次回から architect・developer・tester・code-reviewer・security-reviewer
がこれらのルールを参照して作業します。Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

