naming-rules

Enforce consistent code naming conventions across a project.

Updated Jan 27, 2026
One-click install
npx skills add https://github.com/Aliisa-yt/twitchbot --skill naming-rules-aliisa-yt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: naming-rules
Source: https://github.com/Aliisa-yt/twitchbot/tree/main/.github/skills/naming-rules
Command: npx skills add https://github.com/Aliisa-yt/twitchbot --skill naming-rules-aliisa-yt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures consistent and understandable naming conventions across the project, improving code readability and maintainability.

Core Features & Use Cases

  • Prioritization Rules: Defines the order of precedence for naming rules (external specs, project conventions, PEP 8).
  • Usage-Specific Guidelines: Provides tailored naming advice for classes, methods, variables, constants, files, and tests.
  • Rename Operations: Outlines safe and effective procedures for renaming elements to maintain backward compatibility and avoid errors.
  • Use Case: When introducing a new feature, developers can consult this Skill to ensure all new variables, functions, and files adhere to the established project standards, preventing inconsistencies.

Quick Start

Apply the project's naming conventions to the new function calculate_user_score.

Frequently Asked Questions about naming-rules

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

FAQPage Schema
How do I enforce consistent code naming conventions across a Python project?

To enforce consistent code naming, apply a prioritized order using external specifications, existing project patterns, and PEP 8 guidelines. This prevents inconsistencies and improves readability for classes, methods, variables, and files.

What is the best way to safely rename variables and methods without breaking API compatibility?

Safe renaming requires following structured procedures to maintain backward compatibility and prevent semantic drift. You must apply project conventions and verify changes through testing to avoid breaking existing API compatibility.

Does PEP 8 define specific naming rules for test functions and private members?

PEP 8 guidelines include specific naming rules for test functions and private members. You should prioritize external specs first, then project conventions, to ensure these elements adhere to established standards.

How do I standardize naming for new features to match existing project conventions?

To standardize naming for new features, consult prioritized rules that check external specifications and existing project patterns first. This ensures new functions, variables, and files match established conventions.

When should I prioritize external specifications over PEP 8 for code style?

You should prioritize external specifications over PEP 8 code style when defined specs exist for your project. This ensures your naming convention respects external requirements before falling back to standard guidelines.

What naming convention rules apply to constants, classes, and files in Python?

Naming convention rules for constants, classes, and files prioritize external specs, then project patterns, then PEP 8. This structured approach improves code readability and maintainability across the project.