extract-nx-lib
CommunityCoordinate Nx leaf-lib extractions end-to-end.
System Documentation
What problem does it solve?
Orchestration playbook for extracting a leaf library from the bitwarden-clients Nx monorepo. Encodes all patterns, team composition, decision frameworks, and gotchas for taking a candidate file from libs/common (or another broad library) into its own @bitwarden/<name> Nx leaf library with a re-export shim and at least one updated consumer. Use when asked to extract a class, utility, or type from bitwarden-clients into a standalone Nx leaf lib using Task Group A.
Core Features & Use Cases
This skill provides orchestration guidance for extracting a leaf library from the bitwarden-clients Nx monorepo. A leaf library is a small, self-contained domain with zero or near-zero dependencies on other @bitwarden/* packages — it sits at the bottom of the dependency graph.
The implementation covers candidate intake, research/design decisions, scaffolding of a new Nx leaf library, barrel export checks, ADR documentation, and a coordinated PR workflow to minimize risk during isolation.
Quick Start
Run the extraction workflow to scaffold a new leaf library and move the target file into libs.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: extract-nx-lib Download link: https://github.com/addisonbeck/nix/archive/main.zip#extract-nx-lib 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 471,000+ vetted skills library on demand.