Skip to main content

best-practices

Language-specific best practices, code quality standards, and framework detection rules. Use when executing refactoring workflows, applying code quality rules, detecting frameworks, or checking language-specific patterns for TypeScript, Python, Go, Swift, or React.

소스 정보

저장소
FradSer/dotclaude
최근 소스 활동
2026년 6월 22일 09:37
감지된 SKILL.md 언어
영어
스타
596
포크
51

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
100 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
best-practices
description
Language-specific best practices, code quality standards, and framework detection rules. Use when executing refactoring workflows, applying code quality rules, detecting frameworks, or checking language-specific patterns for TypeScript, Python, Go, Swift, or React.
user-invocable
false
version
1.3.0
# Best Practices ## Language References Each file extension maps to a specific reference: - `.ts`, `.js` — `references/typescript.md` - `.tsx`, `.jsx` — `references/typescript.md` + `references/react/react.md` - `.py` — `references/python.md` + `references/python/INDEX.md` - `.go` — `references/go.md` - `.swift` — `references/swift.md` Universal principles are in `references/universal.md`. ## Next.js/React References For Next.js projects, the `references/react/` directory provides: 1. `references/react/rules/INDEX.md` — pattern index by impact level 2. `references/react/rules/_sections.md` — priorities and categories 3. Specific rule files matching observed patterns ## Rule Application - Framework-specific rules (e.g., Next.js) apply only when that framework is detected - **CRITICAL** rules have highest priority: waterfalls, bundle size, hydration - All refactoring MUST preserve behavior and public interfaces ## Code Quality Standards - **Comments**: Only for complex business logic; code-restating comments are unnecessary - **Error Handling**: Try-catch only where recoverable; no defensive checks in trusted paths - **Type Safety**: No `any`; proper types or `unknown` with guards are required - **Style**: Existing code style and CLAUDE.md conventions take precedence - **Cleanup**: Unused imports, variables, functions, and types are removed - **No compat hacks**: Unused `_vars` and re-exports of deleted code are deleted - **Renaming**: Descriptive names are preferred over marking as unused - **Dead code**: Dead code is deleted, never commented out - **File Organization**: Single Responsibility applies at file level; files with multiple concerns are candidates for splitting (see `references/universal.md`)
GitHub에서 보기