global-constants

Generates src/shared/constants/global.ts file containing application-wide constants used throughout the application.

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 30, 2025⬇️1downloads

When & Why to Use This Skill

This Claude skill automates the creation of a centralized global constants file (`src/shared/constants/global.ts`) for TypeScript and JavaScript projects. It streamlines the development workflow by providing a standardized structure for application-wide variables, ensuring architectural consistency and reducing the technical debt associated with hardcoded values.

Use Cases

  • Initial Project Scaffolding: Quickly generate the necessary directory structure and boilerplate for shared constants when starting a new software project.
  • Centralizing Configuration: Consolidating environment-specific flags, API base URLs, and application-wide settings into a single source of truth for better maintainability.
  • Enforcing Coding Standards: Ensuring that all team members use a unified file path and naming convention for global constants, improving code readability and collaboration.
nameglobal-constants
descriptionGenerates src/shared/constants/global.ts file containing application-wide constants used throughout the application.

Global Constants Skill

Purpose

Generate the src/shared/constants/global.ts file for application-wide constants.

Output

Create the file: src/shared/constants/global.ts

Notes

  • Contains constants used throughout the application
  • Can be extended with other global constants as needed