跳到正文
cccskills
免费在 GitHub 公开

claude-automation-recommender

Analyze a project’s code and existing settings to recommend useful Claude Code automations. Receive tailored suggestions for event-triggered actions, specialist agents, skills, plugins, and external tool connections, with reasons and setup locations.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers). Use when user asks for automation recommendations, wants to optimize their Claude Code setup, mentions improving Claude Code workflows, asks how to first set up Claude Code for a project, or wants to know what Claude Code features they should use.

查看安装方法

适用场景

  • Choosing Claude Code features for a new project
  • Finding ways to automate formatting and checks
  • Selecting external tool connections for the project
  • Reviewing an existing Claude Code setup

包含的文件(8)

  • SKILL.md12.3 KB
  • LICENSE11.1 KB
  • NOTICE.md1.7 KB
  • references/hooks-patterns.md6.2 KB
  • references/mcp-servers.md7.2 KB
  • references/plugins-reference.md2.9 KB
  • references/skills-reference.md9.4 KB
  • references/subagent-templates.md4.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

TypeBest For
HooksAutomatic actions on tool events (format on save, lint, block edits)
SubagentsSpecialized reviewers/analyzers that run in parallel
SkillsPackaged expertise, workflows, and repeatable tasks (invoked by Claude or user via /skill-name)
PluginsCollections of skills that can be installed
MCP ServersExternal tool integrations (databases, APIs, browsers, docs)

Workflow

Phase 0: Confirm Before Scanning(Cherry Studio addition)

This scan reads many files (package.json, source structure, .claude/, framework configs, dependencies) and produces detailed analysis. It is token-intensive — a typical run on a medium-sized repo consumes 20–40K tokens of model context, plus model output for the recommendations themselves.

Before doing any filesystem reads or Bash calls, you MUST:

  1. Announce the scan plan in one short paragraph: what dirs/files you will read, why each is needed, and the token-budget estimate. Example phrasing:

    我准备扫描当前工作目录的 package.json/pyproject.toml/go.mod 等清单文件 + src/ tests/ 项目结构 + 已有的 .claude/ 配置 + CLAUDE.md,给出 hook / subagent / skill / MCP 推荐。预计消耗 ~30K tokens(实际取决于仓库大小)。

  2. Ask explicit confirmation with a clear yes/no question — in Cherry Studio the chat UI surfaces this as a confirmation button:

    继续扫描吗? / Proceed with scan?

  3. Wait for explicit "yes" / "继续" / "go ahead" before proceeding to Phase 1. Treat anything ambiguous as a no.

  4. If the user declines or hesitates, offer alternatives:

    • Narrower scope: scan only one directory the user names → smaller budget
    • Verbal-only: skip the scan, recommend based on what the user describes (project type, frameworks, pain points)
    • Defer: note the request to memory/FACT.md so a future session can pick it up without re-asking
  5. Skip Phase 0 only if the user has already explicitly granted scan permission earlier in the same session (e.g. their first message was "scan my repo and recommend automations now").

Only after explicit confirmation, proceed with Phase 1 below.

Phase 1: Codebase Analysis

Gather project context:

# 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:

CategoryWhat to Look ForInforms Recommendations For
Language/Frameworkpackage.json, pyproject.toml, import patternsHooks, MCP servers
Frontend stackReact, Vue, Angular, Next.jsPlaywright MCP, frontend skills
Backend stackExpress, FastAPI, DjangoAPI documentation tools
DatabasePrisma, Supabase, raw SQLDatabase MCP servers
External APIsStripe, OpenAI, AWS SDKscontext7 MCP for docs
TestingJest, pytest, Playwright configsTesting hooks, subagents
CI/CDGitHub Actions, CircleCIGitHub MCP server
Issue trackingLinear, Jira referencesIssue tracker MCP
Docs patternsOpenAPI, JSDoc, docstringsDocumentation skills

Phase 2: Generate Recommendations

Based on analysis, generate recommendations across all categories:

A. MCP Server Recommendations

See references/mcp-servers.md for detailed patterns.

