Claude Code descriptive names for PureScript identifiers
Review variable, function, and module names. Expand unclear abbreviations into descriptive English while preserving behavior. This skill follows Chris Done’s German Naming Convention and uses descriptive English identifiers.
中文Install in Claude Code
Open PureScript source in Claude Code. The naming review uses a local identifier-only exercise.
- Review `.claude/skills/german-naming/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.claude/skills/german-naming/` in your project and save the reviewed file as `.claude/skills/german-naming/SKILL.md`.
- Start Claude Code from that project's root, then select `/german-naming-convention` in the slash menu or type the directory command `/german-naming`.
Example task
Use {oldFunction: 'fmtDur', oldArgument: 'dur', behavior: 'format duration'}. The function body exists and the goal is clearer call sites.What to check
Return {newFunction: 'formatDuration', newArgument: 'duration', behavior: 'format duration'}. Update references and preserve behavior.
Original SKILL.md on GitHub · Updated
Frequently asked question
Can a generic identity argument have a shorter name?
A single letter can suit a truly generic value with no domain noun. Give domain-specific parameters descriptive names.