coding.fix_constants
Move constants to their correct scope based on usage
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- model
- haiku
- description
- Move constants to their correct scope based on usage
03 SKILL.md 正文
Move constants to match their usage scope and visibility requirements. Constants should be placed where they are used and made private when not part of the module's public interface
Conventions
- Follow the section
# Constantsfrom the file.claude/skills/coding.rules.md
Apply the conventions in .claude/skills/coding.rules.md when writing 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
_
04 同仓库更多 Skills
tutorial_in_60_mins.propagate_docker_changes
Sync tutorial and class-project Docker files to match project_template
tutorial_in_60_mins.merge_markdown
Merge the content of a markdown file into a Jupyter notebook
tutorial_in_60_mins.format
Format a directory to follow the "Learn X in 60 Minutes" tutorial conventions
tutorial_in_60_mins.create
Create a tutorial directory for the Learn X in 60 Minutes conventions
todo.reorg_in_progress
Reorganize ai_task_queue.md so in-progress tasks, not-started tasks, and mislabeled topic headers sit under the right H1 stage
todo.reorg_headers
Reorganize ai_task_queue.md .md so every H2 topic matches ALL TOPICS and every H3 task sits under the right topic, keeping its H1 stage