how-to-use-effect
Write, review, and debug `useEffect` correctly.
Skill by discountry
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/discountry-how-to-use-effect
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/how-to-use-effect
What's inside
- Skill name
how-to-use-effect- Description
- Write, review, and debug `useEffect` correctly. Use whenever touching React code that contains an Effect — authoring a new one, reviewing a diff that includes one, or debugging symptoms like a spinner that never resolves, UI stuck in a loading/pending/verifying phase, a button permanently disabled, an Effect that fires twice or loops forever, a fetch race condition, a cleanup that cancels the wrong request, a stale closure reading old props/state, or a `react-hooks/exhaustive-deps` warning. Also use for setInterval / setTimeout / subscriptions / AbortController inside Effects, StrictMode double-invocation questions, multi-step async flows and state machines driven by Effects, and any .tsx/.jsx/.ts/.js file where `useEffect`, `useLayoutEffect`, or a custom hook wrapping them appears.
- License
- unknown
- Instructions
- 229 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
The license isn't open source, so the instructions aren't shown here. Read SKILL.md on GitHub
More from discountry/ritmex-skills
- 0.557score
agent-handoff
discountry
Continue the latest unfinished coding task from the opposite local agent using native Claude Code or Codex session history plus a deterministic snapshot of…
SkillBFreshness: B★ 2Claude Code +9 - 0.507score
anti-ui-slop
discountry
Detect, review, prevent, and remove AI-generated UI convergence patterns ("AI slop") in frontend code.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
create-design-md
discountry
Generate a complete DESIGN.md design-system specification at the root of the current project, synthesized from whatever material is available — a written…
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
teenage-engineering-ui
discountry
Teenage Engineering / Dieter Rams functionalist-hardware aesthetic: neutral molded panels, a single bold accent color, tactile knobs and buttons, LED and…
SkillCFreshness: C★ 2Claude Code +9 - 0.443score
react-principles
discountry
React best practices for component design, state management, and Effect discipline.
SkillDFreshness: D★ 2Claude Code +9 - 0.443score
debug
discountry
Apply this skill whenever the user asks to debug, review, audit, or find problems in code — regardless of language or framework.
SkillDFreshness: D★ 2Claude Code +9 - 0.443score
slack
discountry
Control Slack via the `slack` CLI to read, search, and manage messages, threads, files, reactions, channels, DMs, and canvases.
SkillDFreshness: D★ 2Claude Code +9 - 0.443score
codex-prompt-optimize
discountry
Auto-trigger this skill when the user's input is vague, ambiguous, incomplete, or too brief to act on reliably in Codex.
SkillDFreshness: D★ 2Claude Code +9 - 0.438score
refine
discountry
Improve UI/UX aesthetics and hierarchy (color, spacing, typography, layout, components) from UI code or specs.
SkillDFreshness: D★ 2Claude Code +9 - 0.438score
clickup
discountry
Use for ClickUp tasks and docs.
SkillDFreshness: D★ 2Claude Code +9 - 0.438score
refactor
discountry
Apply this skill whenever the user asks to refactor, clean up, restructure, or improve existing code — regardless of language or framework.
SkillDFreshness: D★ 2Claude Code +9 - 0.438score
ignore
discountry
Generate or update a .gitignore file based on the current project stack and tools.
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 8, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- License unknown
- Repository
- github.com/discountry/ritmex-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from discountry
- 0.557score
agent-handoff
discountry
Continue the latest unfinished coding task from the opposite local agent using native Claude Code or Codex session history plus a deterministic snapshot of…
SkillBFreshness: B★ 2Claude Code +9 - 0.507score
anti-ui-slop
discountry
Detect, review, prevent, and remove AI-generated UI convergence patterns ("AI slop") in frontend code.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
teenage-engineering-ui
discountry
Teenage Engineering / Dieter Rams functionalist-hardware aesthetic: neutral molded panels, a single bold accent color, tactile knobs and buttons, LED and…
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
create-design-md
discountry
Generate a complete DESIGN.md design-system specification at the root of the current project, synthesized from whatever material is available — a written…
SkillCFreshness: C★ 2Claude Code +9 - 0.443score
debug
discountry
Apply this skill whenever the user asks to debug, review, audit, or find problems in code — regardless of language or framework.
SkillDFreshness: D★ 2Claude Code +9 - 0.443score
react-principles
discountry
React best practices for component design, state management, and Effect discipline.
SkillDFreshness: D★ 2Claude Code +9
Cite this page
how-to-use-effect skill. Agent Mart. https://agentmart.dev/skills/discountry-how-to-use-effect (last updated 2026-10-24)