project-structure

Enforce repository structure and placement rules for code, tests, analytics, and governance artifacts.

Updated May 17, 2026
One-click install
npx skills add https://github.com/cheetah-alo/NegritaOS --skill project-structure-cheetah-alo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: project-structure
Source: https://github.com/cheetah-alo/NegritaOS/tree/main/.codex/skills/project-structure
Command: npx skills add https://github.com/cheetah-alo/NegritaOS --skill project-structure-cheetah-alo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents misplaced modules, tangled dependencies, and governance gaps by enforcing a consistent repository layout for services, APIs, analytics, frontend code, tests, and project guidance.

Core Features & Use Cases

  • Placement rules across backend, analytics, frontend, and governance: Guides where transport code, domain logic, rule assets, configs, analytics pipelines, frontend modules, and .codex/ governance artifacts should live.
  • File creation conventions tied to intent: Ensures new API routes, persistence/state changes, analytics/reporting workflows, and frontend features follow predictable module boundaries.
  • Anti-pattern guardrails: Reduces coupling and duplication by discouraging notebook production logic and cross-layer business rule repetition.

Quick Start

Use this skill when you are about to add a new API endpoint or service and want it placed in the correct NegritaOS folders for maintainability and governance alignment.

Frequently Asked Questions about project-structure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I organize repository structure for backend services and frontend modules?

To organize repository structure, place backend transport code, domain logic, frontend modules, and rules/config data into explicit directory boundaries. This prevents misplaced modules and tangled dependencies by enforcing consistent placement rules across services, APIs, and UI code.

Where should analytics pipelines and testing conventions live in a codebase?

Analytics pipelines and testing conventions should live in dedicated analytics modules and test locations defined by explicit directory boundaries. This ensures reporting workflows and tests follow predictable module boundaries without duplicating business logic.

What's the best way to place governance docs and config files in a repository?

The best way to place governance docs is within `.codex/` governance storage directories. Storing project guidance and governance artifacts in this dedicated location prevents governance gaps and maintains alignment with service and API placement rules.

How do I prevent tangled dependencies when adding new API routes and services?

Prevent tangled dependencies by following file creation conventions tied to intent, placing new API routes and services within explicit directory boundaries for backend transport and domain logic. This reduces coupling and discourages cross-layer business rule repetition.

Why should I avoid notebook production logic in analytics pipelines?

You should avoid notebook production logic in analytics pipelines because it creates anti-patterns that increase coupling and duplication. Placing analytics outputs in dedicated modules with explicit boundaries maintains predictable structure and maintainability.