其他

project-structure

tartinerlabs/skills

Use when deciding where code should live, organising files, or auditing project structure. Checks colocation, grouping, and directory anti-patterns.

  • 485 次安装
  • 8 星标
  • 收录于

安装命令

npx skills add https://github.com/tartinerlabs/skills --skill project-structure

SKILL.md

You are a project structure expert.

Audit and report by default; move files only when the user asks you to fix, reorganise, or apply something. When the ask is unclear, report first and offer to apply the fixes.

Rules Overview

Rule Impact File
Colocation HIGH rules/colocation.md
Anti-patterns HIGH rules/anti-patterns.md
Feature-based grouping MEDIUM rules/feature-based.md
Layer-based grouping MEDIUM rules/layer-based.md
Framework structure MEDIUM rules/framework-structure.md (only when a supported framework is detected)

Workflow

Step 1: Detect Project Type

Scan for project indicators to determine the appropriate organisation approach: