Borrowing it
Nothing to install: this file belongs to iress/design-system. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/iress/design-system/main/.github/prompts/createComponentMeta.mdgit clone --depth 1 https://github.com/iress/design-systemWrote 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.
[](https://agentmods.dev/commands/iress/design-system/createcomponentmeta)<a href="https://agentmods.dev/commands/iress/design-system/createcomponentmeta"><img src="https://agentmods.dev/badge/commands/iress/design-system/createcomponentmeta/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.
<a href="https://agentmods.dev/commands/iress/design-system/createcomponentmeta"><img src="https://agentmods.dev/badge/commands/iress/design-system/createcomponentmeta.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01258 |
| Opus 5.5 | $0.00000 | $0.00503 |
| Sonnet 5.5 | $0.00000 | $0.00252 |
| Haiku 4.5 | $0.00000 | $0.00126 |
Grade A, and why
createComponentMeta 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.
mode: agent
Component Meta Prompt
You are an expert in the Iress Design System. You will be provided with a SVG file. Your task is to generate a meta description for the component or pattern based on the name of the SVG file.
- The SVG files are located in either:
.github/prompts/component-thumbnailsdirectory for components.github/prompts/pattern-thumbnailsdirectory for patterns
- You should map the SVG file name to the component/pattern name in the Iress Design System.
- For components: The meta should be located in the
packages/components/src/components/${componentName}/meta/index.tsxfile. - For patterns: The meta should be located in the
packages/components/src/patterns/${patternName}/meta/index.tsxfile. - The meta should be in the format of a JavaScript object with the following properties:
heading: The name of the component or pattern.href: The storybook URL for the component/pattern, formatted as:- For components:
/?path=/docs/components-${componentName.toLowerCase()}--docs - For patterns:
/?path=/docs/patterns-${patternName.toLowerCase()}--docs
- For components:
- The component/pattern name is derived from the SVG file name by removing the
.svgextension and converting the name to PascalCase. - Inside the meta folder, you will copy the SVG contents to a file named
Thumbnail.tsxand convert it to a React component.- The component should be exported as the default export from the
Thumbnail.tsxfile. - The component should be a functional component that returns the SVG content wrapped in a
<svg>tag. - For components: The component should be named
Thumbnailand should be placed in thepackages/components/src/components/${componentName}/meta/Thumbnail.tsxfile. - For patterns: The component should be named
Thumbnailand should be placed in thepackages/components/src/patterns/${patternName}/meta/Thumbnail.tsxfile. - The component should be imported in the
index.tsfile using the lazy import syntax, and defined asThumbnailin the meta object - In the Thumbnail component you should replace the following strings:
- Remove the width and height attributes from the
<svg>tag. - Add
className={image()}to the<svg>tag, imported from@/components/Image fill="white"should be replaced withstyle={{ fill: cssVars.colour.neutral[10] }}in the entire filestroke="white"should be replaced withstyle={{ stroke: cssVars.colour.neutral[10] }}in the entire filefill="#F9F9F9"should be replaced withstyle={{ fill: cssVars.colour.neutral[20] }}in the entire filestroke="#F9F9F9"should be replaced withstyle={{ stroke: cssVars.colour.neutral[20] }}in the entire filefill="#D9D9D9"should be replaced withstyle={{ fill: cssVars.colour.neutral[50] }}in the entire filestroke="#D9D9D9"should be replaced withstyle={{ stroke: cssVars.colour.neutral[50] }}in the entire filefill="#6D7278"should be replaced withstyle={{ fill: cssVars.colour.neutral[70] }}in the entire filestroke="#6D7278"should be replaced withstyle={{ stroke: cssVars.colour.neutral[70] }}in the entire filefill="#393F46"should be replaced withstyle={{ fill: cssVars.colour.neutral[80] }}in the entire filestroke="#393F46"should be replaced withstyle={{ stroke: cssVars.colour.neutral[80] }}in the entire filefill="#E4E5E7"should be replaced withstyle={{ fill: cssVars.colour.neutral[30] }}in the entire filestroke="#E4E5E7"should be replaced withstyle={{ stroke: cssVars.colour.neutral[30] }}in the entire filefill="#D7D8DA"should be replaced withstyle={{ fill: cssVars.colour.neutral[40] }}in the entire filestroke="#D7D8DA"should be replaced withstyle={{ stroke: cssVars.colour.neutral[40] }}in the entire filefill="#ECF2FF"should be replaced withstyle={{ fill: cssVars.colour.primary.surface }}in the entire filestroke="#ECF2FF"should be replaced withstyle={{ stroke: cssVars.colour.primary.surface }}in the entire filefill="#13213F"should be replaced withstyle={{ fill: cssVars.colour.primary.text }}in the entire filestroke="#13213F"should be replaced withstyle={{ stroke: cssVars.colour.primary.text }}in the entire file
- Remove the width and height attributes from the
- The component should be exported as the default export from the
- An example of the
meta/folder can be found in thepackages/components/src/components/Alert/meta. - Fix all linting errors in the
Thumbnail.tsxfile. - For components: Import the
meta/index.tsxfile in thepackages/components/src/components/010-Introduction.tsxfile and add the component to thecomponentsarray. - For patterns: Import the
meta/index.tsxfile in thepackages/components/src/patterns/010-Introduction.tsxfile and add the pattern to thepatternsarray.
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.
- 1mo ago First seen · 50 lines · 0 tokens per session scan A dfc7ab555037
createComponentMeta is a command published in the GitHub repository iress/design-system (1 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,258 tokens. 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-08.
createComponentMeta compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| createComponentMetairess/design-system | Command | 1 | 2d ago | Apache-2.0 | A | 0 | GitHub Copilot |
| ux-recommendLaith0003/ux-skill | Command | 96 | 4d ago | MIT | A | 17 | Claude Code |
| color-specialistimsaif/design-with-claude | Command | 11 | yesterday | MIT | A | 35 | Claude Code |
| responsive-design-specialistimsaif/design-with-claude | Command | 11 | yesterday | MIT | A | 36 | Claude Code |
| revisar-uiluanpdd/kit-mcp | Command | 5 | 4d ago | MIT | A | 19 | Claude Code |
| bolderqorstack/qorstack-report | Command | 42 | 17d ago | none | A | 0 | Claude Code |
| frontend-designqorstack/qorstack-report | Command | 42 | 17d ago | none | A | 0 | Claude Code |