Agent skill

Component Development

by programming-in-th in programming-in-th/programming.in.th

A skill your agent uses when creating or modifying React components.

AGPL-3.0Auto-check passedFrontend & Design

Install Component Development

skills CLI
$ npx skills add programming-in-th/programming.in.th --skill component-development -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install programming-in-th/programming.in.th component-development --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/programming-in-th/programming.in.th.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/component-development .claude/skills/component-development && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
component-development
GitHub stars
102
Token cost
~198 tokens
SKILL.md length
44 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
AGPL-3.0

At a glance

A skill your agent uses when creating or modifying React components.

  • Modifying React components
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve React components
  • Tasks that involve Performance optimization

What it does

Component Development is an agent skill from programming-in-th/programming.in.th. Use when creating or modifying React components. Ensures proper Server/Client component patterns, performance optimization, and accessibility.

Its SKILL.md is about 200 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering React components and Performance optimization. The repository describes itself as: Site component of programming.in.th. The licence is AGPL-3.0.

When your agent uses it

  • Modifying React components
  • Tasks that involve React components
  • Tasks that involve Performance optimization

Example prompts

  • “/component-development”

Requirements

  • Pre-approved tools (allowed-tools): Read, Edit, Write, Glob, Grep

What it can do on your machine

Read from SKILL.md and the folder at commit 79ad808. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Edit
    • Write
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Component Development loads about 198 tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 44 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~198

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from programming-in-th/programming.in.th at commit 79ad808, republished under its AGPL-3.0 licence (© programming-in-th). 44 words, ~198 tokens.

Download SKILL.mdSave it as .claude/skills/component-development/SKILL.md (or your agent's skills folder).
name
component-development
description
Use when creating or modifying React components. Ensures proper Server/Client component patterns, performance optimization, and accessibility.
allowed-tools
Read, Edit, Write, Glob, Grep

See React patterns for full reference.

Quick rules:

  • Default to Server Components (no directive)
  • Use 'use client' only for: onClick, useState, useEffect, browser APIs
  • Push client boundary to smallest component
  • Tailwind only, use dark: variants

Example:

tsx
// Server Component (default)
export function TaskCard({ task }: { task: Task }) {
  return <div className="p-4 dark:bg-gray-800">{task.title}</div>
}

Checklist: Minimal client components, dark: variants, accessible inputs.

© programming-in-th, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/component-development of programming-in-th/programming.in.th.

Open the folder on GitHubat commit 79ad808

Compare with similar skills

Component Development next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Component Development compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Component Development this skillprogramming-in-th/programming.in.th102—~198Automated safety check: PassAGPL-3.0
Vercel React Best Practicessanity-io/sanity6.4k130 repos~1.6kAutomated safety check: PassMIT
React Best Practicesryokun6/ryos1.3k—~2kAutomated safety check: PassMIT
React Best PracticesAvivK5498/beads-web102—~2.7kAutomated safety check: PassNone
React Best Practicespoteto/noodle420—~1.4kAutomated safety check: PassMIT
Reactblencorp/claude-code-kit106—~2.5kAutomated safety check: PassMIT

Similar skills

  • Official

    React and Next.js performance optimization guidelines from Vercel Engineering.

    6.4k GitHub starsUsed in 130 repos~1.6k tokens
    Frontend & DesignAuto-check passed
  • React performance optimization guidelines from Vercel Engineering (vercel-labs/agent-skills).

    1.3k GitHub stars~2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • React Best Practices

    AvivK5498/beads-web

    React and Next.js performance optimization patterns. An agent skill from AvivK5498/beads-web.

    102 GitHub stars~2.7k tokensUpdated 4 mo ago
    Frontend & DesignAuto-check passed
  • React performance optimization guidelines. An agent skill from poteto/noodle.

    420 GitHub stars~1.4k tokensUpdated 6 mo ago
    Frontend & DesignAuto-check passed
  • React

    blencorp/claude-code-kit

    Core React 19 patterns including hooks, Suspense, lazy loading, component structure, TypeScript best practices, and performance optimization.

    106 GitHub stars~2.5k tokensUpdated 10 mo ago
    Frontend & DesignAuto-check passed
  • React

    MatrixAges/polywise

    Guides React component implementation, performance optimization, and state management thresholds.

    662 GitHub stars~1.4k tokensUpdated 3 mo ago
    Frontend & DesignAuto-check passed

More from programming-in-th/programming.in.th

  • API Development

    programming-in-th/programming.in.th

    A skill your agent uses when creating or modifying Elysia API routes.

    102 GitHub stars~213 tokensUpdated today
    Auto-check: notes
  • Database Changes

    programming-in-th/programming.in.th

    A skill your agent uses when modifying Prisma schema or database queries.

    102 GitHub stars~170 tokensUpdated today
    Auto-check: notes

Questions about Component Development

What does Component Development do?

A skill your agent uses when creating or modifying React components. th. Use when creating or modifying React components.

When should I use Component Development?

Component Development fits situations like: modifying React components; tasks that involve React components; tasks that involve Performance optimization.

How do I install Component Development in Claude Code?

Run `npx skills add programming-in-th/programming.in.th --skill component-development -a claude-code`. Or copy the skill folder (.claude/skills/component-development in programming-in-th/programming.in.th) into .claude/skills/component-development in your project. Claude Code loads it when a task matches its description.

How do I install Component Development in Codex?

Run `npx skills add programming-in-th/programming.in.th --skill component-development -a codex`. Or copy the skill folder (.claude/skills/component-development in programming-in-th/programming.in.th) into .agents/skills/component-development in your project. Codex loads it when a task matches its description.

Can I use Component Development in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add programming-in-th/programming.in.th --skill component-development -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/component-development, .gemini/skills/component-development, .github/skills/component-development and .opencode/skills/component-development in your project.

What does Component Development need to run?

SKILL.md names no scripts, command-line tools or credentials: Component Development is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Edit, Write, Glob, Grep.

Does Component Development access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Component Development safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Component Development use?

Component Development is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Component Development use?

About 198 tokens (SKILL.md is roughly 792 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Component Development?

Skills that share tags, products or a category with Component Development: Vercel React Best Practices (sanity-io/sanity, 6.4k stars), React Best Practices (ryokun6/ryos, 1.3k stars), React Best Practices (AvivK5498/beads-web, 102 stars) and React Best Practices (poteto/noodle, 420 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Component Development?

programming-in-th (a GitHub organization) maintains it in programming-in-th/programming.in.th, which has 102 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 7, 2026.

Source: programming-in-th/programming.in.th on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.