Back to skills
SKILL.md
Naming Rules Enforcement
ASecuritySub-skill of clean-code: Naming Rules (Enforcement).
- 17 stars
- 0 votes
- 0 copies
- 0 views
- Added September 9, 2026
Security analysis
100/100npx -y skills add vamseeachanta/workspace-hub --skill naming-rules-enforcement --agent claude-codeAre you the author of Naming Rules Enforcement?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vamseeachanta-naming-rules-enforcement)---
name: clean-code-naming-rules-enforcement
description: 'Sub-skill of clean-code: Naming Rules (Enforcement).'
version: 2.1.0
category: workspace
type: reference
scripts_exempt: true
---
# 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$'
```
---
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.