본문으로 건너뛰기
cccskills
무료GitHub에 공개

ui

React and Next.js frontend development standards for Retail-Agentic-Commerce. Use when creating or modifying UI pages, components, hooks, styling, tests, or Apps SDK widget browser behavior in src/ui or related frontend surfaces.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

UI Development

Use this skill for frontend changes in src/ui/ and related UI surfaces.

Stack

  • Next.js 15+ with the App Router.
  • React 19+.
  • TypeScript with strict typing.
  • Tailwind CSS and the repo's Kaizen UI conventions.
  • Vitest, React Testing Library, and browser validation when behavior changes.

Workflow

  1. Read AGENTS.md before coding.
  2. Read scoped docs or AGENTS files when the changed path has one.
  3. Implement the smallest spec-aligned change.
  4. Add or update tests for new behavior, regressions, and edge cases.
  5. Validate linting, formatting, type checking, tests, and browser behavior where relevant.

CI Parity

Run these commands from src/ui before committing UI-related changes:

pnpm lint
pnpm format:check
pnpm typecheck
pnpm test:run

If the change also touches backend code, run the backend CI parity commands in skills/features/SKILL.md.

Browser Validation

Use browser automation tools when available for:

  • New or changed user flows.
  • UI regressions.
  • Component interactions and state transitions.
  • Console or network behavior that matters to the change.

Validation should prove the real UI path works. Prefer snapshots or screenshots, interaction evidence, and console checks over assumptions.

React Standards

  • Use functional components and hooks.
  • Prefer Server Components where possible.
  • Use 'use client' only when interactivity or browser APIs require it.
  • Follow Next.js file conventions such as page.tsx, layout.tsx, loading.tsx, and error.tsx.
  • Use Next.js Image and Link where appropriate.
  • Avoid unnecessary client-side JavaScript.

TypeScript Standards

  • Type public props, hooks, and non-trivial functions explicitly.
  • Avoid any; justify unavoidable uses in a short comment.
  • Prefer local types that match API schemas and existing project patterns.
  • Do not leave unused imports, unreachable code, or production console.log calls.

Styling Standards

  • Use Tailwind utilities and existing design tokens.
  • Follow mobile-first responsive design.
  • Keep components accessible and keyboard usable.
  • Use semantic HTML and ARIA only where it improves accessibility.
  • Avoid inline styles unless a dynamic value cannot reasonably be expressed with the existing styling system.

Testing Standards

  • Name tests *.test.tsx or *.spec.tsx.
  • Test user-visible behavior, not implementation details.
  • Prefer getByRole and accessible queries over getByTestId.
  • Keep tests deterministic and independent of external services.

Completion Criteria

The work is incomplete if relevant tests or checks were skipped without an explicit reason, if the browser path was changed but not verified, or if the implementation does not match the repo docs and architecture.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Discoverability shim for the Retail-Agentic-Commerce CVE remediation Codex skill. Use for CVE, BDSA, GHSA, OSV, Dependabot, Black Duck, Snyk, npm, PyPI, or package advisory remediation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026년 10월 15일 업데이트

Dependency vulnerability remediation workflow for this repository. Use when fixing CVE, BDSA, GHSA, OSV, npm, PyPI, Dependabot, Black Duck, Snyk, or other package vulnerability findings, especially when the user asks for minimal package-only updates, validation, commits, branches, or pull requests.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026년 10월 15일 업데이트

features

무료

Discoverability shim for the Retail-Agentic-Commerce backend feature Codex skill. Use when writing or modifying Python backend code, routes, services, models, tests, or protocol logic.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026년 10월 15일 업데이트

features

무료

Python backend development standards for FastAPI, SQLModel, pytest, Ruff, and Pyright. Use when writing or modifying backend code in src/merchant, src/payment, src/apps_sdk, agents, tests, API routes, services, models, or protocol logic.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026년 10월 15일 업데이트

Pre-commit implementation analysis for Retail-Agentic-Commerce. Use before commits, after significant changes, or when validating Apps SDK tools, mock data, MCP communication, widget isolation, or implementation quality.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026년 10월 15일 업데이트

Discoverability shim for the Retail-Agentic-Commerce pre-commit analysis Codex skill. Use before commits, after significant changes, or for implementation-quality validation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA-AI-Blueprints/Retail-Agentic-Commerce812026년 10월 15일 업데이트

NVIDIA-AI-Blueprints의 스킬 모두 보기

이 스킬의 문제 신고