# 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` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add comeonoliver/writing-types`
- Raw SKILL.md: https://api.skillmd.com/api/skills/comeonoliver/writing-types/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-types

---


# 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

