kramme:connect-extract-to-nx-libraries

Extract Connect app code into Nx libraries within a monorepo.

2|2|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/Abildtoft/kramme-cc-workflow --skill kramme-connect-extract-to-nx-libraries
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kramme:connect-extract-to-nx-libraries
Source: https://github.com/Abildtoft/kramme-cc-workflow/tree/main/skills/kramme%3Aconnect-extract-to-nx-libraries
Command: npx skills add https://github.com/Abildtoft/kramme-cc-workflow --skill kramme-connect-extract-to-nx-libraries

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides teams in transforming monorepo code from apps/connect into structured Nx libraries, enabling scalable, reusable code.

Core Features & Use Cases

  • Library architecture guidance: defines how to organize shared, CMS, and UFA domain libraries.
  • Migration plan templates: provides a step-by-step approach to create libraries, move code, and update imports.
  • Use Case: when consolidating feature code from apps/connect/src/app into libs/connect/..., ensuring clean module boundaries.

Quick Start

Start with identifying feature areas in apps/connect that should be moved, then create libs/connect/shared, libs/connect/cms, libs/connect/ufa libraries, move relevant types, data-access, and feature components, and update imports accordingly.

Frequently Asked Questions about kramme:connect-extract-to-nx-libraries

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate app code into Nx libraries within a monorepo?

To migrate app code into Nx libraries, identify feature areas in your application, create shared, data-access, and feature libraries using Nx tooling, move the relevant code, and update imports accordingly.

What is the best way to structure Nx libraries when refactoring a monorepo?

The best way to structure Nx libraries during refactoring is to organize them by domain and function, creating specific shared, CMS, and feature libraries to enforce clean module boundaries and enable reusable code.

When do I need to extract application code into Nx libraries?

You need to extract application code into Nx libraries when consolidating feature code from your app source into structured library directories to enable scalable, reusable code across the monorepo.

Does this Nx library migration approach work for moving types and data-access layers?

Yes, this migration approach specifically works for moving types, data-access layers, and feature components from your application into newly generated Nx libraries while prescribing updates to all affected imports.

What are the limitations of manually refactoring a monorepo without an Nx library migration plan?

Without a structured Nx library migration plan, manual refactoring risks broken imports and unclear module boundaries, making it difficult to establish scalable, reusable code across the monorepo.