smithery.ai

frontend-guidelines

Frontend coding conventions for this repo.

First seen Apr 2, 2026

Installation

$ npx skills add https://smithery.ai

Summary

  • Frontend coding conventions for this repo.
  • Use when creating or organizing Next.js App Router features, deciding where to place React components, or structuring shared UI/utilities in frontend/.
  • Applies to collocating page-specific components under app route folders and placing shared pieces under src/.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,201 B
  • docs SUMMARY.md 331 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Frontend Guidelines

Placement rules

  • Collocate page-specific components: create a _components/ folder inside the App Router page directory (the same directory as the page.tsx, layout.tsx, etc.) and place components used only by that page there.
  • Keep shared components and utilities under frontend/src/ following the existing architecture (src/ui/, src/shared/, src/theme/, etc.).
  • Prefer shared placement when a component is reused across routes, layouts, or features.

Examples

  • frontend/app/dashboard/_components/StatsCard.tsx for a dashboard-only component.
  • frontend/src/ui/Button.tsx for a reusable button.

Notes

  • Follow existing naming conventions (PascalCase components, useX hooks) and lint/format rules.
  • When unsure about reuse, start collocated; promote to src/ when a second usage appears.