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.
npx skills add sanky369/vibe-building-skills --skill component-architecturegit clone --depth 1 https://github.com/sanky369/vibe-building-skillsWrote 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/skills/sanky369/vibe-building-skills/component-architecture)<a href="https://agentmods.dev/skills/sanky369/vibe-building-skills/component-architecture"><img src="https://agentmods.dev/badge/skills/sanky369/vibe-building-skills/component-architecture/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/skills/sanky369/vibe-building-skills/component-architecture"><img src="https://agentmods.dev/badge/skills/sanky369/vibe-building-skills/component-architecture.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.00138 | $0.01921 |
| Opus 5.5 | $0.00055 | $0.00768 |
| Sonnet 5.5 | $0.00028 | $0.00384 |
| Haiku 4.5 | $0.00014 | $0.00192 |
Grade A, and why
component-architecture 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 2mo 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 — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Component Architecture
Turn a tangle of one-off components into a composable system: audit what exists, classify it into atomic levels, then refactor the worst offenders into small, typed, documented pieces. The prime directive: a component earns its existence by having one responsibility and a prop interface that makes invalid states unrepresentable. Deliver working refactored code plus an audit the user can act on — never just advice.
When to use / when not to
Use for: component decomposition, prop interface design, variant systems, extracting a shared library, deciding controlled vs uncontrolled, component documentation.
Hand off instead when the real need is:
- Visual tokens (spacing, color, type scales) →
skills/frontend-design/design-foundation - Animation/feedback inside components →
skills/frontend-design/interaction-physics - Keyboard/ARIA behavior of components →
skills/frontend-design/accessibility-excellence - Render performance (memoization, re-renders) →
skills/frontend-design/performance-optimization - Unsure where to start across the whole frontend →
skills/frontend-design/frontend-orchestrator
Step 0 — Inspect the codebase, then ask only what's left
Before proposing anything, build a component inventory from the actual code:
- Locate component directories (
components/,ui/,src/app/**,lib/). Note the framework and styling approach (Tailwind, CSS Modules, CSS-in-JS, vanilla) — match it; never introduce a new styling system uninvited. - Count components and flag: files > ~200 lines, components that both fetch data and render detailed markup, duplicated UI (multiple button/input/card implementations), inline styles repeating the same values, class-based inheritance.
- Check for an existing design system or UI kit (shadcn/ui, MUI, Chakra, internal package). If one exists, extend its conventions — don't build a parallel system.
Ask the user (one batch, only what the code didn't answer): scope (whole app, one feature, or one painful component?) and whether a shared library/package is the goal or just cleaner local structure. If the request already implies scope ("refactor this file"), don't ask — state assumptions and proceed.
What ships with it
1 file 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.
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.
- 2mo ago First seen · 130 lines · 138 tokens per session scan A be778bdbb5de
component-architecture is a skill published in the GitHub repository sanky369/vibe-building-skills (31 stars, last pushed 3mo ago), licensed MIT. It adds 138 tokens to every session and 1,921 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-08-30.
component-architecture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| component-architecturesanky369/vibe-building-skills | Skill | 31 | 3mo ago | MIT | A | 138 | Claude Code, Codex |
| ads-youtubeAgriciDaniel/claude-ads | Skill | 11k | 5d ago | MIT | A | 84 | Claude Code |
| ads-launchAgriciDaniel/claude-ads | Skill | 11k | 5d ago | MIT | A | 45 | Claude Code |
| happiness-skillkangarooking/cangjie-skill | Skill | 12k | 1mo ago | MIT | A | 136 | Claude Code, Codex |
| setup-matt-pocock-skillsdevcxl/mattpocock-skills-zh | Skill | 530 | 3d ago | MIT | A | 43 | Claude Code, Codex |
| aiwg-regenerate-copilotjmagly/aiwg | Skill | 229 | yesterday | MIT | A | 25 | Claude Code, Codex |
| steward-prep-deliveryjmagly/aiwg | Skill | 229 | yesterday | MIT | A | 32 | Claude Code, Codex |