scope-rule
CommunityEnforce file locations by usage scope.
Software Engineering#software-architecture#decision-tree#project-organization#scope-rule#file-location
Authorjota-batuta
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Before writing any file, you MUST determine who will use it to decide its location, preventing dumping-ground folders and inconsistent project structure.
Core Features & Use Cases
- Enforces the Scope Rule before file creation, ensuring correct placement (feature-specific, shared, or core).
- Guides teams to structure new work by usage, helping to avoid root-level utils or global components.
- Applies across all artifact types (files, utilities, modules) and supports sharing only when truly needed by multiple consumers.
Quick Start
Place your file only after answering "Who will use this?" and choose the location under features/{name}/{type}, features/shared/{type}, or core/{type} accordingly.
Dependency Matrix
Required Modules
None requiredComponents
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: scope-rule Download link: https://github.com/jota-batuta/batuta-dots/archive/main.zip#scope-rule Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.