react-state-and-effects-discipline
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "react-state-and-effects-discipline" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-74200da3b5b1d3c2c72582ac9fc196afe610ca490c90da9ad8886ecb98f2ade0. Verify the upstream source and version against https://github.com/TheGoat395/Codex-Skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Define discipline for React state, derived state, effects, refs, reducers, context, and event handlers. Intended for components with duplicated state, unnecessary useEffect, prop-state synchronization, stale closures, event logic inside effects, external subscriptions, DOM integration, network sync, or complex UI state.
Introduction source: third_party · TheGoat395 · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Repair state ownership, effects and async races.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: react-state-and-effects-discipline
description: "Repair state ownership, effects and async races."React State And Effects Discipline
For substantial web work, reuse the scoped web contract when available; it replaces duplicated policy here. Match the requested scope and existing decisions; a missing optional sibling does not block this local procedure.
Use This Skill
Use this skill to use react state and effects only where they belong.
Required Reference
Read references/react-state-and-effects-discipline-guide.md before making architectural or visible UI changes with this skill.
Version history
-
v0.2.0
GitHub ↗
Original release notes
Added the public agent-quality collection and expanded the default public core from 70 to 80 skills. Highlights: - Critical and logical thinking, creativity, deep research, and evidence reconciliation - Systematic debugging and fresh verification before completion claims - Bounded agent architecture, memory provenance, and evaluation workflows - Public-neutral packaging with private and machine-specific references removed - Updated catalogs, adapters, release checks, and generated inventories
-
v0.1.2
GitHub ↗
Original release notes
## Codex Premium Website Skills v0.1.2 - Added `COMPATIBILITY.md` with Codex, Claude Code, Cursor, Gemini CLI, and generic `SKILL.md` support levels. - Added `CATALOG.md` as a cleaner audience-facing map of collections and high-value skills. - Added `adapters/` documentation for Claude Code, Cursor project rules, and Gemini CLI context files. - Added Cursor and Gemini CLI adapter files for project-level use. - Updated README, evidence, docs, and usage-signal guidance for broader agent ecosystem adoption.
-
v0.1.1
GitHub ↗
Original release notes
## Codex Premium Website Skills v0.1.1 - Added `EVIDENCE.md` to summarize proof-of-output, workflow estimates, benchmark readiness, and evidence status. - Added maintainer workflow, usage-signal, and measured benchmark template documentation. - Improved install documentation for clone-based and release-archive usage. - Corrected stale benchmark skill references. - Refined public attribution language in `design-motion-principles`. - Added repository hygiene for release artifacts and GitHub language classification.
-
v0.1.0
GitHub ↗
Original release notes
# Changelog All notable changes to Codex Premium Website Skills are documented here. ## [0.1.0] - 2026-07-02 - Initial public release of the curated 70-skill public core. - Added eight installable collections for design direction, frontend implementation, QA, motion, content, and maintainer safety workflows. - Added the local installer with dry-run, selected-collection, and replace-with-backup behavior. - Added the premium website showcase gallery with nine local demo previews. - Added public quality, security, benchmark, contribution, and community-health documentation. - Added automated skill validation through GitHub Actions.
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对 React 状态管理和副作用处理的常见痛点,实用性强
- 适用于中大型 Web 项目,受众广泛
Highlights
- 触发场景描述清晰,覆盖多种典型问题场景
- 边界定义明确,不易误触
Areas to improve
-
缺少具体执行步骤和示例 Reported severity: Minor
Skill 缺少 Phase/步骤划分、端到端示例和出口条件
Recommendation: 建议补充具体的执行步骤、代码示例和完成条件,提升可操作性
Areas to improve
-
引用文件缺失 Reported severity: Major
SKILL.md 引用了 references/react-state-and-effects-discipline-guide.md 但未传入该文件
Recommendation: 请确保所有被引用的参考文件都包含在 Skill 包中,或提供替代的内置说明
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.