Codebase SignalRecommended MCP Server
Uses popular libraries (React, Express, etc.)context7 - Live documentation lookup
Frontend with UI testing needsPlaywright - Browser automation/testing
Uses SupabaseSupabase MCP - Direct database operations
PostgreSQL/MySQL databaseDatabase MCP - Query and schema tools
GitHub repositoryGitHub MCP - Issues, PRs, actions
Uses Linear for issuesLinear MCP - Issue management
AWS infrastructureAWS MCP - Cloud resource management
Slack workspaceSlack MCP - Team notifications
Memory/context persistenceMemory MCP - Cross-session memory
Sentry error trackingSentry MCP - Error investigation
Docker containersDocker MCP - Container management

B. Skills Recommendations

See references/skills-reference.md for details.

Create skills in .claude/skills/<name>/SKILL.md. Some are also available via plugins:

Codebase SignalSkillPlugin
Building pluginsskill-developmentplugin-dev
Git commitscommitcommit-commands
React/Vue/Angularfrontend-designfrontend-design
Automation ruleswriting-ruleshookify
Feature planningfeature-devfeature-dev

Custom skills to create (with templates, scripts, examples):

Codebase SignalSkill to CreateInvocation
API routesapi-doc (with OpenAPI template)Both
Database projectcreate-migration (with validation script)User-only
Test suitegen-test (with example tests)User-only
Component librarynew-component (with templates)User-only
PR workflowpr-check (with checklist)User-only
Releasesrelease-notes (with git context)User-only
Code styleproject-conventionsClaude-only
Onboardingsetup-dev (with prereq script)User-only

C. Hooks Recommendations

See references/hooks-patterns.md for configurations.

Codebase SignalRecommended Hook
Prettier configuredPostToolUse: auto-format on edit
ESLint/Ruff configuredPostToolUse: auto-lint on edit
TypeScript projectPostToolUse: type-check on edit
Tests directory existsPostToolUse: run related tests
.env files presentPreToolUse: block .env edits
Lock files presentPreToolUse: block lock file edits
Security-sensitive codePreToolUse: require confirmation

D. Subagent Recommendations

See references/subagent-templates.md for templates.

Codebase SignalRecommended Subagent
Large codebase (>500 files)code-reviewer - Parallel code review
Auth/payments codesecurity-reviewer - Security audits
API projectapi-documenter - OpenAPI generation
Performance criticalperformance-analyzer - Bottleneck detection
Frontend heavyui-reviewer - Accessibility review
Needs more teststest-writer - Test generation

E. Plugin Recommendations

See references/plugins-reference.md for available plugins.

Codebase SignalRecommended Plugin
General productivityanthropic-agent-skills - Core skills bundle
Frontend developmentfrontend-design plugin
Building AI toolsmcp-builder for MCP development

Phase 3: Output Recommendations Report

Format recommendations clearly. Only include 1-2 recommendations per category - the most valuable ones for this specific codebase. Skip categories that aren't relevant.

## Claude Code Automation Recommendations

I've analyzed your codebase and identified the top automations for each category. Here are my top 1-2 recommendations per type:

### Codebase Profile
- **Type**: [detected language/runtime]
- **Framework**: [detected framework]
- **Key Libraries**: [relevant libraries detected]

---

### 🔌 MCP Servers

#### context7
**Why**: [specific reason based on detected libraries]
**Install**: `claude mcp add context7`

---

### 🎯 Skills

