skills/nextjs-capability-implementation/SKILL.md
Implements capability-based architecture inside TypeScript-first Next.js applications with current stable Next.js and React, verified dependency security, correct server/client boundaries, routing adapters, secure configuration patterns, and server-side observability practices. Use when creating or refactoring Next.js projects that should follow capability architecture principles and enforce TypeScript, linting, and testing standards.
npx skillsauth add hashlips/agent-skills nextjs-capability-implementationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Apply capability-architecture principles inside Next.js projects using concrete framework patterns for routing, composition, data flow, and security-sensitive boundaries.
When implementing a Next.js feature or system:
app/ focused on routing and compositionreact-dom versions that release requires; do not intentionally pin to unsupported or end-of-life stacks without a documented, reviewed exceptionnext, react, react-dom, and other app runtime dependenciesnpx / pnpm dlx / bunx so the official toolchain and peer versions stay aligned (see reference below)Implementations produced with this skill should:
next / react / react-dom versions and satisfy the dependency security baseline in references/dependency-and-version-security.md.gitignore patterns for Next.js and sensitive files: references/gitignore.mdapp/ router responsibilities and composition boundaries: references/app-router.mdUse this skill when:
This skill is designed to pair with the capability-architecture skill.
development
Generates an interactive HTML map of any coding project showing all files, their connections, and entry-point flows, enriched by a living AI knowledge file that grows as the project is explored. Use when asked to generate a project graph, visualize project structure, map file connections or flows, get a high-level overview of a codebase, or answer questions about a project that already has a generated graph (technologies, services, how a flow works).
development
Static security audit of an Agent Skill package (untrusted text only)—safe to run, data-exfil and hidden-action risks, est_tokens, and a verdict. Use only when the user explicitly asks to scan, security-scan, or sanity-check a skill.
development
Gives a consistent rough token-size estimate for a file or folder of text using fixed integer rules. Use when you need repeatable ballpark token counts for Markdown or plain text without calling a provider API.
testing
Compresses Markdown to minimal token form while preserving facts and agent-executable intent; duplicates sources first and compresses skill packages (SKILL.md plus reference MD). Use when reducing context cost in docs, skills, or prompts at light, medium, heavy, or extreme compression.