本文へ移動
cccskills
無料GitHub で公開

claude-automation-recommender

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.

インストール方法を見る

含まれるファイル(8)

  • SKILL.md18.0 KB
  • LICENSE11.1 KB
  • NOTICE3.6 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(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

Working with the baseline

This skill is invoked from inside a project that ships the Claude Code Baseline (docs/init/seed.md). Read that file before recommending — it lists what is already installed.

The baseline already provides the following. Do not recommend any of these as additions — they exist:

  • 22 hooks: 17 write/run-boundary guards — setup_guard, destructive_cmd_guard, git_commit_guard, env_guard, direction_approval_guard, swarm_approval_guard, verify_pass_guard, track_guard, artifact_template_guard, plantuml_syntax_guard, spec_diagram_presence_guard, spec_design_calls_guard, swarm_boundary_guard, tdd_order_guard, process_lifecycle_guard, lint_runner, test_runner — plus 4 lifecycle hooks: memory_session_start, memory_stop, memory_pre_compact, harness_continuation — plus 1 input-boundary hook: consent_gate_grant.
  • 1 subagent: swarm-worker — the only subagent in the baseline. It executes pre-decided recipes from main context inside isolated git worktrees during /swarm-dispatch. No new subagents should be recommended. All decision-making lives in skills running in main context, where conversational nuance and full file visibility are preserved.
  • 36 skills: artifact drafting (4), workflow phases (10), phase workers — scenario, implement, verify, prose, design-ui (5), spec helpers — spec-lint, spec-render, spec-diagram-review, spec-traceability-review (4), orchestration — harness, swarm-plan, swarm-dispatch (3), memory — memory-sync (1), audit — audit-baseline (1), alternate tracks — chore (1), plus seven shared globals: claude-automation-recommender, code-structure, humanizer, documentation, technical-tutorials, copywriting, impeccable. Several skills mandatorily invoke another skill: scenario and implement invoke code-structure; design-ui invokes impeccable; prose invokes humanizer (always) and copywriting (when persuasive). The technical-tutorials skill carries its audience-context reference doc inline at .claude/skills/technical-tutorials/references/audience-context.md (consolidated 2026-04-28 from the upstream developer-audience-context skill).
  • 4 commands: /approve-direction, /approve-swarm, /grant-commit, /init-project.
  • 3 MCP servers: the documentation provider named in .claude/docs-provider.json (library docs), plantuml (diagram rendering), playwright (Microsoft-official browser automation; used by design-ui for cross-engine visual verification, by integrate for optional cross-engine smoke).

Your job is to surface gaps the baseline doesn't cover for this project. Examples of valuable recommendations:

  • Project-management MCPs (Linear, Jira, GitHub Issues) when the codebase shows references to those systems.
  • Monitoring / observability MCPs (Sentry, Datadog) when the project has an error-tracking integration.
  • Stack-specific lint/test commands populating project.json → test.cmd and lint.cmd based on detected framework (Vitest vs Jest vs pytest, Ruff vs Black vs Prettier+ESLint, etc.).
  • Stack-specific destructive-command patterns to extend project.json → destructive.{hard_block,ask}_patterns (e.g., terraform destroy, kubectl delete, rails db:drop).
  • TDD glob conventions matching the project's actual test file layout (*_test.go, *.test.tsx, tests/test_*.py).
  • New skills for repeated project workflows the baseline phases don't cover (e.g., release-notes for a project with monthly cuts, or stack-specific skills like react-patterns that the swarm-worker template can preload via the {{SKILLS}} token).

Output format for /init-project consumption

When invoked from /init-project, structure your output as a JSON block (in addition to the human-readable narrative) that the orchestrator can parse and apply:

{
  "stack": {
    "language": "typescript",
    "framework": "next.js",
    "test_runner": "vitest",
    "test_cmd": "vitest run --reporter=dot",
    "test_kind": "behavior",
    "linter": "biome",
    "lint_cmd": "biome check --apply"
  },
  "project_json": {
    "test": {
      "kind": "behavior"
    },
    "tdd": {
      "source_globs": ["src/**", "app/**"],
      "test_globs": ["**/*.test.{ts,tsx}"]
    },
    "destructive": {
      "ask_patterns_extend": ["\\bvercel\\s+remove\\b", "\\bsupabase\\s+db\\s+reset\\b"]
    }
  },
  "additions": {
    "mcp_servers": [
      {"name": "linear", "command": "npx -y @linear/mcp", "why": "issues referenced in 23 commits"}
    ],
    "skills": [],
    "hooks": [],
    "swarm_worker_skills": []
  },
  "gaps": [
    "No CI configuration detected; the baseline assumes the user runs tests locally"
  ]
}

Set project_json.test.kind (mirrored as the stack test_kind hint) to tell the chore track whether test.cmd can exercise a docs-only change: behavior — a code-only suite such as vitest — lets a pure-docs chore skip verify; structural (or an absent key) — a whole-repo check — always runs it. Recommend behavior whenever the test_cmd is a unit/integration runner. For vitest specifically, recommend --reporter=dot (the basic reporter was removed in vitest v4).

When invoked outside /init-project (ad-hoc), the human-readable narrative alone is fine — skip the JSON.

swarm-worker template — stack skills the worker should preload

The baseline ships exactly one subagent: swarm-worker. It is template-rendered. /init-project reads src/agents/swarm-worker.template.md and substitutes four tokens. The base body always preloads scenario and implement; this section is about adding stack-specific skills that the worker should also have loaded so its Skill(implement) invocation lands in a context primed for the stack.

Recommend stack skills in additions.swarm_worker_skills — a flat list of skill names (no from_template indirection, no per-variant explosion). /init-project re-renders the worker with SKILLS = ["scenario", "implement"] + swarm_worker_skills.

Schema for the recommendation:

"swarm_worker_skills": ["react-patterns", "react-testing-library", "accessibility"]

Rules:

  • Every skill listed must exist on disk or appear earlier in additions.skills[] so it's installed before the worker re-render runs. /init-project enforces this; emit it correctly and the render lands cleanly.
  • Stack skills only. Generic discipline (code-structure, humanizer) is already invoked by the worker's two mandatory skills (scenario → code-structure; implement → code-structure + the documentation provider). Don't duplicate.
  • Don't recommend new subagent types. The worker's job is execution, not judgment; specialization happens via skills loaded into its context, not via parallel agent personas. New decision-making roles belong in skills, which run in main context where context richness matters.

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 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 SDKsthe declared documentation provider 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.)the documentation provider - Live documentation lookup, already shipped
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

