Agent skill

clean-code-naming-rules-enforcement

Sub-skill of clean-code: Naming Rules (Enforcement).

Stars 4
Forks 4

Install this agent skill to your Project

npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/workspace-hub/clean-code/naming-rules-enforcement

SKILL.md

Naming Rules (Enforcement)

Naming Rules (Enforcement)

Item Rule Wrong Correct
Python files snake_case.py PipeCapacity.py pipe_capacity.py
Python dirs snake_case/ orcaflex-dashboard/ orcaflex_dashboard/
Classes PascalCase pipe_capacity PipeCapacity
Functions snake_case calcWallThick calc_wall_thickness
Constants SCREAMING_SNAKE safetyFactor SAFETY_FACTOR
Private helpers _snake_case __helper _helper
Test files test_<module>.py PipeCapacityTest.py test_pipe_capacity.py

Quick check for PascalCase file names (violation):

bash
find src/ -name "*.py" | grep -E '/[A-Z][a-zA-Z]+\.py$'

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results