02-component-architecture

Define portable component primitives and strict boundaries for cross-framework frontend features.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/kennypallchizaca-coder/agentic-full-stack-skills --skill 02-component-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 02-component-architecture
Source: https://github.com/kennypallchizaca-coder/agentic-full-stack-skills/tree/main/frontend-skills/02-component-architecture
Command: npx skills add https://github.com/kennypallchizaca-coder/agentic-full-stack-skills --skill 02-component-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Frontend architectures drift when framework-specific conventions become universal laws; this skill defines portable component primitives and clear boundaries to keep features reusable across different component models.

Core Features & Use Cases

  • Define page/layout orchestration vs reusable UI units; explicit contracts via props/slots; container/presentational split; framework-local reactivity near boundary.
  • Use case: when a feature spans page routing, data fetching, and multiple component types, apply this skill to enforce boundaries and portability.

Quick Start

Organize your feature into clearly separated pages, layouts, orchestration, and reusable UI units.

Frequently Asked Questions about 02-component-architecture

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

FAQPage Schema
How do I make frontend components reusable across different frameworks?

To make frontend components reusable across frameworks, define portable component primitives and strict boundaries using explicit contracts like props and slots, while localizing framework-specific reactivity to feature boundaries.

What is the container and presentational component pattern in frontend architecture?

The container and presentational component pattern separates page orchestration and data fetching logic from reusable UI units, enforcing strict boundaries that keep frontend features portable across multiple stacks and projects.

How do I structure page layouts and orchestration code for multi-stack frontend features?

Structure multi-stack frontend features by organizing your code into clearly separated pages, layouts, orchestration code, and reusable UI units, applying explicit contracts to maintain strict architectural boundaries.

When do I need to enforce explicit component boundaries in frontend architecture?

You need to enforce explicit component boundaries when a feature spans page routing, data fetching, and multiple component types, ensuring that framework-specific conventions do not become universal laws that break reuse.

Can I localize framework-specific reactivity to feature boundaries without breaking portability?

Yes, you can localize framework-specific reactivity to feature boundaries by defining portable component primitives and using a container/presentational split, which isolates framework conventions and keeps the remaining UI units reusable.

Why does frontend architecture drift when using framework-specific conventions?

Frontend architecture drifts when framework-specific conventions become universal laws, which compromises feature portability; applying strict component boundaries and explicit contracts prevents this drift across different component models.