Constexpr — Development skill for Claude Code
Automatically apply constexpr to constants, constructors, operators, and functions.
How to install Constexpr
Installs to ~/.claude/commands/elibaumgardner-refactor-tools-constexpr.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/EliBaumgardner/refactor-tools/HEAD/.claude/commands/constexpr.md -o ~/.claude/commands/elibaumgardner-refactor-tools-constexpr.md Restart Claude Code, or start a new session, for it to be picked up.
What Constexpr does
description: Automatically apply constexpr to constants, constructors, operators, and functions argument-hint: [path|file|class|all] allowed-tools: Bash(refactor.constexpr:*), Read
Automatically analyze and apply `constexpr` to constants, constructors, comparison operators, accessors/getters, and static helper functions where compile-time evaluation is valid.
Pass `$ARGUMENTS` through as it stands:
refactor.constexpr $ARGUMENTS
This is an alias for `refactor.const_exper`.
Alternatives in Development
- Career-Ops For Codex — Read CLAUDE.md for all project instructions, routing, and behavioral rules 32.5k ★
- Ruler — Ruler — apply the same rules to all coding agents 2.9k ★
- Domain Driven Design — Apply DDD patterns and bounded contexts 663 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Const Exper
Automatically apply constexpr to constants, constructors, operators, and functions
Review Hardcoded Values
Scan for embedded literals that belong in config or a constants module: URLs, magic numbers, thresholds, error
Cleanup
@include shared/constants.yml#Process_Symbols
Dev Setup
@include shared/constants.yml#Process_Symbols
Ideonomy Skill
A Claude Code skill for expanding ideas via Patrick Gunkel's ideonomy, synthesized from Grace Kind's essays. P
Claude Code Course
Companion repo for Claude Code for GTM Operators. Starter templates, example skills, and a curated index of to
Related Agents
Review Conventions
Reviews the Rust diff for convention violations, rename consistency, drift in shared constants, cross-file inf
Nextjs Page Architect
Next.js App Router page architect for creating properly structured pages with component separation. Use PROACT
Dead Code
Confirms what nothing reaches — unreferenced exports, files, and dependencies from the tool receipts, plus wha