frontend-patterns

Standardize React, Next.js, and Vue frontend architecture with centralized component and data flow guidelines.

4|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/leocosta/octopus --skill frontend-patterns-leocosta
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-patterns
Source: https://github.com/leocosta/octopus/tree/main/skills/frontend-patterns
Command: npx skills add https://github.com/leocosta/octopus --skill frontend-patterns-leocosta

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fragmented frontend practices lead to inconsistent UI, entangled state, and brittle implementations across React, Next.js, and Vue projects. This skill provides a centralized set of patterns to align component design, data flow, styling, and accessibility decisions.

Core Features & Use Cases

  • Centralized component design rules, state management guidance, data fetching patterns, styling conventions, and accessibility best practices to accelerate consistent frontend development.
  • Helps teams organize features by domain, avoid prop-drilling, and choose appropriate client/server boundaries with clear decision trees.
  • Use case: when starting a new frontend feature, apply the patterns to decide where state lives, how data is retrieved, and how components are composed.

Quick Start

Review the frontend-patterns guidelines and start applying the recommended component, state, and styling practices in your project.

Frequently Asked Questions about frontend-patterns

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

FAQPage Schema
How do I standardize frontend architecture and component design across React and Vue projects?

To standardize frontend architecture, apply centralized component design rules, state management guidance, and styling conventions that align UI structure and data flow across React, Next.js, and Vue projects.

What is the best way to avoid prop-drilling when organizing frontend features by domain?

The best way to avoid prop-drilling when organizing frontend features by domain is to use decision trees that guide state placement and component composition, ensuring state lives in the appropriate domain-level location.

How do I decide where state lives and how data is fetched when starting a new frontend feature?

To decide where state lives and how data is fetched for a new frontend feature, follow decision trees that formalize state placement, data retrieval patterns, and client/server boundaries.

Does this approach provide accessibility and styling conventions for Next.js applications?

Yes, this approach provides centralized accessibility best practices and styling conventions specifically designed to guide and accelerate consistent frontend development in Next.js applications.

Can I use these frontend patterns to establish performance guardrails and client/server boundaries?

Yes, you can use these frontend patterns to establish performance guardrails and choose appropriate client/server boundaries through clear decision trees that formalize component structure and data flows.

Why does fragmented frontend architecture lead to inconsistent UI and brittle implementations?

Fragmented frontend architecture leads to inconsistent UI and brittle implementations because disconnected practices cause entangled state and drift in component design, data flow, and accessibility decisions across projects.