Skip to content
Back to skills

Stack Nextjs

ASecurity

Conventions for the Next.js App Router stack (src/app/<f>/, route handlers, Tailwind, Playwright). Use when adding a page, an API route, a component or a test in this repo.

  • 24 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 9, 2026
ai-agentsgobashreactnextjsgitapiperformance

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add JoahanMorales/upiixia-agentic-kit --skill stack-nextjs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stack Nextjs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Stack Nextjs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/joahanmorales-stack-nextjs/badge)](https://www.skillsdirectory.com/skills/joahanmorales-stack-nextjs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: stack-nextjs
description: Conventions for the Next.js App Router stack (src/app/<f>/, route handlers, Tailwind, Playwright). Use when adding a page, an API route, a component or a test in this repo.
---
# Next.js stack
Setup: `.uak/stacks/nextjs/STACK.md`. React performance rules: `vercel-react-best-practices` (read one rule file, not all).

| Rule | Why |
|---|---|
| One feature = `src/app/<f>/` + `src/app/api/<f>/` + `src/components/<f>/`; never edit another feature's folder | disjoint claims |
| Server Components by default; `"use client"` only for state, effects or browser APIs | smaller bundles |
| Data from `src/app/api/<f>/route.ts` or server code; external calls with a timeout and a labeled mock (`demo_data: true`) | the demo survives a dead API |
| Shared types and helpers in `src/lib/` belong to their owner: ask with `uak msg <owner-ID> --kind request "file · change · why"` | one writer per contract |
| Dependencies: ask the owner of `package.json`; never commit a lockfile from a feature task | lockfiles go to the human queue |
| Secrets only in `.env.local` (git-ignored), read on the server; never `NEXT_PUBLIC_` for a secret | the scanner blocks them |
| Every data view has loading, empty and error states | reviewers check them |
| Screens follow `product-ui` and the design lock; colors only from tokens, components only from `src/components/ui` (`bash .uak/bin/design-lint`) | at Chilangatón 10 views built their own colors and components and the UI was redone |

```bash
bash .uak/bin/q npm run lint && bash .uak/bin/q npx playwright test tests/<f>.spec.ts
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.