dainamite-layering

Determine the appropriate Dainamite architecture layer for new code.

Updated Apr 24, 2026
One-click install
npx skills add https://github.com/dainamite-technologies/dainamite-core --skill dainamite-layering
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dainamite-layering
Source: https://github.com/dainamite-technologies/dainamite-core/tree/main/.ai/skills/dainamite-layering
Command: npx skills add https://github.com/dainamite-technologies/dainamite-core --skill dainamite-layering

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers decide where to place new code in the Dainamite 3-layer architecture, ensuring maintainability and scalability of the application.

Core Features & Use Cases

  • Layer Identification: Determines the appropriate layer (L1, L2, or L3) for new code based on its reusability and specificity.
  • Decision Framework: Provides a decision tree to guide developers through the process of choosing the correct layer.
  • L2 Packaging Rules: Offers guidelines for packaging L2 modules and promoting them from L3.

Quick Start

Run the dainamite-layering skill to decide the best layer for your new feature 'customer-profile-management'.

Frequently Asked Questions about dainamite-layering

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

FAQPage Schema
How do I decide the optimal code placement for new features in a multi-layer architecture?

Optimal code placement in a multi-layer architecture depends on feature reusability and specificity. This Skill evaluates whether new code should be customer-specific, reusable across customers, or contributed upstream.

What is the Dainamite 3-layer architecture for code placement?

The Dainamite 3-layer architecture is a structure dividing code into L1, L2, and L3 layers. It ensures application maintainability and scalability by separating customer-specific code from reusable and upstream modules.

How do I identify the correct architectural layer for my reusable code?

To identify the correct architectural layer, follow a decision tree evaluating code reusability. L1 handles customer-specific code, L2 contains multi-customer reusable modules, and L3 is for upstream contributions.

What are the packaging rules for promoting L2 modules from L3?

Packaging rules for promoting L2 modules from L3 require evaluating code reusability across multiple customers. The Skill provides specific guidelines to transition upstream code into multi-customer reusable packages.

Do I need basic coding knowledge to use this architectural decision framework?

Yes, you need basic coding knowledge and an understanding of the Dainamite 3-layer architecture. These prerequisites are required to effectively use the decision framework for choosing the correct code layer.

When should I not place reusable code in the customer-specific layer?

You should not place reusable code in the customer-specific layer if it serves multiple customers. Use the decision framework to promote such code to L2 or contribute it upstream to L3 to maintain scalability.