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.

$ Installer

git clone https://github.com/adigunners/adigunners.github.io /tmp/adigunners.github.io && cp -r /tmp/adigunners.github.io/.claude/skills/global-conventions ~/.claude/skills/adigunners-github-io

// tip: Run this command in your terminal to install the skill


name: Global Conventions description: 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.

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.html and winners.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