AgentSkillsCN

claude-automation-recommender

对仓库中的 CLAUDE.md 文件进行审计与改进。扫描所有 CLAUDE.md 文件,依据既定标准评估质量,生成质量报告,然后有针对性地进行更新。

SKILL.md
--- frontmatter
name: claude-automation-recommender
description: 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.
tools: Read, Glob, Grep, Bash

Claude Automation Recommender

Analyze codebase patterns to recommend tailored Claude Code automations.

Automation Types

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
PluginsCollections of skills that can be installed
MCP ServersExternal tool integrations (databases, APIs, docs)

Workflow

Phase 1: Codebase Analysis

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

Phase 2: Generate Recommendations (1-2 per category)

MCP Servers

SignalRecommended
Popular librariescontext7 - Live documentation
Frontend/UI testingPlaywright - Browser automation
SupabaseSupabase MCP - Direct DB operations
GitHub repoGitHub MCP - Issues, PRs

Skills

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

Hooks

SignalRecommended Hook
Prettier configuredPostToolUse: auto-format on edit
ESLint/RuffPostToolUse: auto-lint on edit
TypeScriptPostToolUse: type-check on edit
.env filesPreToolUse: block .env edits

Subagents

SignalRecommended
Large codebase (>500 files)code-reviewer
Auth/payments codesecurity-reviewer
API projectapi-documenter

Phase 3: Output Report

Recommend 1-2 per category. Skip irrelevant categories. End with "Want more?" prompt.

Decision Framework

  • MCP Servers: External service integration, docs lookup
  • Skills: Repeated workflows, project-specific tasks
  • Hooks: Repetitive post-edit actions, protection rules
  • Subagents: Specialized expertise, parallel reviews
  • Plugins: Multiple related skills, team standardization