ownyourcode: Skill for Claude Code

.claude/skills/fundamentals/frontend/SKILL.md

frontend-fundamentals is a skill for Claude Code from DanielPodolsky/ownyourcode. It costs 47 tokens per session (871 once invoked), scanned A, original, MIT.

A checklist for reviewing React, Vue, or Svelte interface code, including components, state, hooks, styling, routing, and accessibility.

In plain words
What is it for?
Use it when building or reviewing components, forms, modals, client-side routes, CSS, state changes, and hooks such as useState or useEffect.
Why use it?
It helps identify overly large components, tangled state, unnecessary re-renders, weak loading behavior, and interface elements that are difficult to use with assistive technology.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is DanielPodolsky/ownyourcode's own configuration. It tells Claude Code how to work on ownyourcode 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 ownyourcode configures →

Reuse

Borrowing it

Nothing to install: this file belongs to DanielPodolsky/ownyourcode. 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/DanielPodolsky/ownyourcode/main/.claude/skills/fundamentals/frontend/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/DanielPodolsky/ownyourcode

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 frontend-fundamentals

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/danielpodolsky/ownyourcode/frontend"><img src="https://agentmods.dev/badge/skills/danielpodolsky/ownyourcode/frontend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 871 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.00047 $0.00871
Opus 5.5 $0.00019 $0.00348
Sonnet 5.5 $0.00009 $0.00174
Haiku 4.5 $0.00005 $0.00087

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

Security

Grade A, and why

frontend-fundamentals 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.

.claude/skills/fundamentals/frontend/SKILL.md · 121 lines

How it starts

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

Frontend Fundamentals Review

"A component should do ONE thing well. If you're describing it with 'and', split it."

When to Apply

Activate this skill when reviewing:

  • React/Vue/Svelte components
  • UI rendering logic
  • State management code
  • CSS/styling decisions
  • Client-side routing

Review Checklist

Component Architecture

  • Single Responsibility: Does each component do ONE job?
  • Size Check: Is the component under 200 lines?
  • Props Count: Are there fewer than 7 props?
  • Naming: Can you describe the component without saying "and"?

State Management

  • Colocation: Is state as close as possible to where it's used?
  • Lifting: Is state shared properly between siblings via parent?
  • Context vs Props: Is prop drilling avoided (max 3 levels)?
  • Server State: Is server data managed separately (React Query/SWR)?

Performance

  • Memoization: Are expensive computations wrapped in useMemo?
  • Callbacks: Are event handlers wrapped in useCallback where needed?
  • Re-renders: Will this cause unnecessary re-renders?
  • Lazy Loading: Are heavy components code-split?

Accessibility

  • Semantic HTML: Are proper elements used (button vs div)?
  • ARIA: Are interactive elements accessible?
  • Keyboard: Can users navigate without a mouse?

Common Mistakes (Anti-Patterns)

1. God Components

❌ UserDashboard.tsx (1000 lines)
   - fetches data, manages state, renders UI, handles routing

✅ Split into:
   - UserDashboardPage.tsx (container)
   - UserStats.tsx (presentation)
   - UserActivity.tsx (presentation)
   - useUserData.ts (hook)

2. Logic in Render

❌ return <div>{users.filter(u => u.active).map(u => ...)}</div>

✅ const activeUsers = useMemo(() => users.filter(u => u.active), [users]);
   return <div>{activeUsers.map(u => ...)}</div>

3. Prop Drilling

❌ <App user={user}>
     <Layout user={user}>
       <Main user={user}>
         <Widget user={user} />

✅ const user = useUser(); // in Widget.tsx

Read the full file on GitHub · 121 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. 1mo ago First seen · 121 lines · 47 tokens per session scan A 1628f72c5940

Subscribe to this mod's changes

frontend-fundamentals is a skill published in the GitHub repository DanielPodolsky/ownyourcode (292 stars, last pushed 4mo ago), licensed MIT. It adds 47 tokens to every session and 871 once invoked, about $0.0002 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.

Related

Other skills, from other repositories