Vercel React Best Practices
sanity-io/sanity
React and Next.js performance optimization guidelines from Vercel Engineering.
A skill your agent uses when creating or modifying React components.
$ npx skills add programming-in-th/programming.in.th --skill component-development -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install programming-in-th/programming.in.th component-development --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ 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-srcUse ~/.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/
Install the "component-development" agent skill from https://github.com/programming-in-th/programming.in.th/tree/main/.claude/skills/component-development into .claude/skills/component-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "component-development", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/programming-in-th/programming.in.th/tree/main/.claude/skills/component-developmentType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add programming-in-th/programming.in.th --skill component-development -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install programming-in-th/programming.in.th component-development --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/programming-in-th/programming.in.th.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/component-development .agents/skills/component-development && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "component-development" agent skill from https://github.com/programming-in-th/programming.in.th/tree/main/.claude/skills/component-development into .agents/skills/component-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "component-development", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add programming-in-th/programming.in.th --skill component-development -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install programming-in-th/programming.in.th component-development --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/programming-in-th/programming.in.th.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/component-development .cursor/skills/component-development && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "component-development" agent skill from https://github.com/programming-in-th/programming.in.th/tree/main/.claude/skills/component-development into .cursor/skills/component-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "component-development", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/programming-in-th/programming.in.th.git --path .claude/skills/component-development--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add programming-in-th/programming.in.th --skill component-development -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install programming-in-th/programming.in.th component-development --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/programming-in-th/programming.in.th.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/component-development .gemini/skills/component-development && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "component-development" agent skill from https://github.com/programming-in-th/programming.in.th/tree/main/.claude/skills/component-development into .gemini/skills/component-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "component-development", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install programming-in-th/programming.in.th component-developmentInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add programming-in-th/programming.in.th --skill component-development -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/programming-in-th/programming.in.th.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/component-development .github/skills/component-development && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "component-development" agent skill from https://github.com/programming-in-th/programming.in.th/tree/main/.claude/skills/component-development into .github/skills/component-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "component-development", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add programming-in-th/programming.in.th --skill component-development -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install programming-in-th/programming.in.th component-development --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/programming-in-th/programming.in.th.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/component-development .opencode/skills/component-development && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "component-development" agent skill from https://github.com/programming-in-th/programming.in.th/tree/main/.claude/skills/component-development into .opencode/skills/component-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "component-development", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
component-developmentA skill your agent uses when creating or modifying React components.
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.
Read from SKILL.md and the folder at commit 79ad808. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadEditWriteGlobGrepFrom allowed-tools in the SKILL.md frontmatter.
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.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
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.
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.
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.
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.
.claude/skills/component-development/SKILL.md (or your agent's skills folder).See React patterns for full reference.
Quick rules:
'use client' only for: onClick, useState, useEffect, browser APIsdark: variantsExample:
// 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
Just SKILL.md in .claude/skills/component-development of programming-in-th/programming.in.th.
Open the folder on GitHubat commit 79ad808
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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Component Development this skillprogramming-in-th/programming.in.th | 102 | — | ~198 | Automated safety check: Pass | AGPL-3.0 | |
| Vercel React Best Practicessanity-io/sanity | 6.4k | 130 repos | ~1.6k | Automated safety check: Pass | MIT | |
| React Best Practicesryokun6/ryos | 1.3k | — | ~2k | Automated safety check: Pass | MIT | |
| React Best PracticesAvivK5498/beads-web | 102 | — | ~2.7k | Automated safety check: Pass | None | |
| React Best Practicespoteto/noodle | 420 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Reactblencorp/claude-code-kit | 106 | — | ~2.5k | Automated safety check: Pass | MIT |
sanity-io/sanity
React and Next.js performance optimization guidelines from Vercel Engineering.
ryokun6/ryos
React performance optimization guidelines from Vercel Engineering (vercel-labs/agent-skills).
AvivK5498/beads-web
React and Next.js performance optimization patterns. An agent skill from AvivK5498/beads-web.
poteto/noodle
React performance optimization guidelines. An agent skill from poteto/noodle.
blencorp/claude-code-kit
Core React 19 patterns including hooks, Suspense, lazy loading, component structure, TypeScript best practices, and performance optimization.
MatrixAges/polywise
Guides React component implementation, performance optimization, and state management thresholds.
programming-in-th/programming.in.th
A skill your agent uses when creating or modifying Elysia API routes.
programming-in-th/programming.in.th
A skill your agent uses when modifying Prisma schema or database queries.
Categories
A skill your agent uses when creating or modifying React components. th. Use when creating or modifying React components.
Component Development fits situations like: modifying React components; tasks that involve React components; tasks that involve Performance optimization.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.