/devx-qa:fixing-react-antipatternsfrom devx-qa
Audits React codebases for common anti-patterns like useEffect misuse, stale closures, and memory leaks, producing a scored gap analysis table with severity ratings. Applies prioritized fixes on request.
Ships in devx-qa. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Target: $ARGUMENTS (path to scan, defaults to src/)
Progress checklist:
React Anti-Pattern Audit:
- [ ] Step 1: Scan for anti-patterns
- [ ] Step 2: Classify findings
- [ ] Step 3: Produce gap analysis table
- [ ] Step 4: Apply fixes (if requested)
- [ ] Step 5: Verify with lint
Run scripts/scan-antipatterns.sh against the target directory to get a quick
inventory of suspect patterns. Then read flagged files to confirm true positives.
Use the Explore agent for deeper analysis when the script flags ambiguous cases.
For each confirmed finding, assign exactly one category using the authoritative rules and before/after examples in the reference files:
Severity levels:
Output a markdown table with these columns:
| Practice | Status | Severity | File:Line | Evidence |
|---|
Status values: Respected, Violated, Partially respected, N/A
Group rows by category:
End with a Score summary per category (X/10) and a Top fixes list ordered by impact.
When the user requests fixes, apply them in priority order. For each fix:
Consult the reference files for detailed before/after examples of each fix pattern.
Run lint (bun run lint or project-specific command) after applying fixes.
Confirm no regressions by checking that modified components still render correctly.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/appsec-reviewThis skill should be used when the user asks to "security review this PR", "review this diff for vulnerabilities", "appsec review these changes", "audit this branch for auth, injection, or data exposure bugs", "check this code for exploitable security issues", or requests a focused application security review of pending changes./babysit-prMonitors a GitHub pull request's checks with the gh CLI, reads the logs of failing GitHub Actions jobs, classifies each failure as branch-caused or infrastructure, and drives the PR to green — fixing the branch's own breakage and delegating every commit, merge, and push to the devx-git skills. Use when the user asks to babysit, watch, or monitor a PR, says CI or checks are failing or red, asks to analyse PR job errors and remediate them, or wants a PR driven to a ready-to-merge state after opening it./code-reviewReviews pull requests and code changes for correctness, conventions, maintainability, performance, test coverage, and security. Use when the user asks for a code review, PR review, feedback on a diff, or to check code quality./dead-code-fixerFinds and removes dead code across a repository too large for one context window. Static analyzers and a repository-wide reference count propose candidates, Haiku subagents verify each one through three independent lenses, and confirmed-dead code is deleted in waves gated by the project's type-check and tests, with one commit per wave, round after round until nothing new dies. Use when the user asks to find, remove, prune or clean up dead code, unused code, unused exports, unreachable functions, orphaned files, or unused dependencies./explaining-architectureAnalyzes project architecture and generates ASCII state machine and sequence diagrams. Use for explaining a project, analyzing architecture, tracing an entrypoint, showing a state machine, or generating a sequence diagram./fixing-harnessAudits a project's agentic harness (CLAUDE.md, AGENTS.md, .claude/rules, .claude/settings.json) and refactors it into a layered, path-scoped configuration that loads only what is relevant. Rewrites CLAUDE.md and AGENTS.md as a thin critical-rules layer, segments domain rules with `paths:` frontmatter, and adds deny-first permission guardrails. Use for: fixing the harness, auditing claude.md, refactoring agentic configuration, improving agent rules, segmenting rules by path, reviewing settings.json, harness review, or when claude.md is too long.npx claudepluginhub agentic-dev3o/devx-plugins --plugin devx-qaOther plugins' skills for the same job