jutsu-yarn
Yarn package manager plugin that keeps dependencies in sync when Claude Code stops.
- CCM score
- 42 of 100
- GitHub stars
- 201
Own this plugin? Claim it
What it does
- Adds a
yarn-reminderhook and a stop-timeinstallhook for Yarn projects - Runs
yarn install --check-files --frozen-lockfilefirst, falling back toyarn installwhen the lockfile needs updating - Skips the install unless
package.jsonoryarn.lockchanged since the last successful run - Enabled or disabled per project through the
yarn.hooks.installsetting inhan-config.yml
Yarn package manager skills with dependency validation hooks.
Add marketplace
/plugin marketplace add TheBushidoCollective/hanRun it inside Claude Code once, then install the plugin below.
Install
/plugin install jutsu-yarn@hanRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceChangelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[1.4.0] - 2026-07-19
Fixed
- regenerate stale generated hooks.json (4ff376e4)
[1.4.0] - 2026-02-18
Added
- message timeline overhaul with Sentry, chronological results, subway lines, and chat alignment (cc9af0cc)
- backend rearchitecture — Rust crates replace han-native (#70) (877601e0)
[1.4.0] - 2026-02-17
Added
- backend rearchitecture — Rust crates replace han-native (#70) (877601e0)
[1.4.0] - 2026-02-11
Fixed
- update yarn plugin README to current naming (eb3f9c9a)
[1.4.0] - 2026-02-07
Added
- auto-generate hooks.json from han-plugin.yml with shorthand events (f3a39941)
[1.4.0] - 2026-01-30
[1.4.0] - 2026-01-24
Changed
- extract complex inline hook commands to shell scripts (953a540a)
[1.3.1] - 2025-12-13
BREAKING CHANGES
- make caching and fail-fast default behavior for hooks (491fd7a1)
Added
- add SubagentStart and SubagentStop hooks to all plugins (1b4dba0d)
- unified YAML config, MCP memory tools, checkpoint system (f74f40ed)
Changed
- normalize hook names to remove duplicative prefixes (e182590e)
[1.3.0] - 2025-12-12
Added
- unified YAML config, MCP memory tools, checkpoint system (f74f40ed)
[1.2.17] - 2025-12-09
Changed
- rename bushido-han package to han with expanded test coverage (a320585d)
[1.2.16] - 2025-12-08
Added
- auto-install han binary and use direct han commands (f0bca8c3)
- enhance prompt hook display with accordion format (5a1e09d6)
Fixed
- remove npx fallback from all hooks - rely on binary only (b088a4a9)
- add Claude bin directory to PATH in hook test execution (c0bd7909)
Other
- fix han command (fab172e8)
[1.2.15] - 2025-12-08
Added
- auto-install han binary and use direct han commands (f0bca8c3)
- enhance prompt hook display with accordion format (5a1e09d6)
Fixed
- add Claude bin directory to PATH in hook test execution (c0bd7909)
Other
- fix han command (fab172e8)
[1.2.14] - 2025-12-07
Fixed
- convert all hook timeouts from milliseconds to seconds (c3d303d2)
[1.2.13] - 2025-12-03
Fixed
- remove double blank lines from CHANGELOGs (6e6f236a)
- remove double blank lines from CHANGELOGs (7d5bfb37)
- remove double blank lines from CHANGELOGs (ae2fa50f)
- remove double blank lines from CHANGELOGs (4a1daf78)
- remove double blank lines from CHANGELOGs (84d69e10)
- remove double blank lines from CHANGELOGs (97cb0320)
- remove double blank lines from CHANGELOGs (10c19571)
- remove double blank lines from CHANGELOGs (35141f73)
- remove double blank lines from CHANGELOGs (d3773c3e)
- remove double blank lines from existing CHANGELOGs (b829c36c)
- remove double blank lines from CHANGELOG files (58eb3336)
- fix markdown formatting in CHANGELOG files (21ca9a75)
- remove trailing blank lines from CHANGELOG files (999bbf73)
[1.2.12] - 2025-12-03
Fixed
- remove double blank lines from CHANGELOGs (7d5bfb37)
- remove double blank lines from CHANGELOGs (ae2fa50f)
- remove double blank lines from CHANGELOGs (4a1daf78)
- remove double blank lines from CHANGELOGs (84d69e10)
- remove double blank lines from CHANGELOGs (97cb0320)
- remove double blank lines from CHANGELOGs (10c19571)
- remove double blank lines from CHANGELOGs (35141f73)
- remove double blank lines from CHANGELOGs (d3773c3e)
- remove double blank lines from existing CHANGELOGs (b829c36c)
- remove double blank lines from CHANGELOG files (58eb3336)
- fix markdown formatting in CHANGELOG files (21ca9a75)
- remove trailing blank lines from CHANGELOG files (999bbf73)
Changed
- update hooks.json to new hook command format (fa1974dd)
[1.2.11] - 2025-12-03
Fixed
- remove double blank lines from CHANGELOGs (ae2fa50f)
- remove double blank lines from CHANGELOGs (4a1daf78)
- remove double blank lines from CHANGELOGs (84d69e10)
- remove double blank lines from CHANGELOGs (97cb0320)
- remove double blank lines from CHANGELOGs (10c19571)
- remove double blank lines from CHANGELOGs (35141f73)
- remove double blank lines from CHANGELOGs (d3773c3e)
- remove double blank lines from existing CHANGELOGs (b829c36c)
- remove double blank lines from CHANGELOG files (58eb3336)
- fix markdown formatting in CHANGELOG files (21ca9a75)
- remove trailing blank lines from CHANGELOG files (999bbf73)
Changed
- update hooks.json to new hook command format (fa1974dd)
[1.2.10] - 2025-12-03
Fixed
- remove double blank lines from CHANGELOGs (4a1daf78)
- remove double blank lines from CHANGELOGs (84d69e10)
- remove double blank lines from CHANGELOGs (97cb0320)
- remove double blank lines from CHANGELOGs (10c19571)
- remove double blank lines from CHANGELOGs (35141f73)
- remove double blank lines from CHANGELOGs (d3773c3e)
- remove double blank lines from existing CHANGELOGs (b829c36c)
- remove double blank lines from CHANGELOG files (58eb3336)
- fix markdown formatting in CHANGELOG files (21ca9a75)
- remove trailing blank lines from CHANGELOG files (999bbf73)
Changed
- update hooks.json to new hook command format (fa1974dd)
[1.2.9] - 2025-12-03
Fixed
- remove double blank lines from CHANGELOGs (84d69e10)
- remove double blank lines from CHANGELOGs (97cb0320)
- remove double blank lines from CHANGELOGs (10c19571)
- remove double blank lines from CHANGELOGs (35141f73)
- remove double blank lines from CHANGELOGs (d3773c3e)
- remove double blank lines from existing CHANGELOGs (b829c36c)
- remove double blank lines from CHANGELOG files (58eb3336)
- fix markdown formatting in CHANGELOG files (21ca9a75)
- remove trailing blank lines from CHANGELOG files (999bbf73)
Changed
- update hooks.json to new hook command format (fa1974dd)
[1.2.8] - 2025-12-03
Fixed
- remove double blank lines from CHANGELOGs (97cb0320)
- remove double blank lines from CHANGELOGs (10c19571)
- remove double blank lines from CHANGELOGs (35141f73)
- remove double blank lines from CHANGELOGs (d3773c3e)
- remove double blank lines from existing CHANGELOGs (b829c36c)
- remove double blank lines from CHANGELOG files (58eb3336)
- fix markdown formatting in CHANGELOG files (21ca9a75)
- remove trailing blank lines from CHANGELOG files (999bbf73)
Changed
- update hooks.json to new hook command format (fa1974dd)
[1.2.7] - 2025-12-03
Fixed
- remove double blank lines from CHANGELOGs (10c19571)
- remove double blank lines from CHANGELOGs (35141f73)
- remove double blank lines from CHANGELOGs (d3773c3e)
- remove double blank lines from existing CHANGELOGs (b829c36c)
- remove double blank lines from CHANGELOG files (58eb3336)
- fix markdown formatting in CHANGELOG files (21ca9a75)
- remove trailing blank lines from CHANGELOG files (999bbf73)
Changed
- update hooks.json to new hook command format (fa1974dd)
[1.2.6] - 2025-12-03
Fixed
- remove double blank lines from CHANGELOGs (35141f73)
- remove double blank lines from CHANGELOGs (d3773c3e)
- remove double blank lines from existing CHANGELOGs (b829c36c)
- remove double blank lines from CHANGELOG files (58eb3336)
- fix markdown formatting in CHANGELOG files (21ca9a75)
- remove trailing blank lines from CHANGELOG files (999bbf73)
Changed
- update hooks.json to new hook command format (fa1974dd)
[1.2.5] - 2025-12-03
Fixed
- remove double blank lines from CHANGELOGs (d3773c3)
- remove double blank lines from existing CHANGELOGs (b829c36)
- remove double blank lines from CHANGELOG files (58eb333)
- fix markdown formatting in CHANGELOG files (21ca9a7)
- remove trailing blank lines from CHANGELOG files (999bbf7)
Changed
- update hooks.json to new hook command format (fa1974d)
[1.2.4] - 2025-12-03
Fixed
- remove double blank lines from existing CHANGELOGs (b829c36)
- remove double blank lines from CHANGELOG files (58eb333)
- fix markdown formatting in CHANGELOG files (21ca9a7)
- remove trailing blank lines from CHANGELOG files (999bbf7)
Changed
- update hooks.json to new hook command format (fa1974d)
[1.2.3] - 2025-12-03
Fixed
- remove double blank lines from CHANGELOG files (58eb333)
- fix markdown formatting in CHANGELOG files (21ca9a7)
- remove trailing blank lines from CHANGELOG files (999bbf7)
Changed
- update hooks.json to new hook command format (fa1974d)
[1.2.2] - 2025-12-03
Fixed
- fix markdown formatting in CHANGELOG files (21ca9a7)
- remove trailing blank lines from CHANGELOG files (999bbf7)
Changed
- update hooks.json to new hook command format (fa1974d)
[1.2.1] - 2025-12-03
Fixed
- remove trailing blank lines from CHANGELOG files (999bbf7)
Changed
- update hooks.json to new hook command format (fa1974d)
[1.2.0] - 2025-12-03
Fixed
- source CLAUDE_ENV_FILE before running hook commands (4558340)
- remove SubagentStop hooks to prevent infinite loops (870244c)
Changed
- update hooks.json to new hook command format (fa1974d)
Readme
Yarn
Yarn package manager skills with dependency validation hooks for Claude Code.
Features
- Automatic dependency sync: Ensures
yarn installruns whenpackage.jsonoryarn.lockchanges - Smart caching: Only runs when relevant files have changed
- Frozen lockfile support: Tries
--frozen-lockfilefirst for CI-like behavior, falls back to regular install
Installation
han plugin install yarn
Hooks
install (Stop hook)
Automatically runs when you stop Claude Code to ensure dependencies are in sync:
- Detects directories containing
yarn.lock - Only runs if
package.jsonoryarn.lockhave changed since last successful run - Attempts
yarn install --check-files --frozen-lockfilefirst - Falls back to
yarn installif lockfile needs updating
Configuration
You can customize the hook behavior in your project's han-config.yml:
yarn:
hooks:
install:
enabled: true
# Override the command if needed
# command: "yarn install"
To disable the hook for a specific project:
yarn:
hooks:
install:
enabled: false
Details
- Marketplace
- TheBushidoCollective/han
- Source
- plugins/tools/yarn
- Category
- Tool
- Keywords
- yarn, package-manager, dependencies, node
- Listed since
- Apr 7, 2026
More from TheBushidoCollective/han
All 340Similar to jutsu-yarn
More Developer ToolsyarnPluginTheBushidoCollective/han201 starsYarn package manager skills with dependency validation hooks.
jutsu-npmPluginTheBushidoCollective/han201 starsNPM package manager skills with dependency validation hooks.
dependency-managementPluginHermeticOrmus/LibreUIUX-Claude-Code127 starsDependency auditing, version management, and security vulnerability scanning
pnpmSkillhairyf/skills238 installsNode.js package manager with strict dependency resolution, catalogs, patches, and content-addressable storage.
nix-skillsPluginYPares/agent-skills31 starsSkills for Nix package management and NPM packaging with Nix