AgentSkillsCN

react-feature

适用于React/TypeScript的变更。切勿仅针对后端工作进行触发。尽量将变更局限于特定功能模块,遵循现有的组件与状态模式。

SKILL.md
--- frontmatter
name: react-feature
description: Use for React/TypeScript changes. Do NOT trigger for backend-only work. Keep changes localized to the feature slice; follow existing component/state patterns.

Workflow:

  1. Identify existing patterns (routing, state, data fetching, styling).
  2. Implement the feature with minimal new abstractions.
  3. Add/update tests if repo has them (RTL/Vitest/Jest).
  4. Run repo standard commands (lint/test/build).
  5. Summarize: what changed, why, and how to verify manually.