react-render-types-composition

react-render-types-composition is a skill for Claude Code, Codex from HorusGoul/eslint-plugin-react-render-types. It costs 138 tokens per session (952 once invoked), scanned A, original, MIT.

A guide to composition patterns for React components using annotations from eslint-plugin-react-render-types. React is a JavaScript library for building user interfaces; these annotations describe which components may be returned or nested together.

In plain words
What is it for?
Use it when building React components, constrained design-system APIs, wrappers, or application layouts with checked component nesting.
Why use it?
It helps enforce valid component composition in a design system and lets lint checks catch invalid child components.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when building React components, constrained design-system APIs, wrappers, or application layouts with checked component nesting.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/horusgoul/eslint-plugin-react-render-types/react-render-types-composition
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add HorusGoul/eslint-plugin-react-render-types --skill react-render-types-composition
Clone the repo
git clone --depth 1 https://github.com/HorusGoul/eslint-plugin-react-render-types

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for react-render-types-composition

README.md
[![agentmods](https://agentmods.dev/badge/skills/horusgoul/eslint-plugin-react-render-types/react-render-types-composition/github.svg)](https://agentmods.dev/skills/horusgoul/eslint-plugin-react-render-types/react-render-types-composition)
Your own site
<a href="https://agentmods.dev/skills/horusgoul/eslint-plugin-react-render-types/react-render-types-composition"><img src="https://agentmods.dev/badge/skills/horusgoul/eslint-plugin-react-render-types/react-render-types-composition/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for react-render-types-composition

Your own site · 80×15
<a href="https://agentmods.dev/skills/horusgoul/eslint-plugin-react-render-types/react-render-types-composition"><img src="https://agentmods.dev/badge/skills/horusgoul/eslint-plugin-react-render-types/react-render-types-composition.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 952 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00138 $0.00952
Opus 5.5 $0.00055 $0.00381
Sonnet 5.5 $0.00028 $0.00190
Haiku 4.5 $0.00014 $0.00095

Measured 3mo ago against content hash a025be453c9a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

react-render-types-composition scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/react-render-types-composition/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

React Render Types — Composition Patterns

Patterns for building React components with @renders type annotations. Covers design system primitives, app-level composition, and advanced techniques.

Annotation Syntax Quick Reference

@renders {X}           Required — must return X
@renders? {X}          Optional — may return X or null
@renders* {X}          Many — zero or more X
@renders! {X}          Unchecked — declares X, skips return validation
@renders {A | B}       Union — must return A or B
@renders {MyAlias}     Type alias — resolves type MyAlias = A | B at lint time
@transparent           Wrapper — plugin looks through to validate children
                       (or use additionalTransparentComponents setting for built-ins)

Pattern Categories

Priority Category When to read
1 Design System Patterns Building constrained component APIs
2 Wrapper Patterns Creating transparent or conditional wrappers
3 App Composition Patterns Consuming a design system in app layouts
4 Advanced Patterns Unions, chains, dynamic rendering, expressions

Design System Patterns

Core patterns for building component libraries with enforced composition.

  • constrained-children — Restrict children to specific component types (Menu → MenuItem)
  • typed-slot-props — Enforce types on named slot props (header, footer, sidebar)
  • component-variants — Create specialized variants that satisfy a base render type

Read detailed examples: references/patterns/design-system.md

Wrapper Patterns

Patterns for components that wrap other content without breaking composition.

  • transparent-wrappers — Mark layout/styling wrappers with @transparent
  • conditional-rendering — Use @renders? and @renders* for optional/repeated content

Read detailed examples: references/patterns/wrappers.md

Read the full file on GitHub · 88 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 88 lines · 138 tokens per session scan A a025be453c9a

Subscribe to this mod's changes

react-render-types-composition is a skill published in the GitHub repository HorusGoul/eslint-plugin-react-render-types (111 stars, last pushed 4mo ago), licensed MIT. It adds 138 tokens to every session and 952 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

react-render-types-composition compared with skills from other repositories

react-render-types-composition next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
react-render-types-compositionHorusGoul/eslint-plugin-react-render-typesSkill1114mo agoMITA138Claude Code, Codex
material-ui-nextjsmui/material-uiSkill99kyesterdayMITA76Claude Code
material-ui-themingmui/material-uiSkill99kyesterdayMITA63Claude Code
material-ui-stylingmui/material-uiSkill99kyesterdayMITA52Claude Code
material-ui-tailwindmui/material-uiSkill99kyesterdayMITA67Claude Code
seed-designdaangn/seed-designSkill1.2kyesterdayApache-2.0A32Claude Code
ss-learnbitjaru/styleseedSkill1.1kyesterdayMITA73Claude Code, Codex