organize

Scan codebases for architecture, hygiene, and bloat signals to generate organization manifests.

820|78|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/SethGammon/Citadel --skill organize-sethgammon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: organize
Source: https://github.com/SethGammon/Citadel/tree/main/skills/organize
Command: npx skills add https://github.com/SethGammon/Citadel --skill organize-sethgammon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Three-pass project health scanning (architectural compliance, filesystem hygiene, and bloat detection) and dynamic directory lifecycle management to reveal, measure, and improve how a codebase is organized.

Core Features & Use Cases

  • Architectural compliance scoring to evaluate whether source files live in consistent layers or features.
  • Filesystem hygiene checks to surface loose files, misplaced assets, and stale artifacts.
  • Bloat detection with composite scoring and actionable remediation recommendations.
  • Manifest enforcements for directory structure and dynamic directory lifecycle management.
  • On-demand audits to ground teams in a shared organizational baseline.

Use Case: A growing monorepo can be scanned to surface misplacements, policy gaps, and opportunities to consolidate directories.

Quick Start

Run an initial audit to generate an organization manifest and placement rules for your project structure.

Frequently Asked Questions about organize

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

FAQPage Schema
How do I detect code bloat and misplaced files in a large monorepo?

Code bloat and misplaced files in a large monorepo are detected through a three-pass project health scan that evaluates filesystem hygiene, architectural compliance, and bloat signals to surface actionable remediation recommendations.

What is directory lifecycle management for codebase organization?

Directory lifecycle management for codebase organization is the process of generating roots, placement rules, and dynamic directory definitions from a manifest to enforce consistent structural architecture across large projects.

How do I generate placement rules and an organization manifest for my project structure?

You generate placement rules and an organization manifest by running an initial project health audit that scans directory structures, assets, and configuration to establish a shared organizational baseline.

Can I use architectural compliance scoring across multiple programming languages?

Yes, architectural compliance scoring applies to large codebases across multiple languages by scanning whether source files live in consistent layers or features and measuring overall project health.

What's the best way to surface loose files and stale artifacts during a refactor?

The best way to surface loose files and stale artifacts during a refactor is running filesystem hygiene checks that identify misplaced assets and stale artifacts to guide organization decisions.

When should I avoid using a three-pass project health scan?

A three-pass project health scan is not ideal for small codebases with minimal directory structures, as the architectural compliance, hygiene, and bloat detection scans are designed to measure and improve large, complex projects.