一键导入
setup-project
Bootstrap a project for Claude Code — auto-detect stack, configure permissions, generate commands
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Bootstrap a project for Claude Code — auto-detect stack, configure permissions, generate commands
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | setup-project |
| description | Bootstrap a project for Claude Code — auto-detect stack, configure permissions, generate commands |
| argument-hint | ["optional project description"] |
| disable-model-invocation | true |
Bootstrap this project for Claude Code. Follow these 6 phases in order.
Scan project root for config files and identify the stack:
| File | Stack | Permissions | Lint | Test |
|---|---|---|---|---|
pubspec.yaml | Flutter/Dart | Bash(flutter *), Bash(dart *) | flutter analyze | flutter test |
package.json | Node/JS/TS | Bash(npm *), Bash(npx *), Bash(node *) | read scripts.lint | read scripts.test |
go.mod | Go | Bash(go *) | go vet, golangci-lint run | go test ./... |
Cargo.toml | Rust | Bash(cargo *) | cargo clippy | cargo test |
pyproject.toml or requirements.txt | Python | Bash(python *), Bash(pip *), Bash(pytest *) | ruff check | pytest |
composer.json | PHP | Bash(composer *), Bash(php *) | phpcs or phpstan | phpunit |
Gemfile | Ruby | Bash(bundle *), Bash(ruby *), Bash(rails *) | rubocop | rspec or rails test |
*.xcodeproj or Package.swift | iOS/Swift | Bash(xcodebuild *), Bash(swift *) | swiftlint | xcodebuild test |
Makefile | Generic | Bash(make *) | make lint | make test |
Always add Bash(git *) for every stack.
For Node/JS: read package.json scripts to find the REAL command names (lint, test, typecheck, build). NEVER guess.
For Makefile: read actual targets. NEVER assume.
If multiple stacks detected (monorepo): list them and ask confirmation before proceeding.
Run git log --oneline -10 for project context.
Target: .claude/settings.json in the PROJECT directory (NOT ~/.claude/settings.json).
.claude/settings.json exists, read existing permissions.allow arrayGenerate .claude/git-commit-rules.md:
git log --oneline -20.gitignore exists and .claude-sessions/ is not in it → add it.gitignore does not exist → do nothing (the project may have a reason)BACKLOG/ does not exist → run /backlog-initCLAUDE.md does not exist → run /claude-md-init (pass detected stack as context)CLAUDE.md exists → suggest /claude-md-boost but do NOT run it automaticallyDisplay:
SETUP COMPLETE — [project name]
══════════════════════════════
Stack : [detected stack]
Permissions : [list] (added to .claude/settings.json)
CLAUDE.md : generated / already present (boost recommended)
BACKLOG/ : initialized / already present
Git rules : .claude/git-commit-rules.md generated
.gitignore : .claude-sessions/ added / already present / no .gitignore
Commands available:
/start — load session context
/review — auto-review before commit
/check — validation pipeline (lint + build + tests)
Compresser une session de debug en cours et produire un prompt forensique strict (donnees -> hypothese unique -> test decisif -> STOP). A utiliser quand un debug long ou complexe derive vers la speculation, ou quand le contexte de la conv est sature et qu'il faut basculer sur une session vierge sans perdre les eliminations deja faites.
Switch to supervisor/CTO mode — plan, delegate to workers, never write code directly
Auto-bootstrap codebase indexing in any project. Detects the stack, dispatches to the native installer if supported (Dart in v0.1), or generates a stack-appropriate indexer with strict guardrails (official AST parser, format contract, auto-validation, refinement loop) for TypeScript, Python, Go, or Rust.
Switch to expert-comptable / fiscaliste mode — optimisation fiscale FR, structuration de societes, expatriation, patrimoine
Generate API_CONTRACT.md by scanning existing routes and controllers
Check if API_CONTRACT.md is in sync with the actual code