Skip to content
Back to skills

Coding.Fix Constants

ASecurity

Move constants to their correct scope based on usage

  • 158 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 7, 2026
development

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add gpsaggese/helpers --skill coding.fix_constants --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coding.Fix Constants?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Coding.Fix Constants
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gpsaggese-coding-fix-constants/badge)](https://www.skillsdirectory.com/skills/gpsaggese-coding-fix-constants)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Move constants to their correct scope based on usage
model: haiku
---

Move constants to the narrowest scope that uses them. Make a constant private
when it is not part of the module's public interface.

# Conventions
- Follow the section `# Constants` from the file `.claude/skills/coding.rules.md`
  for constant definitions and names

# Verification
- [ ] Confirm each constant sits in the smallest scope that uses it (local,
      module-private, or module-public)
- [ ] Confirm module-private constants are prefixed with `_`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.