From ai-tooling
Bootstrap the recommended AI workflow in any repo — checks what's installed, creates CLAUDE.md with quality rules, and identifies gaps
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-tooling:setup-workflowThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
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 what's missing for your ACMM level.
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 what's missing for your ACMM level.
/setup-workflow or /setup-workflow L3 (to target a specific ACMM level)
# 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
grep -c "mcpServers" ~/.claude/settings.json 2>/dev/null
Map against the recommended stack from ${CLAUDE_PLUGIN_ROOT}/docs/WORKFLOW.md for the target ACMM level.
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 for L3+:
Include for L4+:
If it doesn't exist, create with:
## Workflow Setup Report
**Repo:** {name}
**Detected:** {language/framework}
**Target ACMM Level:** L{n}
### Global Tools
| Tool | Required for L{n} | Installed |
|------|-------------------|-----------|
| mattpocock/skills | ✅ | ✅ / ❌ |
| graphify | ✅ | ✅ / ❌ |
| ... | ... | ... |
### Files Created/Updated
- {list of files created or modified}
### Missing Tools
{list of tools to install globally with install commands}
### Next Steps
1. {most important thing to do next}
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
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub mattbutlerengineering/ai-tooling --plugin ai-tooling