Skip to content

CommandLint v0.1.0 — Initial Release

Choose a tag to compare

@seunggabi seunggabi released this 28 Feb 20:18
· 13 commits to main since this release

CommandLint v0.1.0

AI 커맨드를 위한 Linter — 모호성을 검출하고 결정론성을 높인다.

Installation

npm install -g commandlint
# or
npx commandlint "커밋 메시지 잘 작성해줘"
# or
curl -fsSL https://raw.githubusercontent.com/seunggabi/commandlint/main/install.sh | bash

What's New

8개 Built-in Rules

Rule 설명 기본값
ambiguous-qualifier "잘", "적절히" 등 모호한 수식어 error
missing-constraint 도메인별 필수 제약 조건 누락 warn
conflicting-rules "간결하게" vs "상세하게" 충돌 error
implicit-assumption "기존처럼", "알아서" 암묵적 전제 warn
unbounded-scope "모든 파일" 범위 무제한 warn
no-subjective-criterion "예쁘게", "우아하게" 주관적 기준 warn
vague-quantifier "많은", "빠른" 모호한 수량 warn
no-rollback-plan 삭제/배포 작업에 롤백 계획 없음 warn

Determinism Score

확률 기반 불확실성 전파 모델 (정보이론):
P_deterministic = Π(1 - u_i), Score = 10 × P_deterministic

주요 기능

  • --fix 자동 수정 제안
  • --interactive 문제마다 선택지 제공
  • --suggest-print claude -p 통합
  • commandlint . 디렉토리 .md 파일 전체 lint
  • .commandlintrc 설정 파일 지원

Full Changelog: https://github.com/seunggabi/commandlint/commits/v0.1.0