setup-dirs

Initialize and synchronize project directory structures with CLAUDE.md files.

Updated Jun 21, 2025
One-click install
npx skills add https://github.com/grad13/cctop --skill setup-dirs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-dirs
Source: https://github.com/grad13/cctop/tree/main/.claude/skills/setup-dirs
Command: npx skills add https://github.com/grad13/cctop --skill setup-dirs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation and synchronization of project directory structures and the CLAUDE.md configuration file, ensuring a consistent and organized project foundation.

Core Features & Use Cases

  • Project Initialization: Creates a standard directory layout for new projects.
  • Configuration Synchronization: Detects and helps resolve discrepancies between the actual directory structure and the CLAUDE.md definition.
  • Use Case: When starting a new project, use setup-dirs to quickly establish the expected folder structure and CLAUDE.md. If the structure drifts over time, setup-dirs sync can identify and help correct the differences.

Quick Start

Initialize the project directory structure and CLAUDE.md by running setup-dirs.

Frequently Asked Questions about setup-dirs

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

FAQPage Schema
How do I initialize a standard project directory structure?

You can initialize a project directory structure by running setup-dirs, which scans defined configurations and uses bash mkdir to automatically create the expected folder layout.

What is the best way to sync CLAUDE.md with my actual project directories?

To sync CLAUDE.md with your project directories, run setup-dirs sync to detect structural discrepancies and use edit operations to resolve differences between the file system and the configuration file.

How does directory structure synchronization work when project folders drift over time?

Directory structure synchronization works by using glob to scan the actual file system, comparing it against the CLAUDE.md definition, and highlighting discrepancies so you can correct the differences and maintain project consistency.

Do I need any dependencies to create project directories and update CLAUDE.md?

No external dependencies are required to create project directories and update CLAUDE.md, as the Skill operates independently using built-in glob scanning, bash mkdir creation, and edit operations.

Can I use this project initialization approach for maintaining existing codebases?

Yes, you can use this approach for existing codebases by running the sync command to detect structural drift, compare the current file system against CLAUDE.md, and help correct any identified differences.

Why does my CLAUDE.md configuration not match my actual file system directories?

Your CLAUDE.md configuration may not match your directories due to structural drift from manual changes, which the sync feature identifies by scanning the file system with glob and highlighting discrepancies for correction.