About juniors-best-practice
A practical guide to React and TypeScript conventions for junior developers and teams establishing shared standards. Its scoped, prioritized rules include contrasting code examples for reviews, refactoring, and feature work.
Key features
- 01Rules grouped by priority and scope
- 02React and TypeScript guidance
- 03Formatting, imports, and Git conventions
- 04Incorrect and corrected code examples
- 05Individual rule files and compiled guide
Use cases
- 01Review React/TypeScript code
- 02Teach junior developers
- 03Refactor toward maintainable patterns
- 04Standardize project conventions
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ siberiacancode/ agent-skills --skill juniors-best-practiceAfter installing, type/juniors-best-practicein Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
AGENTS.mdmetadata.jsonREADME.mdrules/_sections.md_template.mdassets-svg-files.mdbeginner-const-vs-let.mdbeginner-double-negation.mdbeginner-early-return.mdbeginner-nullish-vs-or.mdbeginner-unnecessary-destructuring.mdbeginner-uppercase-constants.mdbeginner-useless-return-arrow.mddevtools-formatter-linter.mddevtools-package-manager-lock.mddevtools-sorting-imports.mdgit-commit-convention.mdreact-children-prop.mdreact-extends-component.mdreact-props-typing.mdreact-string-props.mdrest-naming-openapi.mdrest-scalability-abstractions.mdstyling-classnames-function.mdstyling-css-states.mdtypescript-alias-naming.mdtypescript-flat-translations.mdDetails
From the project READMEJuniors 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