Do not recommend new subagent types in this baseline. The architecture commits to: decisions live in main context (where conversation history, screenshots, and offhand user feedback are preserved); subagents only execute pre-decided recipes (currently only swarm-worker for parallel code execution). Anything you'd previously have made a code-reviewer / security-reviewer / api-documenter subagent should be a skill invoked from main context — find or recommend a skill, not an agent.

If the project has a strong stack signal that warrants additional skills the swarm-worker should preload, recommend them via additions.swarm_worker_skills (described under "swarm-worker template — stack skills the worker should preload").

E. Plugin Recommendations

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

Codebase SignalRecommended Plugin
General productivityanthropic-agent-skills - Core skills bundle
Document workflowsInstall docx, xlsx, pdf skills
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

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

---

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


🤖 Swarm-worker stack skills

[skill name to preload]

Why: [specific reason — usually a strong stack signal that justifies preloading the skill into the swarm-worker's context] Where: additions.swarm_worker_skills in the JSON output


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

- Document generation (docx, xlsx, pptx, pdf — also in plugins)
- 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
**Don't.** The baseline ships exactly one subagent (`swarm-worker`) for parallel code execution; "specialized expertise" is a skill-shaped problem in this architecture, not an agent-shaped one. Recommend the skill instead.

### 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:*)"]
  }
}

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

archive

無料

Phase 10.5 — move the slug's workflow artifacts (intake, scout, research, spec, approvals, swarm state, security reports, rendered diagrams) to docs/archive/<YYYY-MM-DD>/<slug>/. Runs before /commit so the committed tree is clean of work-in-flight files. workflow.json stays live and gets archived as the first step of /commit.

日本語の概要は準備中です。原文の説明を表示しています。

friedbotstudio/baseline142026年9月9日 更新

Drift check between the baseline implementation on disk and the claims in `docs/init/seed.md` + cross-references in CLAUDE.md, README.md, and the rendered docs site. Verifies hook/agent/skill/command names + counts, settings.json wiring, project.json key presence, .mcp.json servers, vendored license files, and helper script presence. Exit 0 PASS / 1 FAIL — suitable for CI. Read-only; safe to invoke any time.

日本語の概要は準備中です。原文の説明を表示しています。

friedbotstudio/baseline142026年9月9日 更新

PM-mode brainstorm helper. Captures the requirement via Socratic dialogue before any entry phase (`/intake`, `/spec`, `/tdd`) drafts its artifact. Stage 0 skip-check, Stage 1 gap-analysis, Stage 2 probe-loop, Stage 3 confirm-and-persist. Output lives at `docs/brief/<slug>.md`. Never proposes solutions — Stage 2 dialogue discipline is structurally enforced via `discipline.mjs`.

日本語の概要は準備中です。原文の説明を表示しています。

friedbotstudio/baseline142026年9月9日 更新

brd

無料

Draft a Business Requirements Document (BRD) for cross-functional or stakeholder-heavy work that needs more structure than an intake. Use after `/intake` when the request spans multiple systems/teams, carries regulatory weight, or needs formal sign-off. Output lives at `docs/brd/<slug>.md`.

日本語の概要は準備中です。原文の説明を表示しています。

friedbotstudio/baseline142026年9月9日 更新

chore

無料

Workflow track for tasks that need no TDD — documentation edits, governance count bumps, vendored-skill content updates, configuration tweaks, formatting, typo fixes, dependency bumps where no project code changes. Skips `/scenario` and `/implement` (no failing test to drive) and runs the work directly. `archive`, `memory-sync`, `/grant-commit`, and `/commit` remain mandatory. `verify`, `simplify`, `integrate`, and `document` are conditional — required when the diff hits one of the listed triggers, optional otherwise. `verify` is skipped only when the diff is pure-docs/prose AND `project.json → test.kind` is `behavior` (absent/invalid `test.kind` → `structural` → verify runs). Chore is a stripped-down pipeline, not a bypass; never silently skip a conditional phase whose triggers apply.

日本語の概要は準備中です。原文の説明を表示しています。

friedbotstudio/baseline142026年9月9日 更新

Dev-only review of user-facing CLI interface copy in `src/cli/tui/*.js`, `src/cli/*.js` error paths, and `bin/cli.js` help/usage text. Surfaces three failure modes — copy/behavior mismatch, jargon, missing next-action — as a punch list the maintainer addresses before `/grant-commit`. Read-only; no writes to source. Conditionally seeded by `/triage` between `/memory-sync` and `/grant-commit` when the request will touch CLI surfaces.

日本語の概要は準備中です。原文の説明を表示しています。

friedbotstudio/baseline142026年9月9日 更新

friedbotstudio のスキルをすべて見る

このスキルの問題を報告する