claude-automation-recommender
This skill analyzes a codebase to identify and recommend tailored Claude Code automations including hooks, subagents, skills, plugins, and MCP servers based on detected project patterns and dependencies. Use it when you need optimization suggestions for Claude Code workflows, want to set up automation for a project, or seek guidance on which Claude Code features best fit your existing codebase.
git clone --depth 1 https://github.com/secondsky/sap-skills /tmp/claude-automation-recommender && cp -r /tmp/claude-automation-recommender/.agents/skills/claude-automation-recommender ~/.claude/skills/claude-automation-recommenderSKILL.md
# Claude Automation Recommender Analyze codebase patterns to recommend tailored Claude Code automations across all extensibility options. **This skill is read-only.** It analyzes the codebase and outputs recommendations. It does NOT create or modify any files. Users implement the recommendations themselves or ask Claude separately to help build them. ## Output Guidelines - **Recommend 1-2 of each type**: Don't overwhelm - surface the top 1-2 most valuable automations per category - **If user asks for a specific type**: Focus only on that type and provide more options (3-5 recommendations) - **Go beyond the reference lists**: The reference files contain common patterns, but use web search to find recommendations specific to the codebase's tools, frameworks, and libraries - **Tell users they can ask for more**: End by noting they can request more recommendations for any specific category ## Automation Types Overview | 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 (invoked by Claude or user via `/skill-name`) | | **Plugins** | Collections of skills that can be installed | | **MCP Servers** | External tool integrations (databases, APIs, browsers, docs) | ## Workflow ### Phase 1: Codebase Analysis Gather project context: ```bash # Detect project type and tools ls -la package.json pyproject.toml Cargo.toml go.mod pom.xml 2>/dev/null cat package.json 2>/dev/null | head -50 # Check dependencies for MCP server recommendations cat package.json 2>/dev/null | grep -E '"(react|vue|angular|next|express|fastapi|django|prisma|supabase|stripe)"' # Check for existing Claude Code config ls -la .claude/ CLAUDE.md 2>/dev/null # Analyze project structure ls -la src/ app/ lib/ tests/ components/ pages/ api/ 2>/dev/null ``` **Key Indicators to Capture:** | Category | What to Look For | Informs Recommendations For | |----------|------------------|----------------------------| | Language/Framework | package.json, pyproject.toml, import patterns | Hooks, MCP servers | | Frontend stack | React, Vue, Angular, Next.js | Playwright MCP, frontend skills | | Backend stack | Express, FastAPI, Django | API documentation tools | | Database | Prisma, Supabase, raw SQL | Database MCP servers | | External APIs | Stripe, OpenAI, AWS SDKs | context7 MCP for docs | | Testing | Jest, pytest, Playwright configs | Testing hooks, subagents | | CI/CD | GitHub Actions, CircleCI | GitHub MCP server | | Issue tracking | Linear, Jira references | Issue tracker MCP | | Docs patterns | OpenAPI, JSDoc, docstrings | Documentation skills | ### Phase 2: Generate Recommendations Based on analysis, generate recommendations across all categories: #### A. MCP Server Recommendations See [references/mcp-servers.md](references/mcp-servers.md) for detailed patterns. | Codebase Signal | Recommended MCP Server | |-----------------|------------------------| | Uses popular libraries (React, Express, etc.) | **context7** - Live documentation lookup | | Frontend with UI testing needs | **Playwright** - Browser automation/testing | | Uses Supabase | **Supabase MCP** - Direct database operations | | PostgreSQL/MySQL database | **Database MCP** - Query and schema tools | | GitHub repository | **GitHub MCP** - Issues, PRs, actions | | Uses Linear for issues | **Linear MCP** - Issue management | | AWS infrastructure | **AWS MCP** - Cloud resource management | | Slack workspace | **Slack MCP** - Team notifications | | Memory/context persistence | **Memory MCP** - Cross-session memory | | Sentry error tracking | **Sentry MCP** - Error investigation | | Docker containers | **Docker MCP** - Container management | #### B. Skills Recommendations See [references/skills-reference.md](references/skills-reference.md) for details. Create skills in `.claude/skills/<name>/SKILL.md`. Some are also available via plugins: | Codebase 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 | | Feature planning | feature-dev | feature-dev | **Custom skills to create** (with templates, scripts, examples): | Codebase Signal | Skill to Create | Invocation | |-----------------|-----------------|------------| | API routes | **api-doc** (with OpenAPI template) | Both | | Database project | **create-migration** (with validation script) | User-only | | Test suite | **gen-test** (with example tests) | User-only | | Component library | **new-component** (with templates) | User-only | | PR workflow | **pr-check** (with checklist) | User-only | | Releases | **release-notes** (with git context) | User-only | | Code style | **project-conventions** | Claude-only | | Onboarding | **setup-dev** (with prereq script) | User-only | #### C. Hooks Recommendations See [references/hooks-patterns.md](references/hooks-patterns.md) for configurations. | Codebase Signal | Recommended Hook | |-----------------|------------------| | Prettier configured | PostToolUse: auto-format on edit | | ESLint/Ruff configured | PostToolUse: auto-lint on edit | | TypeScript project | PostToolUse: type-check on edit | | Tests directory exists | PostToolUse: run related tests | | `.env` files present | PreToolUse: block `.env` edits | | Lock files present | PreToolUse: block lock file edits | | Security-sensitive code | PreToolUse: require confirmation | #### D. Subagent Recommendations See [references/subagent-templates.md](references/subagent-templates.md) for templates. | Codebase Signal | Recommended Subagent | |-----------------|---------------------| | Large codebase (>500 files) | **code-reviewer** - Parallel code review | | Auth/payments code | **security-reviewer** - S
Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project memory optimization".
Secure dependency upgrades with supply chain protection, cooldowns, and staged rollout. Use when upgrading deps, configuring security policies, or preventing supply chain attacks.
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".
Comprehensive SAP ABAP CDS (Core Data Services) reference for data modeling, view development, and semantic enrichment. Use when creating CDS views or view entities, defining data models with annotations, working with associations and cardinality, implementing input parameters, using built-in functions, writing CASE expressions, implementing access control with DCL, handling CURR/QUAN data types, troubleshooting CDS errors, querying CDS views from ABAP, or displaying data with SALV IDA. Covers ABAP 7.4+ through ABAP Cloud.
|
|
|
|