react-coding-standards
Enforces internal React and TypeScript coding standards using avoid/prefer rules.
Skill by Lichens-Innovation
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/lichens-innovation-react-coding-standards
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: frontend
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/react-coding-standards
What's inside
- Skill name
react-coding-standards- Description
- Enforces internal React and TypeScript coding standards using avoid/prefer rules. Use when reviewing or refactoring React/TS code, applying company standards, or when the user asks to align code with coding standards.
- License
- MIT
- Metadata
- keywords: avoid, prefer, React, TypeScript, naming, patterns, tests, lint, Vitest, ESLint, interface, type guards, isNullish, isBlank, useToggle, named exports
- Instructions
- 74 lines in SKILL.md · view on GitHub
Files (10)
- SKILL.md
- react-components.md · coding-examples/
- react-security.md · coding-examples/
- react-tests.md · coding-examples/
- react-typescript.md · coding-examples/
- react-components.md · references/
- react-naming.md · references/
- react-security.md · references/
- react-tests.md · references/
- react-typescript.md · references/
SKILL.md (first lines)
# React & TypeScript coding standards This skill applies company coding standards expressed as **Avoid** (anti-patterns) and **Prefer** (recommended patterns) to **in-code** patterns only. For file and folder naming and structure, use [react-files-structure-standards](../react-files-structure-standards/SKILL.md). ## Source of truth (priority order) When resolving standards, use this order: 1. **Project tooling**: ESLint config (`eslint.config.js` / `.eslintrc*`), TypeScript config (`tsconfig.json`, `tsconfig.app.json`). Run `yarn lint` or `npm run lint`; fix auto-fixable issues first. 2. **Rule references** in `references/` (see Reference categories below) for the canonical Avoid/Prefer matrix. 3. **Worked examples** in `coding-examples/` for concrete before/after snippets and explanations. 4. **Reference codebase** (if provided): e.g. a frontend app under the same org — use it to infer naming, structure, and patterns (hooks returning data only, `FunctionComponent` + destructured props, `*.utils.ts` / `*.store.ts`, test style with Vitest or Jest). ## Reference categories Standards are split between: - `references/` for the canonical Avoid/Prefer rules. - `coding-examples/` for detailed examples and rationale. Load both when needed: - **TypeScript coding patterns** - Rules: [`references/react-typescript.md`](references/react-typescript.md) - Examples: [`coding-examples/react-typescript.md`](coding-examples/react-typescript.md) - **React component patterns** - Rules: [`references/react-components.md`](references/react-components.md) - Examples: [`coding-examples/react-components.md`](coding-examples/react-components.md) - **Naming conventions** - Rules: [`references/react-naming.md`](references/react-naming.md) - Examples: no dedicated file yet (use rule file and codebase patterns) - **Testing patterns** - Rules: [`references/react-tests.md`](references/react-tests.md) - Examples: [`coding-examples/react-tests.md`](coding-examples/react-tests.md) - **Security patterns** - Rules: [`references/react-security.md`](references/react-security.md) - Examples: [`coding-examples/react-security.md`](coding-examples/react-security.md) ## Three-phase workflow When the skill is invoked on code (selected files, git staged files, branch): ### Phase 1 — Collect violations 1. **Analyze** the provided code against the reference files above. 2. **Identify** every place where the code matches an **Avoid** pattern. 3. **List** each violation in a single report with: - **Category** (TypeScript / React components / naming / testing / security) - **Rule name** (e.g. "Avoid Using `any` for Type Definitions") - **Location** (file and line or snippet) 4. If no Avoid pattern is found, state that the code complies and stop. Otherwise proceed to Phase 2. ### Phase 2 — Apply corrections 1. For **each** violation in the report: - Open the corresponding rule file in `references/` and find the **Prefer** section paired with that Avoid rule. - If needed, open the matching file in `coding-examples/` to align on exact implementation style. - Apply the recommended correction so the code follows the Prefer pattern. 2. **Preserve** business logic and behavior; only change structure, naming, or patterns. 3. **Prefer minimal edits**: one logical change per violation, no unnecessary rewrites. 4. When several standards apply to the same area, prioritize: TypeScript safety → security boundaries → naming clarity → React architecture → testing structure. ## Rules of thumb - **Strict avoid/prefer**: Only treat as violations what is explicitly described as Avoid in the reference files; only apply fixes that are explicitly described as Prefer there. - **One violation, one fix**: One Avoid → one corresponding Prefer; do not mix multiple rules in a single edit unless they target the same line. - **Readability and maintainability**: After corrections, the code should be easier to read and maintain, without changing behavior. ## Quick reference - **Collect first**: Complete the full list of Avoid violations (manual analysis) before making edits. - **Then redress**: Apply each Prefer in turn, using the reference file as the source of truth.
From Lichens-Innovation/ai-dev-tools, MIT.
More from Lichens-Innovation/ai-dev-tools
- 0.570score
claude-light
Lichens-Innovation
Applies a lightweight Claude Code configuration to this project's .claude/settings.local.json: optional auto-compact window, connectors, workflows, bundled…
SkillAFreshness: AClaude Code +9 - 0.570score
setup-claude-auto-lint-format
Lichens-Innovation
Installs a PostToolUse hook that runs the project's linter and formatter on every file Claude Code or one of its subagents writes or edits, and speaks up only…
SkillAFreshness: AClaude Code +9 - 0.570score
setup-claude-just-usage
Lichens-Innovation
Reads the justfiles of a repository and, for each level that has one (root, apps/frontend, packages/ui, ...), writes a .claude/rules/use-just-commands.md…
SkillAFreshness: AClaude Code +9 - 0.570score
chromatic-init
Lichens-Innovation
Adds Chromatic visual testing to a Storybook project.
SkillAFreshness: AClaude Code +9 - 0.570score
design-loop
Lichens-Innovation
Runs the Claude Design -> React implementation loop: takes an approved component or screen proposal (or the palette card) from a Claude Design project…
SkillAFreshness: AClaude Code +9 - 0.570score
design-palette
Lichens-Innovation
Creates or migrates the canonical CSS theme palette: light/dark inputs, generated scales, semantic tokens shared by web and React Native, hand-authored…
SkillAFreshness: AClaude Code +9 - 0.570score
design-refresh
Lichens-Innovation
The one skill for updating Claude Design from the code: checks whether the synced components are behind their code, rebuilds stale screen mockups, offers…
SkillAFreshness: AClaude Code +9 - 0.570score
react-flow-canvas-geometry
Lichens-Innovation
Compute React Flow (@xyflow) canvas geometry correctly — edge label anchors, bezier control points, handle coordinates, node bounds — so labels and edges land…
SkillAFreshness: AClaude Code +9 - 0.566score
storybook-init
Lichens-Innovation
Installs and configures Storybook in a React or React Native project.
SkillAFreshness: AClaude Code +9 - 0.566score
setup-claude-guardrails
Lichens-Innovation
Installs guardrails in this project's .claude/ (and its git worktrees) that keep Claude Code from reading, writing or running commands on paths outside a…
SkillAFreshness: AClaude Code +9 - 0.565score
react-hook-form
Lichens-Innovation
Guide for setting up react-hook-form with Zod validation in React.
SkillAFreshness: AClaude Code +9 - 0.565score
generate-pr-description
Lichens-Innovation
Generates pull request descriptions by comparing current branch with parent branch.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 6
- Last commit (this folder)
- Oct 6, 2026 (22 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Lichens-Innovation
- 0.570score
setup-claude-auto-lint-format
Lichens-Innovation
Installs a PostToolUse hook that runs the project's linter and formatter on every file Claude Code or one of its subagents writes or edits, and speaks up only…
SkillAFreshness: AClaude Code +9 - 0.570score
design-loop
Lichens-Innovation
Runs the Claude Design -> React implementation loop: takes an approved component or screen proposal (or the palette card) from a Claude Design project…
SkillAFreshness: AClaude Code +9 - 0.570score
setup-claude-just-usage
Lichens-Innovation
Reads the justfiles of a repository and, for each level that has one (root, apps/frontend, packages/ui, ...), writes a .claude/rules/use-just-commands.md…
SkillAFreshness: AClaude Code +9 - 0.570score
chromatic-init
Lichens-Innovation
Adds Chromatic visual testing to a Storybook project.
SkillAFreshness: AClaude Code +9 - 0.570score
claude-light
Lichens-Innovation
Applies a lightweight Claude Code configuration to this project's .claude/settings.local.json: optional auto-compact window, connectors, workflows, bundled…
SkillAFreshness: AClaude Code +9 - 0.570score
design-palette
Lichens-Innovation
Creates or migrates the canonical CSS theme palette: light/dark inputs, generated scales, semantic tokens shared by web and React Native, hand-authored…
SkillAFreshness: AClaude Code +9
Cite this page
react-coding-standards skill. Agent Mart. https://agentmart.dev/skills/lichens-innovation-react-coding-standards (last updated 2026-10-24)