Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Let Anthropic's claude-code-setup Recommend Hooks and Skills for a Repo with Almost No Claude Code Config

Description and use

The claude‑code‑setup plugin suggested a PostToolUse hook that runs related Jest tests after editing source files, mitigating regression risk in the Netflix Intro Skipper extension.

Problem

The netflix‑intro‑skipper Chrome extension had no Claude Code configuration, making it unclear which automations would be useful.

Outcome

The plugin produced a concrete hook recommendation that would automatically run related Jest tests after editing source files, addressing the risk of regressions in a large test suite.

Workflow

  • Install Claude Code and the claude‑code‑setup plugin via /plugin install claude-code-setup@claude-plugins-official
  • Run the prompt Analyze this project and recommend Claude Code automations (hooks, skills, MCP servers, subagents, plugins)
  • Review the output, which lists a recommended PostToolUse hook that runs npx jest --findRelatedTests after file edits

Evidence

The project has a large test suite, and small changes to a big file like content.js can easily cause regressions. Running npx jest --findRelatedTests <file> after each src/ edit catches problems right away.

Source

After installing, you can confirm that claude-code-setup was added in the Installed tab of /plugins.

Source

  • Record date: 2026-10-17T04:56:17.767Z