React State Management
involvex/youtube-music-cli
Master modern React state management with Redux Toolkit, Zustand, Jotai, and React Query.
Reduce total mechanism in a selected existing system or behavior path while conserving its agreed observable behavior and non-functional guarantees.
$ npx skills add citypaul/.dotfiles --skill reduce-system-complexity -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install citypaul/.dotfiles reduce-system-complexity --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/citypaul/.dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/claude/.claude/skills/reduce-system-complexity .claude/skills/reduce-system-complexity && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "reduce-system-complexity" agent skill from https://github.com/citypaul/.dotfiles/tree/main/claude/.claude/skills/reduce-system-complexity into .claude/skills/reduce-system-complexity/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reduce-system-complexity", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/citypaul/.dotfiles/tree/main/claude/.claude/skills/reduce-system-complexityType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add citypaul/.dotfiles --skill reduce-system-complexity -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install citypaul/.dotfiles reduce-system-complexity --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/citypaul/.dotfiles.git skills-src && mkdir -p .agents/skills && cp -r skills-src/claude/.claude/skills/reduce-system-complexity .agents/skills/reduce-system-complexity && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "reduce-system-complexity" agent skill from https://github.com/citypaul/.dotfiles/tree/main/claude/.claude/skills/reduce-system-complexity into .agents/skills/reduce-system-complexity/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reduce-system-complexity", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add citypaul/.dotfiles --skill reduce-system-complexity -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install citypaul/.dotfiles reduce-system-complexity --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/citypaul/.dotfiles.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/claude/.claude/skills/reduce-system-complexity .cursor/skills/reduce-system-complexity && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "reduce-system-complexity" agent skill from https://github.com/citypaul/.dotfiles/tree/main/claude/.claude/skills/reduce-system-complexity into .cursor/skills/reduce-system-complexity/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reduce-system-complexity", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/citypaul/.dotfiles.git --path claude/.claude/skills/reduce-system-complexity--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add citypaul/.dotfiles --skill reduce-system-complexity -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install citypaul/.dotfiles reduce-system-complexity --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/citypaul/.dotfiles.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/claude/.claude/skills/reduce-system-complexity .gemini/skills/reduce-system-complexity && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "reduce-system-complexity" agent skill from https://github.com/citypaul/.dotfiles/tree/main/claude/.claude/skills/reduce-system-complexity into .gemini/skills/reduce-system-complexity/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reduce-system-complexity", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install citypaul/.dotfiles reduce-system-complexityInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add citypaul/.dotfiles --skill reduce-system-complexity -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/citypaul/.dotfiles.git skills-src && mkdir -p .github/skills && cp -r skills-src/claude/.claude/skills/reduce-system-complexity .github/skills/reduce-system-complexity && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "reduce-system-complexity" agent skill from https://github.com/citypaul/.dotfiles/tree/main/claude/.claude/skills/reduce-system-complexity into .github/skills/reduce-system-complexity/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reduce-system-complexity", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add citypaul/.dotfiles --skill reduce-system-complexity -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install citypaul/.dotfiles reduce-system-complexity --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/citypaul/.dotfiles.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/claude/.claude/skills/reduce-system-complexity .opencode/skills/reduce-system-complexity && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "reduce-system-complexity" agent skill from https://github.com/citypaul/.dotfiles/tree/main/claude/.claude/skills/reduce-system-complexity into .opencode/skills/reduce-system-complexity/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "reduce-system-complexity", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
reduce-system-complexityReduce total mechanism in a selected existing system or behavior path while conserving its agreed observable behavior and non-functional guarantees.
Reduce System Complexity is an agent skill from citypaul/.dotfiles. Reduce total mechanism in a selected existing system or behavior path while conserving its agreed observable behavior and non-functional guarantees. Use when the user explicitly wants fewer branches, states, dependencies, layers, flags, retries, jobs, adapters, or operational moving parts and needs evidence that complexity was removed rather than relocated. Supports read-only diagnosis and authorized reduction slices. Not for routine cleanup, architecture-investment discovery, module-contract design, physical…
Its SKILL.md is about 4.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `agents/openai.yaml`, `references/ledger-template.md` and `references/source-notes.md`).
It sits in Frontend & Design, covering State management. It works with Redux. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit cd4028d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Reduce System Complexity loads about 4.1k tokens when it runs, and up to ~6.1k if it reads all its reference files. Until then it costs about 162 tokens; SKILL.md has 2,050 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from citypaul/.dotfiles at commit cd4028d, republished under its MIT licence (© citypaul). 2,050 words, ~4,142 tokens.
.claude/skills/reduce-system-complexity/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Conserve behavior. Minimize mechanism.
Use this skill only after a concrete behavior path or subsystem has been selected and the intended result is net removal of mechanism. It owns the conservation ledger, whole-path mechanism accounting, first-principles minimum, and separate behavior and mechanism gates.
Keep it distinct from:
improve-codebase-architecture, which discovers and ranks architecture investments;codebase-design, which designs a selected module's responsibility and complete caller-facing contract;structure-codebase, which owns physical placement, packages, imports, enforcement, and migrations;refactoring, which implements ordinary bounded behavior-preserving cleanup without a whole-path reduction claim;functional reducer functions, Redux reducers, and state-management choices.Read references/ledger-template.md before producing a diagnosis or implementation report. Read references/source-notes.md when explaining provenance or comparing this adaptation with its upstream source.
State:
Classify observed behavior before promising to conserve it:
| Class | Treatment |
|---|---|
| Documented or accepted contract | Preserve unless the user authorizes a behavior change |
| Relied-upon observable behavior | Treat as compatibility-sensitive, even when undocumented |
| Intended and currently supported or observed behavior with credible evidence | Preserve and strengthen its oracle where needed; aspirational intent is a behavior change and returns to contract resolution plus tdd |
| Known bug or disputed behavior | Surface for a product/domain decision; do not silently preserve or fix it |
| Unreachable, obsolete, or speculative internals | Candidate for deletion only after reachability and consumer evidence |
Inventory outputs, effects, errors, ordering, persistence, integrations, authorization, security, privacy, reliability, resource budgets, compatibility, concurrency, retries, migrations, and recovery behavior. Record each in the behavior-and-guarantee ledger with its evidence and gaps.
Characterisation tests reveal what the code does; they do not decide what it ought to do. During diagnosis, record missing oracles without editing. If implementation and test-harness work are separately authorized, load characterisation-tests and finding-seams when current behavior lacks a usable oracle. Load testing for behavior-level oracle design. Record the eventual mutation scope, but defer the automated mutation-testing harness until the reduction slice is otherwise ready for its PR.
At that end-of-phase PR-readiness gate, mutation testing is not meaningful for every proven-unreachable path, configuration-only change, generated boundary, or operational mechanism. Mark it N/A with reachability, configuration, contract, integration, or operational evidence instead. Never invent structural mutants or fake RED to satisfy the workflow.
Implementation remains diagnosis while any material behavior the proposed slice can affect has an unresolved evidence gap.
Trace each conserved behavior from trigger to outcome and recovery. Inventory applicable mechanism dimensions with the same scope and counting method that will be used afterward:
Include tests and operational machinery when they impose ongoing ownership cost. Exclude generated artifacts unless their source, build, or runtime mechanism changes. Mark irrelevant dimensions N/A.
For mixed runtimes, include runtime entries and conversions across consumers and implementations in the before/after inventory, rather than counting only wrappers removed at the entry point. Read the Effect runtime reference when that path uses Effect.
Do not combine unlike counts into a synthetic score. A smaller function, directory, or diff is not a reduction when callers, operators, dependencies, or recovery paths inherit the removed burden.
Answer independently of the current shape:
Sketch the minimum plausible mechanism and name the constraint that earns every remaining part. Seek leverage in this order:
evaluate-existing-solutions for a consequential dependency or tool choice.Reject proposals that merely rename, split, wrap, relocate, or conceal complexity. A deeper module may improve callers while retaining or increasing internal mechanism; that is a valid codebase-design outcome but not, by itself, a successful reduction.
Rank candidates qualitatively:
For the selected candidate, record:
Prefer a small reversible slice. When reversal is impossible or unsafe, define a guarded forward-recovery path before implementation. Expand/contract migrations may temporarily add a bridge, flag, dual write, or compatibility shim; give each one an owner, removal condition, and bounded lifetime. Record N/A when a transition introduces no temporary bridge. Do not claim reduction until the terminal state removes the superseded mechanism.
Diagnosis stops here and produces the report. If multiple delivery slices are needed, use planning after the complete reduction and gates are defined.
Only continue with implementation when authorized.
Classify the authorized slice before editing:
N/A when none), and keeps mechanism gate: pending — no net-reduction claim.N/A — authorized single terminal slice. It may claim net reduction only after both gates pass.A transition can be a safe mergeable increment while the program remains unfinished. Do not describe it as a completed reduction or let it lose the reducer ledger merely because its own mechanism gate is pending.
A behavior-preserving reduction begins from passing behavior oracles plus proportionate reachability, configuration, contract, integration, and operational evidence. It is a REFACTOR path, not a reason to fabricate a failing test that asserts branch, layer, state, or dependency counts. Mutation-check the accumulated result where applicable once the slice is otherwise ready for its PR. If the desired outcome changes observable behavior or fixes a disputed bug, stop this workflow, resolve the intended contract, and use tdd for the behavior change.
For each safe slice:
If evidence fails or a new affected behavior appears, stop. Recover only edits and effects owned by this slice, without destroying unrelated work. Never use modified behavior as the pre-change baseline.
Behavior gate
Mechanism gate
For a reduction transition, the behavior gate and independent slice verification must pass, while the mechanism gate remains explicitly pending and no net-reduction claim is allowed. For a terminal reduction, both gates must pass before claiming realized reduction.
Write a fresh Markdown report using references/ledger-template.md. Default to a timestamped file in the OS temporary directory so diagnosis does not dirty the repository. Use a durable project path only when requested or already established by the project.
For diagnosis, report proposed reductions, target deltas, evidence gaps, risks, and the next decision. Claim neither equivalence nor realized reduction.
For a PR-ready reduction transition, lead with the conserved contract and program/terminal-slice link; show behavior gate: pass, independent verification, the single end-of-phase mutation result or explicit N/A alternate evidence, any bridge ownership/removal metadata (N/A when none), and mechanism gate: pending — no net-reduction claim.
For a terminal reduction, lead with the program/ledger link (or N/A — authorized single terminal slice), conserved contract, and removed mechanism; show like-for-like before/after evidence, list all verification performed, confirm prior transition obligations and expired bridges are discharged, and disclose remaining fidelity gaps or essential complexity.
N/A when none exist?Adapted from Adam Bulmer's MIT-licensed reducer skill. The local version narrows and renames the trigger, replaces false-precision ranking with qualitative evidence, integrates the surrounding testing and architecture skills, and adds implementation, migration, privacy, and dirty-worktree safeguards. See references/source-notes.md and LICENSE for pinned provenance and license terms.
© citypaul, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (references) in claude/.claude/skills/reduce-system-complexity of citypaul/.dotfiles.
Open the folder on GitHubat commit cd4028d
Reduce System Complexity next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Reduce System Complexity this skillcitypaul/.dotfiles | 739 | — | ~4.1k | Automated safety check: Pass | MIT | |
| React State Managementinvolvex/youtube-music-cli | 456 | 13 repos | ~3k | Automated safety check: Pass | MIT | |
| Frontendredis/RedisInsight | 8.9k | — | ~3.2k | Automated safety check: Pass | Custom licence | |
| Nekocap Redux Featurenopol10/nekocap | 105 | — | ~939 | Automated safety check: Pass | GPL-3.0 | |
| React ExpertJeffallan/claude-skills | 12k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Sentry React SDKgetsentry/sentry-for-ai | 268 | — | ~4.8k | Automated safety check: Pass | Apache-2.0 |
involvex/youtube-music-cli
Master modern React state management with Redux Toolkit, Zustand, Jotai, and React Query.
redis/RedisInsight
React/Redux frontend development patterns for RedisInsight UI: component folder structure, styled-components, hooks, named exports, barrel files, layout components, and theme usage.
nopol10/nekocap
A skill your agent uses when adding or modifying a Redux feature folder in the nekocap frontend — creating slices, writing sagas, defining selectors, changing persisted state shape, or touching…
Jeffallan/claude-skills
Builds React 19 components in TypeScript with Server Components, useActionState forms, custom hooks and state libraries, checked with tsc and React Testing Library.
getsentry/sentry-for-ai
Full Sentry SDK setup for React. An agent skill from getsentry/sentry-for-ai.
Opentrons/opentrons
Protocol Designer (PD) application architecture, Redux slices, step/timeline system, domain concepts, and dev workflow.
citypaul/.dotfiles
Discover and, with authorization, install agent skills from the open skills ecosystem.
citypaul/.dotfiles
Render the shape of code — module boundaries, the types that cross them, signatures, and a cited call graph — for code that already exists or a change about to be built.
citypaul/.dotfiles
Design, audit, and evolve physical source and package structures that expose real architectural boundaries while keeping related behavior together.
citypaul/.dotfiles
Review test quality using Dave Farley's eight properties of good tests.
citypaul/.dotfiles
A skill your agent uses when modifying existing code that lacks tests and you need to document its actual current behavior before making changes -- the legacy code dilemma where you need tests to…
citypaul/.dotfiles
Systematic CI/CD failure diagnosis using hypothesis-first investigation, local reproduction, and environment delta analysis.
Works with
Categories
Reduce total mechanism in a selected existing system or behavior path while conserving its agreed observable behavior and non-functional guarantees. dotfiles. Reduce total mechanism in a selected existing system or behavior path while conserving its agreed observable behavior and non-functional guarantees.
Reduce System Complexity fits situations like: the user explicitly wants fewer branches; operational moving parts and needs evidence that complexity was removed rather than relocated.
Run `npx skills add citypaul/.dotfiles --skill reduce-system-complexity -a claude-code`. Or copy the skill folder (claude/.claude/skills/reduce-system-complexity in citypaul/.dotfiles) into .claude/skills/reduce-system-complexity in your project. Claude Code loads it when a task matches its description.
Run `npx skills add citypaul/.dotfiles --skill reduce-system-complexity -a codex`. Or copy the skill folder (claude/.claude/skills/reduce-system-complexity in citypaul/.dotfiles) into .agents/skills/reduce-system-complexity in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add citypaul/.dotfiles --skill reduce-system-complexity -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/reduce-system-complexity, .gemini/skills/reduce-system-complexity, .github/skills/reduce-system-complexity and .opencode/skills/reduce-system-complexity in your project.
SKILL.md names no scripts, command-line tools or credentials: Reduce System Complexity is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Reduce System Complexity is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.1k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Reduce System Complexity: React State Management (involvex/youtube-music-cli, 456 stars), Frontend (redis/RedisInsight, 8.9k stars), Nekocap Redux Feature (nopol10/nekocap, 105 stars) and React Expert (Jeffallan/claude-skills, 12k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
citypaul (a GitHub user) maintains it in citypaul/.dotfiles, which has 739 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on October 2, 2026.
Source: citypaul/.dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.