global-conventions
Maintain consistent code structure and naming patterns across JavaScript modules, CSS, and HTML files in this static website. Use this skill when establishing or following project-wide conventions for file organization, naming, and code structure.
When & Why to Use This Skill
This Claude skill automates the enforcement of project-wide coding standards and global conventions. It ensures consistent naming patterns, file organization, and structural integrity across JavaScript, CSS, and HTML files, significantly improving code maintainability and team collaboration for web development projects.
Use Cases
- Establishing and enforcing consistent naming conventions for JavaScript functions and variables across multiple modules.
- Defining standardized file naming patterns for new components and utilities to maintain a clean project directory.
- Ensuring HTML structural consistency across multiple pages (e.g., index.html and winners.html) for a uniform user experience.
- Implementing and maintaining CSS class naming methodologies like BEM to prevent style conflicts and improve modularity.
- Organizing JSON data files with consistent property naming and structural patterns to streamline data-driven workflows.
| name | Global Conventions |
|---|
Global Conventions
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle global conventions in the adigunners.github.io static website project.
When to use this skill
- Establishing consistent naming conventions for JavaScript functions and variables across different modules
- Defining consistent file naming patterns for new components or utilities in the
js/directory - Ensuring HTML structure follows consistent patterns across
index.htmlandwinners.html - Maintaining consistent indentation and formatting in CSS rules and selectors
- Organizing JSON data files in the
data/directory with consistent property naming and structure - Defining conventions for CSS class naming (e.g., BEM or other methodologies) and ensuring all files follow them
- Setting up consistent module export patterns in vanilla JavaScript to enable code reusability
Instructions
For details, refer to the information provided in this file: global conventions