nextjs-standard-setup-skill

nextjs-standard-setup-skill is a skill for Claude Code, Codex from darellchua2/opencode-config-template. It costs 41 tokens per session (559 once invoked), scanned A, original, Apache-2.0.

A setup workflow for standardized Next.js 16 demo applications using shadcn, Tailwind CSS, TypeScript, path aliases, and a src directory. It also configures shared component conventions and development diagnostics.

In plain words
What is it for?
Use it to start Next.js demos with a predefined architecture, named component exports, Tailwind styling, React Compiler support, documentation conventions, and TypeScript and ESLint diagnostics.
Why use it?
It avoids repeating the same project setup and gives new demos a consistent structure and set of development tools.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it to start Next.js demos with a predefined architecture, named component exports, Tailwind styling, React Compiler support, documentation conventions, and TypeScript and ESLint diagnostics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darellchua2/opencode-config-template/nextjs-standard-setup-skill
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 darellchua2/opencode-config-template --skill nextjs-standard-setup-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

Made for: Claude Code, Codex.

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 nextjs-standard-setup-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/nextjs-standard-setup-skill/github.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/nextjs-standard-setup-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/nextjs-standard-setup-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/nextjs-standard-setup-skill/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 nextjs-standard-setup-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/nextjs-standard-setup-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/nextjs-standard-setup-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 559 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 20 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 336
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Rogue Agent · line 13
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium MCP Rug Pull · line 34
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 48
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 53
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 272
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 54
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 57
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 58
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 56
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 61
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 80
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 85
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 281
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 284
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 308
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 270
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 279
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 286
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 493
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original 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.00041 $0.00559
Opus 5.5 $0.00016 $0.00224
Sonnet 5.5 $0.00008 $0.00112
Haiku 4.5 $0.00004 $0.00056

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

Security

Grade A, and why

nextjs-standard-setup-skill 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 2mo 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.

skills/nextjs-standard-setup-skill/SKILL.md · 34 lines

What it actually says

What I do

Scaffold the house-standard Next.js 16 demo: create-next-app + shadcn + Tailwind v4 + src/ layout + React Compiler + Tekk component conventions + project-level OpenCode LSP.

When to use me

New Next.js 16 demo/prototype; standardizing an existing project onto the house structure.

House standard

Bootstrap: npx -y create-next-app@latest --typescript --tailwind --eslint --app --src-dir --import-alias "@/*" (npx for everything — zero-install), then npx shadcn@latest init + add components.

Structure: src/app (App Router) · src/components/ui (shadcn primitives, untouched) · src/components/TekkComponents + src/custom-components (Tekk-prefixed wrappers) · src/page-containers (*PageContainer) · src/lib · src/types.

Component rules: custom components carry the Tekk prefix (TekkButton); page containers end PageContainer; sections end Section; named exports only with index.ts re-exports (no default exports from shared components); shadcn primitives are wrapped, never edited; JSDoc on every custom component; next/image everywhere (see nextjs-image-usage-skill).

React Compiler: enabled for optimized reactivity (no manual useMemo/useCallback scaffolding in compiler-covered code).

OpenCode LSP: root opencode.json with "lsp": {"typescript": {}, "eslint": {}} — ambient cross-package diagnostics; check into git (refs: opencode.ai/docs/lsp, /docs/config).

Related: nextjs-image-usage-skill (Image rules) · nextjs-unit-test-creator-skill (tests) · python-backend-skill (Python equivalent).

Removed 2026-09: step-by-step scaffolding transcripts (init, shadcn add, Tailwind v4 config, tsconfig alias edits), full directory trees, worked component examples, verification checklists — create-next-app/shadcn CLI flows are model-known; kept the house structure, naming/export rules, and the LSP wiring.

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. 2mo ago Changed · -643 lines 93139aa2f5ca
  2. 3mo ago First seen · 677 lines · 41 tokens per session scan A fda25baeb679

Subscribe to this mod's changes

nextjs-standard-setup-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 41 tokens to every session and 559 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-09-03.

Related

nextjs-standard-setup-skill compared with skills from other repositories

nextjs-standard-setup-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nextjs-standard-setup-skilldarellchua2/opencode-config-templateSkill62mo agoApache-2.0A41Claude Code, Codex
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
ui-checkstyleopen-metadata/OpenMetadataSkill16ktodayApache-2.0A122Claude Code
tamagui-v6-configtamagui/tamaguiSkill14ktodayMITA76Claude Code, Codex
tamagui-theme-generatortamagui/tamaguiSkill14ktodayMITA48Claude Code, Codex
frontend-ui-dark-tsmicrosoft/skillsSkill3.3kyesterdayMITA48Claude Code
building-landing-homelobehub/lobe-iconsSkill2.8k5d agoMITA121Claude Code, Codex