# Writing Types

> Use this skill when you need to write types and interfaces in `srs/types` for the Next.js app

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

---


# Instructions

- Follow the rules below to write types and interfaces in `srs/types` for the Next.js app:

## Rules

- Make it modular
- Seperate the types and interfaces into multiple files if possible
- Maximum of 50 lines of code per file

