Lerna monorepo management skills with bootstrap validation hooks.
- CCM score
- 38 of 100
- GitHub stars
- 201
Own this plugin? Claim it
What it does
- Includes 1 hook:
hooks.json
Add marketplace
/plugin marketplace add TheBushidoCollective/hanRun it inside Claude Code once, then install the plugin below.
Install
/plugin install lerna@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-02-17
Added
- backend rearchitecture — Rust crates replace han-native (#70) (877601e0)
[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-08
Added
- auto-install han binary and use direct han commands (f0bca8c3)
Fixed
- add -y flag to all npx commands to prevent interactive prompts (c8385bf3)
- remove duplicate strings in hook commands (63199a44)
- 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.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
Lerna
Lerna monorepo management skills with bootstrap validation hooks for Claude Code.
Features
- Automatic dependency bootstrapping: Ensures
lerna bootstrapruns when package dependencies change - Smart caching: Only runs when relevant files have changed
- CI-like behavior: Tries
--ciflag first for faster installs, falls back to regular bootstrap
Installation
han plugin install lerna
Hooks
bootstrap (Stop hook)
Automatically runs when you stop Claude Code to ensure monorepo dependencies are properly linked:
- Detects directories containing
lerna.json - Only runs if
package.json,lerna.json, or lockfiles have changed since last successful run - Attempts
lerna bootstrap --cifirst for faster, reproducible installs - Falls back to
lerna bootstrapif needed
Configuration
You can customize the hook behavior in your project's han-config.yml:
lerna:
hooks:
bootstrap:
enabled: true
# Override the command if needed
# command: "npx lerna bootstrap"
To disable the hook for a specific project:
lerna:
hooks:
bootstrap:
enabled: false
Note
For modern Lerna (v7+) using npm/yarn/pnpm workspaces, the bootstrap command links local packages and installs remaining dependencies. Consider using npm or yarn alongside this plugin for complete dependency management.
Details
- Marketplace
- TheBushidoCollective/han
- Source
- plugins/tools/lerna
- Category
- Tool
- Keywords
- lerna, monorepo, packages, workspaces, node
- Listed since
- Apr 7, 2026
More from TheBushidoCollective/han
All 340Similar to lerna
More Developer Toolsjutsu-lernaPluginTheBushidoCollective/han201 starsLerna monorepo management skills with bootstrap validation hooks.
yarnPluginTheBushidoCollective/han201 starsYarn package manager skills with dependency validation hooks.
monorepo-managementSkillaj-geddes/useful-ai-prompts452 installsMonorepo setup guidance for Lerna, Turborepo, and Nx covering workspaces, versioning, and cross-package testing.
pnpmSkillhairyf/skills238 installsNode.js package manager with strict dependency resolution, catalogs, patches, and content-addressable storage.
monorepo-managerPluginrohitg00/awesome-claude-code-toolkit2.9K starsManage monorepo packages with affected detection and version synchronization
RepomixMCP serveryamadashy29.5K starsPacks local or remote codebases into a single AI-readable file for LLMs and coding agents.