juniors-best-practice
Juniors-focused React and TypeScript best practices. Use this skill when writing or reviewing code to enforce clear, consistent, and maintainable patterns…
от siberiacancode★ 25 звёзд на GitHub
Установить juniors-best-practice в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Juniors Best Practice
Juniors-focused best practices for React and TypeScript projects. The rules are short, practical, and organized by scope to guide consistent code reviews, refactoring, and new feature work.
When to Apply
Reference these guidelines when:
- Writing or reviewing React/TypeScript code for clarity and consistency
- Teaching junior developers or establishing baseline team conventions
- Refactoring code to align with simple, maintainable patterns
- Standardizing project-wide practices (imports, tooling, naming, commits)
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Beginner Foundations | HIGH | beginner- |
| 2 | TypeScript | MEDIUM | typescript- |
| 3 | React | MEDIUM | react- |
| 4 | Styling | MEDIUM | styling- |
| 5 | Devtools | MEDIUM | devtools- |
| 6 | Assets | LOW-MEDIUM | assets- |
| 7 | Git | LOW | git- |
| 8 | REST | MEDIUM | rest- |
Quick Reference
1. Beginner Foundations (HIGH)
beginner-early-return- Prefer early returns to reduce nestingbeginner-double-negation- Avoid!isNotXpatternsbeginner-unnecessary-destructuring- Keep objects intact for claritybeginner-const-vs-let- Default to constbeginner-nullish-vs-or- Use ?? for defaultsbeginner-useless-return-arrow- Remove redundant returnbeginner-uppercase-constants- Use UPPER_CASE only for stable constants
2. TypeScript (MEDIUM)
typescript-alias-naming- Use safe path alias prefixestypescript-flat-translations- Prefer flat translation keys to reduce duplication
3. React (MEDIUM)
react-string-props- Use string literals when possiblereact-children-prop- Use children for compositionreact-extends-component- Extend native element propsreact-props-typing- Keep props typing readable
4. Styling (MEDIUM)
styling-classnames-function- Use clsx for conditional classesstyling-css-states- Prefer CSS selectors for component states
5. Devtools (MEDIUM)
devtools-formatter-linter- Use formatter and linterdevtools-sorting-imports- Keep imports ordered and groupeddevtools-package-manager-lock- Use a single package manager
6. Assets (LOW-MEDIUM)
assets-svg-files- Use SVGs as components
7. Git (LOW)
git-commit-convention- Use consistent commit conventions
8. REST (MEDIUM)
rest-scalability-abstractions- Build REST layer around reusable transport abstractionsrest-naming-openapi- Keep REST naming aligned with OpenAPI contracts
How to Use
Read individual rule files for detailed explanations and examples:
rules/beginner-early-return.md
rules/react-props-typing.md
Each rule file contains:
- Brief explanation of why it matters
- Incorrect code example with explanation
- Correct code example with explanation
- Additional context and references
Full Compiled Document
For the complete guide with all rules expanded: AGENTS.md
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- AGENTS.md
- README.md
- metadata.json
- rules/_sections.md
- rules/_template.md
- rules/assets-svg-files.md
- rules/beginner-const-vs-let.md
- rules/beginner-double-negation.md
- rules/beginner-early-return.md
- rules/beginner-nullish-vs-or.md
- rules/beginner-unnecessary-destructuring.md
- rules/beginner-uppercase-constants.md
- rules/beginner-useless-return-arrow.md
- rules/devtools-formatter-linter.md
- rules/devtools-package-manager-lock.md
- rules/devtools-sorting-imports.md
- rules/git-commit-convention.md
- rules/react-children-prop.md
- rules/react-extends-component.md
- rules/react-props-typing.md
- rules/react-string-props.md
- rules/rest-naming-openapi.md
- rules/rest-scalability-abstractions.md
- rules/styling-classnames-function.md
- rules/styling-css-states.md
- rules/typescript-alias-naming.md
- rules/typescript-flat-translations.md
FAQ
Что делает скилл juniors-best-practice?
Juniors-focused React and TypeScript best practices. Use this skill when writing or reviewing code to enforce clear, consistent, and maintainable patterns across common scopes like React, TypeScript, styling, devtools, assets, and Git.
Как установить скилл juniors-best-practice?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл juniors-best-practice запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…