Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers). Use when setting up Claude Code for a project or optimizing workflows.
Analyze codebase patterns to recommend tailored Claude Code automations.
| Type | Best For |
|---|---|
| Hooks | Automatic actions on tool events (format on save, lint, block edits) |
| Subagents | Specialized reviewers/analyzers that run in parallel |
| Skills | Packaged expertise, workflows, and repeatable tasks |
| Plugins | Collections of skills that can be installed |
| MCP Servers | External tool integrations (databases, APIs, docs) |
# Detect project type
ls -la package.json pyproject.toml Cargo.toml go.mod 2>/dev/null
# Check dependencies
cat package.json 2>/dev/null | head -50
# Check existing Claude config
ls -la .claude/ CLAUDE.md 2>/dev/null
# Project structure
ls -la src/ app/ lib/ tests/ components/ 2>/dev/null
| Signal | Recommended |
|---|---|
| Popular libraries | context7 - Live documentation |
| Frontend/UI testing | Playwright - Browser automation |
| Supabase | Supabase MCP - Direct DB operations |
| GitHub repo | GitHub MCP - Issues, PRs |
| Signal | Skill | Plugin |
|---|---|---|
| Building plugins | skill-development | plugin-dev |
| Git commits | commit | commit-commands |
| React/Vue/Angular | frontend-design | frontend-design |
| Automation rules | writing-rules | hookify |
| Signal | Recommended Hook |
|---|---|
| Prettier configured | PostToolUse: auto-format on edit |
| ESLint/Ruff | PostToolUse: auto-lint on edit |
| TypeScript | PostToolUse: type-check on edit |
.env files | PreToolUse: block .env edits |
| Signal | Recommended |
|---|---|
| Large codebase (>500 files) | code-reviewer |
| Auth/payments code | security-reviewer |
| API project | api-documenter |
Recommend 1-2 per category. Skip irrelevant categories. End with "Want more?" prompt.