synerise-design: Skill for Claude Code

.claude/skills/component-claude-md/SKILL.md

component-claude-md is a skill for Claude Code from Synerise/synerise-design. It costs 37 tokens per session (2,074 once invoked), scanned A, original, MIT.

A documentation generator for a component package that creates a CLAUDE.md file. The file records the package structure, public interface, smaller components, and implementation details for AI-assisted coding.

In plain words
What is it for?
Use it to inspect a component package and document its source files, properties, exports, hooks, and nested components for future development work.
Why use it?
It gives future coding sessions a concise reference so they do not need to reread every source file before fixing or changing the component.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; names the TodoWrite tool.

This is Synerise/synerise-design's own configuration. It tells Claude Code how to work on synerise-design itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything synerise-design configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Synerise/synerise-design. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Synerise/synerise-design/master/.claude/skills/component-claude-md/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Synerise/synerise-design

Made for: Claude Code.

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 component-claude-md

README.md
[![agentmods](https://agentmods.dev/badge/skills/synerise/synerise-design/component-claude-md/github.svg)](https://agentmods.dev/skills/synerise/synerise-design/component-claude-md)
Your own site
<a href="https://agentmods.dev/skills/synerise/synerise-design/component-claude-md"><img src="https://agentmods.dev/badge/skills/synerise/synerise-design/component-claude-md/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 component-claude-md

Your own site · 80×15
<a href="https://agentmods.dev/skills/synerise/synerise-design/component-claude-md"><img src="https://agentmods.dev/badge/skills/synerise/synerise-design/component-claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,074 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 3
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
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.00037 $0.02074
Opus 5 $0.00018 $0.01037
Sonnet 5 $0.00007 $0.00415
Haiku 4.5 $0.00004 $0.00207

Measured 5d ago against content hash 24970f45d415, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

component-claude-md 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 5d 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.

.claude/skills/component-claude-md/SKILL.md · 232 lines

How it starts

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

Overview

Analyse a single component package and write a CLAUDE.md file inside it (packages/components/<package-name>/CLAUDE.md). The file gives Claude (and other AI tools) a concise, accurate mental model of the component so future tasks — bug fixes, new features, audits, Code Connect — can be completed without re-reading every source file each time.

Arguments

The user must provide:

  1. Package name — e.g., modal, button, popover (kebab-case directory name under packages/components/)

If the package name was not provided, ask: "Which package would you like to document? (e.g. modal, button, popover)"


Workflow

Step 1 — Read all source files

Locate and read every relevant file in the package. Do NOT skip files — the quality of the CLAUDE.md depends on reading the actual code.

packages/components/<package-name>/
  src/
    <Name>.tsx              ← main component
    <Name>.types.ts(x)      ← prop interfaces
    <Name>.styles.tsx       ← styled-components
    index.ts(x)             ← public exports
    <SubName>/              ← sub-components (recurse into each)
    use*.ts(x)              ← custom hooks
    *utils*, *helpers*, *constants*  ← utilities
    __specs__/ or *.test.tsx         ← tests (scan but don't read in full)
  package.json
  README.md (if present)

Also check for stories (used to understand usage patterns, not documented in full):

packages/storybook/stories/components/<PascalName>/*.stories.tsx

Step 2 — Analyse the component

Extract the following information from the source files:

2.1 Purpose

What does this component do? One or two sentences. Derive from component name, JSDoc, README, and actual render output.

2.2 Public API

For each exported symbol from index.ts:

  • Component name
  • Props interface (all props with types and defaults — read from .types.ts and defaultProps / default parameter values)
  • Whether it has a ref / forwardRef
  • Imperative handles (useImperativeHandle)

Read the full file on GitHub · 232 lines

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. 5d ago First seen · 232 lines · 37 tokens per session scan A 24970f45d415

Subscribe to this mod's changes

component-claude-md is a skill published in the GitHub repository Synerise/synerise-design (96 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 2,074 once invoked, about $0.0002 per session on Opus 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.