frontend-web

Design reusable frontend UI patterns for component layout and state handling.

Updated May 17, 2026
One-click install
npx skills add https://github.com/cheetah-alo/NegritaOS --skill frontend-web-cheetah-alo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-web
Source: https://github.com/cheetah-alo/NegritaOS/tree/main/.codex/skills/frontend-web
Command: npx skills add https://github.com/cheetah-alo/NegritaOS --skill frontend-web-cheetah-alo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you structure frontend UI code so components stay small, composable, and maintainable while avoiding tightly-coupled data fetching and presentation.

Core Features & Use Cases

  • Component-first organization: Keeps UI components small and composable, improving readability and reuse across pages.
  • Proper code placement: Co-locates feature-only logic to reduce unnecessary shared abstractions.
  • Separation of concerns: Avoids mixing data fetching with presentation to prevent bloated components.
  • Use case: Building a new UI page with shared widgets while ensuring state management remains predictable and scalable.

Quick Start

Ask the AI to generate a frontend folder layout and component/state structure for a new page, following the Skill’s rules on composability, code co-location, and separating data fetching from presentation.

Frequently Asked Questions about frontend-web

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

FAQPage Schema
How do I structure frontend components to keep them maintainable and composable?

To structure maintainable frontend components, keep them small and composable while enforcing separation of concerns. This prevents bloated components by separating data fetching from presentation logic and co-locating feature-only logic.

What is the best way to separate data fetching from presentation in web applications?

The best way to separate data fetching from presentation is by enforcing separation of concerns at the component level. This keeps presentation components clean and ensures state management remains predictable and scalable.

How do I organize a frontend folder structure for scalable state management?

Organize your frontend folder structure by co-locating feature-only logic to reduce unnecessary shared abstractions. This component-first organization improves readability and reuse across pages while keeping state lifting predictable.

When should I lift state up versus keeping it local to a UI component?

You should lift state up when building shared UI utilities and feature components that require predictable state management across typical web application scenarios. This ensures components remain composable without tightly coupling logic.

Does this approach work for building new UI pages with shared widgets?

Yes, this approach works specifically for building new UI pages with shared widgets. It generates a frontend folder layout and component structure that ensures state management remains predictable and scalable across typical web scenarios.

Why does mixing data fetching and presentation cause bloated components?

Mixing data fetching and presentation causes bloated components because it violates separation of concerns, making UI code tightly coupled. Separating them prevents this and keeps your UI components small, composable, and maintainable.