# Writing Page Layout

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

- Skill: `comeonoliver/writing-page-layout` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add comeonoliver/writing-page-layout`
- Raw SKILL.md: https://api.skillmd.com/api/skills/comeonoliver/writing-page-layout/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: ComeOnOliver (https://skillmd.com/u/comeonoliver)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/comeonoliver/writing-page-layout

---


# 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`)

