How this skill is triggered — by the user, by Claude, or both
Slash command
/rules:addThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
사용자가 "패턴 추가", "컨벤션 추가", "앞으로 이렇게 작성해줘", "add convention", "add pattern" 등으로 호출하면 다음 흐름을 따른다.
사용자가 "패턴 추가", "컨벤션 추가", "앞으로 이렇게 작성해줘", "add convention", "add pattern" 등으로 호출하면 다음 흐름을 따른다.
<category>/<prefix>-<name>.md 파일 생성.claude-plugin/plugin.json과 marketplace.json의 version을 동일하게 올린다---
title: Rule Title
impact: LOW|MEDIUM|HIGH|CRITICAL
impactDescription: Optional impact description
tags: tag1, tag2
---
| Category | Prefix | 예시 |
|---|---|---|
| react | async- | await, Promise, Suspense |
| react | react- | 모달, 상태 관리 패턴 |
| react | rerender- | memo, derived state |
| react | rendering- | conditional render |
| react | js- | 캐싱, 조기 반환 |
| react | advanced- | ref, initialization |
| typescript | ts- | type assertion, generic |
| structure | struct- | 폴더 구조, DDD, 데이터 레이어 |
| styling | styling- | vanilla-extract, 디자인 토큰 |
| accessibility | a11y- | ARIA, 키보드, 시맨틱 HTML |
| testing | test- | AAA 패턴, 테스트 품질 |
| naming | naming- | 네이밍, i18n, 주석 |
새 카테고리가 필요하면 <new-category>/ 디렉토리를 생성한다.
저장 완료 후 사용자에게 보고:
npx claudepluginhub flex-hyuntae/claude-plugins --plugin rulesGuides creation of .claude/rules/ files for path-scoped project conventions using TDD workflow: RED (test gaps), GREEN (write rule), REFACTOR (optimize). Triggers on 'add rule', 'create convention', 'scope guideline'.
Generates a coding rule from intent and renders it per supported host tool. Use when adding, refactoring, or scanning for rules, conventions, or standards.
Guides authoring .claude/rules/*.md files for auto-applied, file-pattern-scoped constraints on code conventions, quality standards, and project-specific guidance.