#### [skill name]
**Why**: [specific reason]
**Create**: `.claude/skills/[name]/SKILL.md`
**Invocation**: User-only / Both / Claude-only
**Also available in**: [plugin-name] plugin (if applicable)
```yaml
---
name: [skill-name]
description: [what it does]
disable-model-invocation: true  # for user-only
---

⚡ Hooks

[hook name]

Why: [specific reason based on detected config] Where: .claude/settings.json


🤖 Subagents

[agent name]

Why: [specific reason based on codebase patterns] Where: .claude/agents/[name].md


Want more? Ask for additional recommendations for any specific category (e.g., "show me more MCP server options" or "what other hooks would help?").

Want help implementing any of these? Just ask and I can help you set up any of the recommendations above.


## Decision Framework

### When to Recommend MCP Servers
- External service integration needed (databases, APIs)
- Documentation lookup for libraries/SDKs
- Browser automation or testing
- Team tool integration (GitHub, Linear, Slack)
- Cloud infrastructure management

### When to Recommend Skills

- Frequently repeated prompts or workflows
- Project-specific tasks with arguments
- Applying templates or scripts to tasks (skills can bundle supporting files)
- Quick actions invoked with `/skill-name`
- Workflows that should run in isolation (`context: fork`)

**Invocation control:**
- `disable-model-invocation: true` — User-only (for side effects: deploy, commit, send)
- `user-invocable: false` — Claude-only (for background knowledge)
- Default (omit both) — Both can invoke

### When to Recommend Hooks
- Repetitive post-edit actions (formatting, linting)
- Protection rules (block sensitive file edits)
- Validation checks (tests, type checks)

### When to Recommend Subagents
- Specialized expertise needed (security, performance)
- Parallel review workflows
- Background quality checks

### When to Recommend Plugins
- Need multiple related skills
- Want pre-packaged automation bundles
- Team-wide standardization

---

## Configuration Tips

### MCP Server Setup

**Team sharing**: Check `.mcp.json` into repo so entire team gets same MCP servers

**Debugging**: Use `--mcp-debug` flag to identify configuration issues

**Prerequisites to recommend:**
- GitHub CLI (`gh`) - enables native GitHub operations
- Puppeteer/Playwright CLI - for browser MCP servers

### Headless Mode (for CI/Automation)

Recommend headless Claude for automated pipelines:

```bash
# Pre-commit hook example
claude -p "fix lint errors in src/" --allowedTools Edit,Write

# CI pipeline with structured output
claude -p "<prompt>" --output-format stream-json | your_command

Permissions for Hooks

Configure allowed tools in .claude/settings.json:

{
  "permissions": {
    "allow": ["Edit", "Write", "Bash(npm test:*)", "Bash(git commit:*)"]
  }
}

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Record durable Cherry Studio engineering decisions in Agent Notes. Determine which changes need a note, prepare specifications with verifiable acceptance criteria, and manage approval, implementation, rejection, and replacement while preserving the reasoning behind decisions.

中文简介正在准备中。当前显示英语简介。

  • Deciding whether a change needs a lasting decision record
  • Documenting bug fixes with significant tradeoffs
  • Preparing specifications for approval before implementation
CherryHQ/cherry-studio5.3万2026年10月20日 更新

Get answers about Cherry Studio from the installed version’s product information. The skill explains features, settings locations, and shortcuts, provides clickable navigation entries, and helps diagnose connection failures, configuration problems, and runtime errors.

中文简介正在准备中。当前显示英语简介。

  • Finding a feature or settings page
  • Checking supported providers and default shortcuts
  • Diagnosing connection failures and runtime errors
CherryHQ/cherry-studio5.3万2026年10月20日 更新

Operate the visible browser pane in a Cherry Studio conversation to navigate pages, click controls, fill forms, capture screenshots, and investigate browser issues. It can work with authenticated websites while checking page state and action outcomes.

中文简介正在准备中。当前显示英语简介。

  • Navigate and operate an authenticated website
  • Fill forms and verify the resulting page state
  • Capture screenshots of a page or specific section
CherryHQ/cherry-studio5.3万2026年10月20日 更新

Operates native desktop apps through Cherry Studio Computer Use. It reads interface information, types, clicks, and captures windows, using fresh observations to choose actions and verify results within the permissions and capabilities available.

中文简介正在准备中。当前显示英语简介。

  • Open a desktop app and inspect its interface
  • Enter text and click controls in an app
  • Capture a window when interface details are unclear
CherryHQ/cherry-studio5.3万2026年10月20日 更新

Develop and verify changes in a tracked Cherry Studio Electron instance, a running desktop app. Use real UI behavior, logs, and performance measurements to investigate problems, compare fixes, or test a pull request and report the results.

中文简介正在准备中。当前显示英语简介。

  • Implement UI changes and verify them in the app
  • Reproduce bugs and inspect runtime logs
  • Compare performance before and after a fix
CherryHQ/cherry-studio5.3万2026年10月20日 更新

Run repeatable tests of Cherry Studio’s key workflows with Playwright, which checks application behavior through automated interactions. Collect results on macOS and Windows and produce English reports for release acceptance or development validation.

中文简介正在准备中。当前显示英语简介。

  • Checking key workflows before a release
  • Validating application behavior on a development branch
  • Running regression tests for a specific task
CherryHQ/cherry-studio5.3万2026年10月20日 更新

查看 CherryHQ 的全部技能

报告此技能的问题