# react-component-hook-guidelines-cn

React 组件、页面组件、自定义 Hook 的拆分、重构与评审技能。用户提到“拆组件”“拆 Hook”“这个组件太大了”“这个 Hook 太重了”“帮我理一下这个页面”“这段 React 怎么拆比较合理”“重构 React 组件”“重构页面逻辑”“优化组件设计”“评审组件设计”“评审 Hook 设计”“减少 props”“收敛职责”“拆分 God Component”“拆分 God Hook”“调整页面编排”“整理前端分层”“组件职责不清”“逻辑和 UI 耦合”“页面状态太乱”“大 state 下传”“props 太多”“分支太多”时触发。重点处理职责混杂、props 过宽、大状态下传、分支

- **Type:** Agent Skill
- **Trust:** 10/100 (F), scored on the remote rubric — Limited: the scan came back clean but coverage was partial, so the score sits below what full coverage would allow. Nothing was found.
- **Verification:** community-indexed — nobody has claimed this listing
- **Version:** 0.0.0
- **Author:** YangsonHung
- **License:** MIT
- **Source:** https://github.com/YangsonHung/awesome-agent-skills/tree/main/skills/zh-cn/react-component-hook-guidelines-cn

## Trust

10/100 (F), scored on the remote rubric — Limited: the scan came back clean but coverage was partial, so the score sits below what full coverage would allow. Nothing was found.
- Publisher verified: no
- Install scripts: not scanned
- Prompt-injection scan: not run
- Obfuscation scan: not run

## Security scan

Not scanned. This is a coverage gap, not a clean result — Forge asserts nothing about this entry's security posture.

## Install

This is an Agent Skill — a prompt, not an MCP server, so there is no client config to generate. Fetch it with forge_get_skill and install it with forge_add_skill.

## Blast radius

Contained blast radius — runs as a prompt.
- Floor 4, ceiling 4 (tier: contained)
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/react-component-hook-guidelines-cn
- Install plan: https://forgeregistry.com/api/v1/packages/react-component-hook-guidelines-cn/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/react-component-hook-guidelines-cn
- HTML page: https://forgeregistry.com/registry/react-component-hook-guidelines-cn
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
