working-in-monorepos
CommunityMaster monorepos, eliminate directory confusion.
Authortechnicalpickles
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents common monorepo pitfalls like directory confusion, redundant cd commands, and commands executing from the wrong location. It ensures reliable command execution by enforcing the use of absolute paths, saving you valuable time and preventing frustrating errors in complex multi-project repositories.
Core Features & Use Cases
- Absolute Path Enforcement: Guarantees commands run from the correct subproject directory by always using absolute paths, regardless of the current shell state, eliminating guesswork.
- Config-Driven Execution: Utilizes a
.monorepo.jsonfile to define monorepo structure and command-specific execution rules, simplifying complex workflows and ensuring consistency. - Automated Config Generation: Offers to run a helper script (
monorepo-init) to auto-detect subprojects and generate the.monorepo.jsonconfiguration, significantly reducing manual setup time. - Use Case: In a monorepo with
ruby/andcli/subprojects, you need to runbundle exec rspecinruby/andnpm testincli/. This skill ensures each command executes from its correct absolute path, preventing errors that arise from incorrect directory context.
Quick Start
Use the working-in-monorepos skill to run bundle exec rspec in the 'ruby' subproject of the current monorepo.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: working-in-monorepos Download link: https://github.com/technicalpickles/dotfiles/archive/main.zip#working-in-monorepos Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.