convez.ai
SkillDesenvolvimento WebIntermediário
mohamed-hossam1

Next.js Skills

mohamed-hossam1/nextjs-skills

Skills para cache e server actions em Next.js 16+ App Router

Ver no GitHub
BomPluginScore · de 0 a 100

Conjunto de skills para agentes trabalharem com arquitetura de cache e server actions em Next.js 16+. Inclui ferramentas para implementar caching no App Router (com tag registries, boundaries e revalidação) e padronizar server actions com validação de entrada/saída, normalização de erros e logging.

Instalação

$npx convez-ai mohamed-hossam1/nextjs-skills

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
10
Forks
0
Acompanhando
0
Saúde
42%
Último commit
há 5 meses
Versão
—
Issues abertas
0
Contribuidores
1

Casos de uso

  • Implementar estratégias de cache em projetos Next.js 16+
  • Padronizar server actions com validação Zod e tratamento de erros
  • Debugar e auditar dados obsoletos em aplicações App Router
  • Estruturar autenticação e logging em server actions

Veredito

Skill bem estruturada e específica para Next.js 16+. Fornece padrões sólidos de cache e server actions com verificação automática (audit script), mas exige Next.js moderno e App Router — não serve para projetos com Pages Router ou export estático.

README

A tradução para o português deste README ainda está na fila.

nextjs-skills

A collection of agent skills for Next.js workflows. The repository currently includes two skills: nextjs-cache-architecture and next-action-handler.

skills.sh

Skills

  • nextjs-cache-architecture helps design and implement caching in Next.js 16+ App Router projects, covering tag registries, cache boundaries, revalidation utilities, and debugging stale data.
  • next-action-handler standardizes server actions with input/output validation, error normalization, auth context, and pino logging on top of next-safe-action and zod.

Repository layout

skills/
├── nextjs-cache-architecture/
│   ├── SKILL.md                                # Always-loaded core: architecture + steps + common mistakes
│   ├── overlay.yaml                            # Routing manifest (prompt signals, validators)
│   ├── references/                             # Loaded on demand
│   ├── assets/                                 # Drop-in templates the agent copies into your repo
│   ├── scripts/                                # Verifiers and generators
│   └── evals/                                  # Test cases for the skill
├── next-action-handler/
│   ├── SKILL.md
│   └── references/                             # Loaded on demand
src/                                            # Shared runtime code used by skills

Usage

Install a skill from this repository with npx skills add:

npx skills add https://github.com/mohamed-hossam1/nextjs-skills --skill nextjs-cache-architecture
npx skills add https://github.com/mohamed-hossam1/nextjs-skills --skill next-action-handler

Verifying an implementation

nextjs-cache-architecture includes a static audit script at skills/nextjs-cache-architecture/scripts/audit.mjs. Run it after applying the skill to confirm the checklist items are in place.

Requirements

nextjs-cache-architecture

RequirementStatus
Next.js 16+Yes
cacheComponents: true in next.config.tsYes
App RouterYes
Pages RouterNo
Edge runtimeNo
Static export (output: "export")No

next-action-handler

  • Next.js App Router with server actions
  • next-safe-action, zod, better-auth, and pino (installed by the skill)

Contributing

See AGENTS.md for style, naming, and structure rules. Each skill prefers fixing the architecture over working around it — every new pattern must justify its place by a real mutation or rendering case.

License

MIT

Author

Mohamed Hossam (mohamed-hossam1).

Ver o original no GitHub

Bom para

Relacionados