06-BUILD-feature

Generate production code for new features in a 7-layer bottom-up build order.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/medtrics/medtrics-acumen --skill 06-build-feature
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 06-BUILD-feature
Source: https://github.com/medtrics/medtrics-acumen/tree/main/templates/domain-based/skills/06-BUILD-feature
Command: npx skills add https://github.com/medtrics/medtrics-acumen --skill 06-build-feature

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of writing production-ready code for new features, ensuring adherence to architectural best practices and a structured development workflow.

Core Features & Use Cases

  • Structured Code Generation: Implements features following a strict 7-layer build order (Database, Types, Services, Hooks, Components, Page, Wiring).
  • Domain-Based Architecture: Organizes code within specific domains, respecting dependencies and conventions.
  • Use Case: When a new user profile editing feature is specified, this Skill will generate the necessary database migrations, API services, React hooks, UI components, page structure, and routing configurations.

Quick Start

Use the 06-BUILD-feature skill to implement the user profile editing feature based on the provided spec and mockup.

Frequently Asked Questions about 06-BUILD-feature

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

FAQPage Schema
How do I generate full-stack feature code for a React and Supabase project?

Generate full-stack feature code by following a 7-layer bottom-up build order covering database migrations, types, services, hooks, components, pages, and wiring. This ensures adherence to domain-driven design and architecture rules for React and Supabase stacks.

What is the correct build order for implementing domain-driven features in a modular project?

The correct build order for domain-driven features follows a 7-layer sequence: database, types, services, hooks, components, page orchestration, and application wiring. This bottom-up approach enforces dependency rules and maintains modular architecture consistency.

How do I automate database migrations and React hook creation for new features?

Automate database migrations and React hook creation by specifying the feature requirements. The system generates the database layer, type definitions, service layer, and React hooks sequentially as part of its structured 7-layer implementation workflow.

Does this feature implementation approach work with existing domain-based modular architectures?

Yes, the feature implementation approach organizes new code within specific existing domains, respecting current dependencies and conventions. It strictly adheres to established architecture rules and domain dependencies within the modular project.

What's the best way to structure Supabase backend services and React components for a new feature?

The best way to structure Supabase backend services and React components is using a strict 7-layer bottom-up order. This separates service layer implementation from component composition and page orchestration, ensuring maintainable domain-based modular code.

Why does my feature implementation break when I skip defining type definitions before services?

Feature implementation breaks when skipping type definitions because the 7-layer bottom-up build order enforces strict dependency rules. Services depend on types, hooks depend on services, and components depend on hooks, making sequential layer generation essential for valid code.