一键导入
setup-workflow
Bootstrap the recommended AI workflow in any repo — checks what's installed, creates CLAUDE.md with quality rules, and identifies gaps
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Bootstrap the recommended AI workflow in any repo — checks what's installed, creates CLAUDE.md with quality rules, and identifies gaps
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Find tools that probably belong in CATALOG.md but aren't there, via referenced-but-not-catalogued detection + a foundational-tools checklist. Use to audit the catalog for missing heavyweight tools. Triggers - "find catalog gaps", "what's missing from the catalog", "audit catalog completeness".
Add a tool to CATALOG.md + COMPARISON.md and propagate all counts, then sync and audit. Use when adding a single catalogued tool by its GitHub slug. Triggers - "add X to the catalog", "catalog this repo", "/add-catalog-entry owner/repo".
Bootstrap the recommended AI workflow in any repo — checks what's installed, creates CLAUDE.md with quality rules, and identifies gaps
Audit your current AI tool setup against the recommended dev loop workflow and identify gaps
Evaluate an AI tool, skill, or plugin against the catalog and dev loop quality signals before adopting it
Audit your current AI tool setup against the recommended dev loop workflow and identify gaps
基于 SOC 职业分类
| name | setup-workflow |
| description | Bootstrap the recommended AI workflow in any repo — checks what's installed, creates CLAUDE.md with quality rules, and identifies gaps |
Bootstrap the recommended AI workflow in the current repo. Creates a project CLAUDE.md with quality-producing rules, checks which global tools are installed, and identifies gaps in dev loop stage coverage.
/setup-workflow
# Language/framework detection
ls package.json pyproject.toml Cargo.toml go.mod pom.xml Gemfile composer.json 2>/dev/null
# Existing instruction files
ls CLAUDE.md .claude.local.md AGENTS.md GEMINI.md .github/copilot-instructions.md 2>/dev/null
# Test framework detection
ls jest.config* vitest.config* pytest.ini .pytest_cache tsconfig.json 2>/dev/null
# CI detection
ls .github/workflows/*.yml .gitlab-ci.yml Jenkinsfile 2>/dev/null
Verify which recommended tools are already installed globally:
# Plugins
ls ~/.claude/plugins/cache/ 2>/dev/null
# Skills
ls ~/.claude/skills/ 2>/dev/null
# MCP servers (check settings for configured servers)
cat ~/.claude/settings.json 2>/dev/null | grep -o '"[^"]*"' | head -20
# Also check project-level MCP config
cat .mcp.json 2>/dev/null
Map against the recommended stack from STACK.md — check each dev loop stage (Plan, Implement, Verify, Review, Ship, Reflect, Outer Loop).
For each stage in STACK.md, compare installed tools against recommendations. Present missing tools grouped by stage and ask which to install:
Missing from your setup:
Plan: [ ] context7 (MCP server — live docs lookup)
Verify: [ ] agent-browser (skill — visual verification)
Review: [ ] trailofbits/skills (skill — security audit)
Ship: [ ] claude-code-action (GitHub Action — async review)
Install all missing? Or pick specific stages?
For each selected tool, run the install command from STACK.md:
claude mcp add ...claude install-skill ...claude install-plugin ...npm install -D ...Skip any tool that's already detected as installed.
If no CLAUDE.md exists, create one. If one exists, propose additions for gaps.
The CLAUDE.md should include these sections based on what's detected:
Always include:
Include if relevant framework detected:
Include when infrastructure is in place:
If it doesn't exist, create with:
## Workflow Setup Report
**Repo:** {name}
**Detected:** {language/framework}
### Recommended Stack (from STACK.md)
| Stage | Tool | Installed | Signal |
|-------|------|-----------|--------|
| Plan | context7 | ✅ / ❌ | Correctness |
| Plan | GSD | ✅ / ❌ | Correctness, Speed |
| Plan | feature-dev | ✅ / ❌ | Correctness |
| Implement | caveman | ✅ / ❌ | Cost Efficiency |
| Implement | headroom | ✅ / ❌ | Cost Efficiency |
| Verify | agent-browser | ✅ / ❌ | Correctness |
| Verify | stryker-js | ✅ / ❌ | Correctness |
| Review | code-review | ✅ / ❌ | Correctness, Safety |
| Review | trailofbits/skills | ✅ / ❌ | Safety |
| Ship | claude-code-action | ✅ / ❌ | Speed |
| Reflect | claude-reflect | ✅ / ❌ | Maintainability |
| Outer | abtop | ✅ / ❌ | Cost Efficiency |
| Outer | SkillSpector | ✅ / ❌ | Safety |
### Files Created/Updated
- {list of files created or modified}
### Tools Installed This Run
- {list of tools installed, or "None — all recommended tools already present"}
### Next Steps
1. {most important gap to close}
2. {second}
The generated CLAUDE.md follows this structure (sections included only when relevant):
# {Project Name}
{One-line description}
## Commands
{Detected build/test/dev/lint commands}
## Architecture
{Key directories and their purpose — only if non-obvious}
## Code Style
- Immutability: create new objects, never mutate existing ones
- Small files (200-400 lines typical, 800 max)
- Small functions (<50 lines)
- No deep nesting (>4 levels)
## Testing
- TDD: write test first (RED), implement (GREEN), refactor
- Minimum coverage: 80%
- Fix implementation, not tests (unless tests are wrong)
## Security
- No hardcoded secrets — use environment variables
- Validate all user input at system boundaries
- Parameterized queries for database operations
- Sanitize HTML output
## Git
- Conventional commits: feat, fix, refactor, docs, test, chore
- PR descriptions: summary + test plan