writing-data

Emz1998's avatarfrom Emz1998

Use this skill when you need to structure data in `srs/data` for the Next.js app

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 11, 2025

When & Why to Use This Skill

The 'writing-data' Claude skill is designed to automate and standardize the organization of data within Next.js applications. By enforcing modularity and strict file-length constraints in the `src/data` directory, it helps developers maintain a clean, scalable, and highly maintainable codebase while adhering to modern web development best practices.

Use Cases

  • Scenario 1: Refactoring large, monolithic JSON or JavaScript data objects into smaller, modular files to improve project readability and navigation.
  • Scenario 2: Automatically structuring new project data in the `src/data` folder while ensuring each file remains under the 50-line limit for better maintainability.
  • Scenario 3: Enforcing a 'one data per file' architecture in Next.js projects to facilitate easier version control and collaborative development.
namewriting-data
descriptionUse this skill when you need to structure data in `srs/data` for the Next.js app

Instructions

  • Follow the rules below to structure data in srs/data for the Next.js app:

Rules

  • Make it modular
  • Maximum of 50 lines of code per file
  • Seperate the data into multiple files if possible
  • 1 data per file