writing-page-layout

Use this skill when you need to write code for a page layout in the Next.js

$ Installer

git clone https://github.com/Emz1998/nexly-notes /tmp/nexly-notes && cp -r /tmp/nexly-notes/archive/skills/code-style/pages ~/.claude/skills/nexly-notes

// tip: Run this command in your terminal to install the skill


name: writing-page-layout description: Use this skill when you need to write code for a page layout in the Next.js

Instructions

  • Follow the rules below to write a page layout (page.tsx) in the Next.js app:

Rules

  • Make it modular
  • Maximum of 40 lines of code per page layout
  • Seperate the types and interfaces in a separate file (srs/app/types)