writing-lib-functions

Community

Organize library functions for Next.js apps.

AuthorEmz1998
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill establishes clear guidelines for writing modular and concise library functions in a Next.js application. It prevents monolithic library files by enforcing separation and line limits, making functions easier to find, understand, and reuse across the project.

Core Features & Use Cases

  • Modular Library Functions: Guides on separating library functions into multiple, smaller files.
  • File Size Limits: Enforces a maximum of 50 lines of code per file for better readability.
  • Use Case: When creating core logic or complex calculations for a Next.js app, use this skill to ensure they are organized into modular files within srs/lib, adhering to the specified line limits.

Quick Start

Write a library function for data encryption, ensuring it's modular and adheres to the 50-line limit.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: writing-lib-functions
Download link: https://github.com/Emz1998/nexly-notes/archive/main.zip#writing-lib-functions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository