Skip to content
Back to skills

Naming And Structure Cleanup

ASecurity

Use to enforce consistent naming conventions and file structures across a project without changing business logic.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 29, 2026
ai-agents

Security analysis

A100/100

Scanned May 29, 2026

npx -y skills add yeaight7/agent-powerups --skill naming-and-structure-cleanup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Naming And Structure Cleanup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Naming And Structure Cleanup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yeaight7-naming-and-structure-cleanup/badge)](https://www.skillsdirectory.com/skills/yeaight7-naming-and-structure-cleanup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: naming-and-structure-cleanup
description: "Use to enforce consistent naming conventions and file structures across a project without changing business logic."
---

# Naming and Structure Cleanup

Inconsistent naming (camelCase vs snake_case) and messy file structures make codebases hard to navigate.

## Cleanup Rules

1. **Observe Local Conventions**: Before renaming, scan the project to determine the dominant convention. If 80% of files use `camelCase`, enforce `camelCase`.
2. **Targeted Renames**: Use the `safe-rename` command pattern to update variables, classes, or files. Ensure all imports are updated.
3. **File Co-location**: Move files so that closely related logic is co-located (e.g., keeping `Button.tsx`, `Button.css`, and `Button.test.tsx` in the same directory).
4. **No Logic Changes**: Do not refactor the internal logic of functions while performing naming cleanups. Keep the diff focused purely on structure and names.
5. **Verify**: Run the project's type checker and test suite after every structural change.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…