AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Frontend Best Practices

skill-antstudiocz-ant-marketplace-frontend-best-practices · by antstudiocz

Use for React, Next.js, TypeScript, and frontend UI work: components, forms, accessibility, i18n, responsive layouts, semantic HTML, performance, skeleton loading states, React 19 APIs, composition patterns, and Next.js/PPR architecture.

No reviews yet
0 installs
20 views
0.0% view→install

Install

$ agentstack add skill-antstudiocz-ant-marketplace-frontend-best-practices

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-antstudiocz-ant-marketplace-frontend-best-practices)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Frontend Best Practices? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Frontend Best Practices

Use this skill for frontend implementation, refactoring, review, and UI architecture work. This is the single public frontend engineering entrypoint; detailed guidance lives in references/ and should be loaded only when relevant. For (ant) brand direction, pair it with ant:brand-design.

Reference files may contain original skill frontmatter. Treat it as reference metadata, not as separate skill invocation.

Baseline

For any frontend change, consider:

  • component ownership, naming, structure, and extraction boundaries;
  • TypeScript props, nullability, and shared type placement;
  • semantic HTML and accessibility for user-facing UI;
  • responsive behavior across supported breakpoints;
  • i18n for all user-visible text;
  • performance, loading states, and layout stability;
  • framework-specific boundaries for React, Next.js, Server Components, caching, and PPR.

Do not load every reference by default. Select the smallest useful set for the task.

Reference Selection

  • Components and refactors: references/components.md, references/code-separation.md, references/typescript.md, and references/composition-patterns/overview.md.
  • Forms: references/forms.md, references/accessibility.md, references/i18n.md, references/typescript.md, and React 19 form references when the project uses React 19 actions.
  • User-facing text: references/i18n.md.
  • Layout/UI markup: references/responsive.md, references/semantic-html.md, and references/accessibility.md.
  • Loading states: references/skeleton-loading-states.md plus references/performance.md.
  • Performance work: references/performance.md, references/react-best-practices/overview.md, and specific files under references/react-best-practices/rules/ found with rg.
  • React 19 APIs: references/react-19.md.
  • React composition APIs: references/composition-patterns/overview.md and specific files under references/composition-patterns/rules/.
  • Next.js work: references/next-best-practices/overview.md and the relevant topic file in references/next-best-practices/.
  • Next.js Partial Prerendering or caching: references/nextjs-ppr.md, then references/next-best-practices/data-patterns.md, references/next-best-practices/rsc-boundaries.md, or references/next-best-practices/suspense-boundaries.md as needed.

Workflow

  1. Identify the project framework, routing model, component conventions, i18n system, and UI library before editing.
  2. Load only the references needed for the task.
  3. Prefer existing project patterns and design system components over new abstractions.
  4. Keep domain logic out of UI glue and avoid one-off shared utilities.
  5. Verify that text, controls, loading states, error states, empty states, and responsive behavior are covered.
  6. Run targeted checks that match the changed surface.

Review Focus

When reviewing frontend work, look for:

  • inaccessible controls, missing labels, weak keyboard behavior, or bad focus handling;
  • untranslated text or hard-coded user-facing strings;
  • layout shift, skeleton mismatch, or responsive overflow;
  • incorrect Server/Client Component boundaries;
  • avoidable re-renders, slow data fetching, or unnecessary client-side work;
  • type gaps, weak null handling, or inline types that should be owned elsewhere;
  • duplicated component logic or boolean-prop-heavy APIs that should be composed differently.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.