react-feature

Plan React feature work within existing codebases using established patterns.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/askaret/codex-skills --skill react-feature
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-feature
Source: https://github.com/askaret/codex-skills/tree/main/.agents/skills/react-feature
Command: npx skills add https://github.com/askaret/codex-skills --skill react-feature

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides frontend teams to implement React/TypeScript feature changes within the dedicated feature slice, keeping modifications localized and aligned with existing component/state patterns.

Core Features & Use Cases

  • Identify existing routing, state management, data fetching, and styling patterns to follow.
  • Implement the feature with minimal new abstractions, then add or update tests if the repository supports them.
  • Run repository-standard commands (lint, test, build) to validate changes and summarize what changed for review.

Quick Start

Identify the target feature, follow the established patterns, and implement the UI changes within the feature slice to ensure consistency.

Frequently Asked Questions about react-feature

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

FAQPage Schema
How do I implement React feature changes without breaking existing component patterns?

To implement React feature changes safely, confine modifications to the dedicated feature slice and follow existing routing, state management, and component patterns. This keeps updates localized and aligned with your codebase conventions.

What is a feature slice in React and TypeScript frontend development?

A feature slice in React frontend development is a localized boundary containing all routing, state management, and component logic for a specific feature. Keeping changes within this slice prevents code from bleeding into unrelated areas of the application.

How do I add new UI features to an existing React codebase safely?

To add new UI features safely, identify established data fetching and styling patterns, implement the changes within the feature slice, and validate everything using the repository's standard lint, test, and build commands before summarizing the changes for review.

Do I need existing tests to implement React state management changes?

You do not need existing tests to implement React state management changes, but if the repository supports them, you must add or update tests. Validation always runs against repo-standard lint, test, and build commands to ensure safety.

What's the best way to manage routing and state across React feature boundaries?

The best way to manage routing and state across React feature boundaries is to identify and follow the codebase's established patterns. Implement changes with minimal new abstractions inside the feature slice to maintain consistency and prevent cross-boundary side effects.

Why should I keep React feature development localized to a feature slice?

Keeping React feature development localized to a feature slice prevents unintended side effects across boundaries. It forces adherence to existing routing, state management, and component conventions, ensuring changes are safe, fast, and easy to review.