Organize File Structure

VerifiedCaution

Audits and reorganizes the project directory structure by moving misplaced files (e.g., test files inside the source directory, source files in the root) to correct locations, updating imports accordingly, and suggesting cleanup of empty directories or obsolete config files.

Sby Skills Guide Bot
DevelopmentIntermediate
1106/2/2026
Claude CodeCursorWindsurfCopilotCodex
#file-organization#project-structure#cleanup#import-updates

Recommended for

Our review

This skill audits and organizes a project's file structure by moving misplaced files, updating imports, and suggesting cleanup of empty directories and obsolete configs.

Strengths

  • Automatically detects misplaced test and source files
  • Updates import statements after moving files
  • Provides cleanup suggestions for empty or obsolete directories

Limitations

  • May not handle complex import paths or relative imports correctly
  • Could potentially move files that are intentionally misplaced
  • Requires manual review before executing suggested changes
When to use it

Use when a project's directory structure has become messy with files in wrong locations, such as test files in source directories or source files in root.

When not to use it

Do not use when files are intentionally placed in non-standard locations for specific tooling or deployment reasons.

Security analysis

Caution
Quality score75/100

The skill performs file system modifications (move, update imports) that are powerful but not inherently malicious. Risk lies in accidental misplacement or import breakage, though it's presented as a legitimate organizational tool.

Findings
  • Instructs moving files and updating imports across the project, which could break the build or test environment if applied incorrectly.

Examples

Organize project structure
Audit and organize the file structure of this project. Move test files from the package directory to the tests/ directory and source files from root to the package directory. Update any imports that break due to moves. Clean up empty directories.
Clean up misplaced files
I think some files are in the wrong folders. Please check the root and src directories and move anything that doesn't belong. Also, update imports accordingly.

name: organize description: プロジェクトのディレクトリ構造を整理し、配置ミスのファイルをクリーンアップする

Organize Files

This skill audits and organizes the project file structure.

Instructions

  1. Audit:

    • List files in the root directory.
    • Check for test files inside the package directory (gwexpy/) instead of tests/.
    • Check for source files in the root instead of the package directory.
  2. Action:

    • Move misplaced files to their correct locations.
    • Update Imports: If a file is moved, check standard imports within it and imports of it in other files.
  3. Cleanup:

    • Suggest removal of empty directories or obsolete configuration files.
Related skills