next-best-practices

next-best-practices is a skill for Claude Code from ssdeanx/AgentStack. It costs 38 tokens per session (1,017 once invoked), scanned A, original, no licence file.

A collection of development guidance for Next.js, a framework for building web applications with React. It covers project file conventions, server and client boundaries, data handling, metadata, errors, routes, and asset optimization.

In plain words
What is it for?
Use it when building or reviewing Next.js pages, routes, data flows, metadata, images, fonts, and bundles.
Why use it?
It gives an agent rules for making common Next.js decisions consistently and avoiding recurring implementation mistakes.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it when building or reviewing Next.js pages, routes, data flows, metadata, images, fonts, and bundles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ssdeanx/agentstack/next-best-practices
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ssdeanx/AgentStack --skill next-best-practices
Clone the repo
git clone --depth 1 https://github.com/ssdeanx/AgentStack

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for next-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/ssdeanx/agentstack/next-best-practices/github.svg)](https://agentmods.dev/skills/ssdeanx/agentstack/next-best-practices)
Your own site
<a href="https://agentmods.dev/skills/ssdeanx/agentstack/next-best-practices"><img src="https://agentmods.dev/badge/skills/ssdeanx/agentstack/next-best-practices/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for next-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/ssdeanx/agentstack/next-best-practices"><img src="https://agentmods.dev/badge/skills/ssdeanx/agentstack/next-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,017 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.01017
Opus 5.5 $0.00015 $0.00407
Sonnet 5.5 $0.00008 $0.00203
Haiku 4.5 $0.00004 $0.00102

Measured 1mo ago against content hash c78f952d4e98, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

next-best-practices scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/mastra/public/workspace/skills/next-best-practices/SKILL.md · 154 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 154 lines · 38 tokens per session scan A c78f952d4e98

Subscribe to this mod's changes

next-best-practices is a skill published in the GitHub repository ssdeanx/AgentStack (44 stars, last pushed 6mo ago), with no licence file. It adds 38 tokens to every session and 1,017 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

implementing-command-palettes

Use when building Cmd+K command palettes in React - covers keyboard navigation with arrow keys, keeping selected items in view with scrollIntoView, filtering with shortcut matching, and preventing infinite re-renders from reference instability.

AgentWorkforce/relay · 48 tokens

rn-best-practices

This skill should be used when writing or reviewing React Native / Expo code — before writing list rendering, animations, data fetching, component APIs, navigation, or image/media UI — and when asked to "review best practices", "check performance", "optimize renders", "review list rendering", "check animation…

Lykhoyda/rn-dev-agent · 98 tokens

rn-feature-dev

Explicit Codex workflow: Guided feature development for React Native — explore codebase, design architecture, implement, verify live on device, and review quality.

Lykhoyda/rn-dev-agent · 34 tokens

artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

openteams-lab/openteams · 63 tokens

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

Lykhoyda/rn-dev-agent · 58 tokens

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance…

Lykhoyda/rn-dev-agent · 67 tokens