# Writing Lib Functions

> Use this skill when you need to write lib functions in `srs/lib` for the Next.js app

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

---


# Instructions

- Follow the rules below to write lib functions in `srs/lib` for the Next.js app:

## Rules

- Make it modular
- Maximum of 50 lines of code per file
- Seperate the lib functions into multiple files if possible

