Skip to content

Yarn package manager skills with dependency validation hooks.

CCM score
42 of 100
GitHub stars
201
View on GitHub

Own this plugin? Claim it

What it does

  • Includes 2 hooks: hooks.json and yarn-reminder.md

Add marketplace

/plugin marketplace add TheBushidoCollective/han

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install yarn@han

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

Changelog

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

[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

[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 install runs when package.json or yarn.lock changes
  • Smart caching: Only runs when relevant files have changed
  • Frozen lockfile support: Tries --frozen-lockfile first 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.json or yarn.lock have changed since last successful run
  • Attempts yarn install --check-files --frozen-lockfile first
  • Falls back to yarn install if 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 340

Similar to yarn

More Developer Tools