本文へ移動
cccskills
無料GitHub で公開

senior-frontend

Frontend development for React, Next.js, TypeScript, and Tailwind CSS. Use when building React components, optimizing Next.js performance, analyzing bundle sizes, scaffolding projects, implementing accessibility, or reviewing frontend code.

インストール方法を見る

含まれるファイル(9)

  • SKILL.md6.6 KB
  • references/code-patterns.md5.7 KB
  • references/frontend_best_practices.md19.3 KB
  • references/nextjs_optimization_guide.md14.8 KB
  • references/react_patterns.md16.9 KB
  • references/tooling-guide.md12.0 KB
  • scripts/bundle_analyzer.py13.0 KB
  • scripts/component_generator.py8.5 KB
  • scripts/frontend_scaffolder.py27.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Senior Frontend

Frontend development patterns, performance optimization, and automation tools for React/Next.js applications. Scaffold projects, generate components and hooks, analyze bundle sizes, and apply React/Next.js patterns with accessibility and testing built in.

Core Capabilities

  • Project scaffolding — generate Next.js 14+ (App Router) or React+Vite projects with TypeScript, Tailwind, and optional auth/api/forms/testing/storybook features.
  • Component generation — client/server components, custom hooks, with test and Storybook story files following established patterns.
  • Bundle analysis — static package.json + import scanning that scores bundle health and flags heavy dependencies with lighter alternatives.
  • React patterns — compound components, custom hooks, render props, and reusable state-sharing patterns.
  • Next.js optimization — Server vs Client Components, image optimization, parallel/streaming data fetching with Suspense.
  • Accessibility & testing — semantic HTML, ARIA, keyboard nav, focus, and React Testing Library component/a11y tests.

When to Use

  • Starting a new React/Next.js project that needs a best-practice baseline.
  • Adding components, hooks, or test/story scaffolding to an existing app.
  • Optimizing bundle size or diagnosing heavy dependencies.
  • Implementing accessible, performant Server/Client Component architecture.
  • Reviewing frontend code against React/TypeScript/a11y best practices.

Clarify First

Before scaffolding or generating, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • Template — Next.js (App Router) vs React+Vite (--template; produces a different project structure)
  • Features — auth / api / forms / testing / storybook (--features; decides what gets generated)
  • Generation target — a new project vs a component/hook in an existing app (selects frontend_scaffolder vs component_generator)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Tools

ToolPurposeCommand
frontend_scaffolder.pyScaffold a Next.js or React project with TypeScript + Tailwind + optional featurespython scripts/frontend_scaffolder.py my-app --template nextjs --features auth,api
component_generator.pyGenerate a component/hook with optional test and Storybook storypython scripts/component_generator.py ProductCard --type client --with-test --with-story
bundle_analyzer.pyScore bundle health and flag heavy dependencies from package.json + importspython scripts/bundle_analyzer.py /path/to/project --verbose

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

  • references/tooling-guide.md — full scaffolding / component-generation / bundle-analysis workflows, option tables, generated structure, the per-script flag reference, troubleshooting table, and success criteria. Read when running a tool or wiring up CLI flags.
  • references/code-patterns.md — inline React patterns (compound components, hooks, render props), Next.js optimization (Server/Client, image, data fetching), accessibility + testing snippets, and the Next.js config / Tailwind / TypeScript quick reference. Read when writing components or optimizing pages.
  • references/react_patterns.md — deep React patterns library. Read when designing component/state architecture.
  • references/nextjs_optimization_guide.md — deep Next.js performance and rendering guide. Read when tuning Next.js apps.
  • references/frontend_best_practices.md — accessibility, testing, and general frontend best-practice guide. Read before shipping a component.

Scope & Limitations

What this skill covers:

  • React and Next.js project scaffolding with TypeScript and Tailwind CSS
  • Component, hook, test, and Storybook story generation following established patterns
  • Static bundle analysis based on package.json dependency inspection and import pattern scanning
  • Frontend-specific best practices for Server Components, image optimization, data fetching, and accessibility

What this skill does NOT cover:

  • Backend API development, database schema design, or server infrastructure -- see senior-backend and senior-fullstack
  • End-to-end testing with Cypress or Playwright -- see senior-qa
  • CI/CD pipeline configuration and Docker deployment -- see senior-devops
  • Security vulnerability scanning and penetration testing -- see senior-secops and senior-security

Integration Points

SkillIntegrationData Flow
senior-fullstackScaffolded frontend projects connect to fullstack project scaffolder for API layer setupFrontend project structure feeds into project_scaffolder.py which adds backend, Docker, and CI/CD layers
senior-backendComponents consuming API data follow patterns defined by backend skill's REST/GraphQL conventionsBackend API response types imported into frontend types/ directory generated by this skill
senior-qaGenerated test files (--with-test) use the same Testing Library conventions that the QA skill's test strategies build uponComponent test files hand off to QA skill for integration and E2E test coverage expansion
senior-devopsBundle analyzer output informs build pipeline optimization decisionsBundle health score and dependency warnings feed into CI quality gates configured by DevOps skill
senior-secopsDependency analysis identifies packages that need security auditHeavy/outdated dependency warnings from bundle_analyzer.py trigger security review workflows
code-reviewerGenerated components follow patterns that the code reviewer skill validatesCode reviewer checks generated components against React/TypeScript best practices defined in this skill's references

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

This skill should be used when the user asks to "check accessibility", "audit WCAG compliance", "scan HTML for a11y issues", "check color contrast", or "find accessibility violations in web pages".

日本語の概要は準備中です。原文の説明を表示しています。

borghei/Claude-Skills9012026年10月7日 更新

Design and analyze A/B tests: sample size, test duration, and statistical significance for conversion experiments. Use when setting up an A/B test, calculating sample size, designing an experiment, or analyzing results.

日本語の概要は準備中です。原文の説明を表示しています。

borghei/Claude-Skills9012026年10月7日 更新

Design and run statistically rigorous A/B tests and experiments. Use when planning experiments, calculating sample sizes, designing test variants, selecting metrics, analyzing results, or when someone says "let's test that."

日本語の概要は準備中です。原文の説明を表示しています。

borghei/Claude-Skills9012026年10月7日 更新

Sales execution across pipeline, discovery, demos, negotiation, and closing. Use when qualifying opportunities, running MEDDIC discovery, building account plans, handling objections, structuring proposals, or forecasting pipeline.

日本語の概要は準備中です。原文の説明を表示しています。

borghei/Claude-Skills9012026年10月7日 更新

Design ad creative across Google, Meta, LinkedIn, Twitter/X, and TikTok with platform format specs, headline formulas, and A/B testing. Use when writing ad copy, generating headline variations, creating ad sets, or validating creative.

日本語の概要は準備中です。原文の説明を表示しています。

borghei/Claude-Skills9012026年10月7日 更新

aeo

無料

Answer Engine Optimization (AEO): optimize content to be cited by LLMs (ChatGPT, Claude, Perplexity, Gemini) in their answers. Use when designing content for LLM citation, auditing citability, or structuring Q&A schema.

日本語の概要は準備中です。原文の説明を表示しています。

borghei/Claude-Skills9012026年10月7日 更新

borghei のスキルをすべて見る

このスキルの問題を報告する