nextjs-sidebar-section-with-node-test

Community

Validate Next.js protected sidebar with node:test.

AuthorHugoAlmeidaMoreira
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Adds a new protected sidebar section in a Next.js project and validates its integration using lightweight node:test based checks instead of full Jest/Vitest setups.

Core Features & Use Cases

  • Update app/components/app-sidebar.tsx to include the new group and links
  • Create protected pages under app/(protected)/<section>/<page>/page.tsx with a small client component and fetch calls to API routes
  • Implement API routes under app/api/<section>/<page>/route.ts to back the new pages
  • Provide a minimal node:test based test to assert the presence of the new links and routes

Quick Start

Follow the steps in this skill to add the new protected sidebar section and run the node:test based tests to validate the integration.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: nextjs-sidebar-section-with-node-test
Download link: https://github.com/HugoAlmeidaMoreira/zeus-agent/archive/main.zip#nextjs-sidebar-section-with-node-test

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.