Agent skill · software engineering · aiskillstore
no-hardcoding
Forbid hardcoded values in code. Use this when reviewing code, writing new features, or when magic numbers/strings are detected. Enforces constants, env variables, and config files.
Why this skill is useful
Provides specific patterns and scripts for detecting and refactoring hardcoded values in code, which the AI wouldn't reliably generate on its own.
What it needs
About 3k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
No Hardcoding Policy 코드에 하드코딩된 값을 금지하고 상수/환경변수/설정 파일을 사용하도록 강제하는 스킬입니다. Core Principle "코드에 직접 값을 쓰는 순간, 변경이 배포가 된다." Rules 유형 상태 대안 ------ ------ ------ Magic Number 🔴 금지 상수/enum Magic String 🔴 금지 상수/enum URL/경로 🔴 금지 환경변수/config 크리덴셜 🔴 절대 금지 .env + secrets 타임아웃/딜레이 🔴 금지 상수/config 포트 번호 🔴 금지 환경변수 API 키 🔴 절대 금지 환경변수 + secrets Detection Patterns Magic Numbers Magic Strings URLs/Endpoints Credentials (절대 금지) Timeouts/Delays File Organization constants 예시 환경변수 검증 Detection Commands Workflow 1. 코드 리뷰 시 2. 새 기능 작성 시 Exceptions 허용되는 경우 Checklist [ ] Magic Number 없음 [ ] Magic String 없음 (반복 문자열) [ ] URL 하드코딩 없음 [ ] 크리덴셜 하드코딩 없음 [ ] 상수 파일에 정리됨 [ ] .env.example 업데이트됨 [ ] 환경변수 검증 로직 있음
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/no-hardcoding