mcpField
J
juniors-best-practice

juniors-best-practice

github.com/siberiacancodeDevelopment23121 installsUpdated 3w ago
Repository

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

  1. 01Rules grouped by priority and scope
  2. 02React and TypeScript guidance
  3. 03Formatting, imports, and Git conventions
  4. 04Incorrect and corrected code examples
  5. 05Individual rule files and compiled guide

Use cases

  1. 01Review React/TypeScript code
  2. 02Teach junior developers
  3. 03Refactor toward maintainable patterns
  4. 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-practice

After installing, type/juniors-best-practicein Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

AGENTS.md
metadata.json
README.md
rules/
_sections.md
_template.md
assets-svg-files.md
beginner-const-vs-let.md
beginner-double-negation.md
beginner-early-return.md
beginner-nullish-vs-or.md
beginner-unnecessary-destructuring.md
beginner-uppercase-constants.md
beginner-useless-return-arrow.md
devtools-formatter-linter.md
devtools-package-manager-lock.md
devtools-sorting-imports.md
git-commit-convention.md
react-children-prop.md
react-extends-component.md
react-props-typing.md
react-string-props.md
rest-naming-openapi.md
rest-scalability-abstractions.md
styling-classnames-function.md
styling-css-states.md
typescript-alias-naming.md
typescript-flat-translations.md

Details

From the project README

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

PriorityCategoryImpactPrefix
1Beginner FoundationsHIGHbeginner-
2TypeScriptMEDIUMtypescript-
3ReactMEDIUMreact-
4StylingMEDIUMstyling-
5DevtoolsMEDIUMdevtools-
6AssetsLOW-MEDIUMassets-
7GitLOWgit-
8RESTMEDIUMrest-

Quick Reference

1. Beginner Foundations (HIGH)
  • beginner-early-return - Prefer early returns to reduce nesting
  • beginner-double-negation - Avoid !isNotX patterns
  • beginner-unnecessary-destructuring - Keep objects intact for clarity
  • beginner-const-vs-let - Default to const
  • beginner-nullish-vs-or - Use ?? for defaults
  • beginner-useless-return-arrow - Remove redundant return
  • beginner-uppercase-constants - Use UPPER_CASE only for stable constants
2. TypeScript (MEDIUM)
  • typescript-alias-naming - Use safe path alias prefixes
  • typescript-flat-translations - Prefer flat translation keys to reduce duplication
3. React (MEDIUM)
  • react-string-props - Use string literals when possible
  • react-children-prop - Use children for composition
  • react-extends-component - Extend native element props
  • react-props-typing - Keep props typing readable
4. Styling (MEDIUM)
  • styling-classnames-function - Use clsx for conditional classes
  • styling-css-states - Prefer CSS selectors for component states
5. Devtools (MEDIUM)
  • devtools-formatter-linter - Use formatter and linter
  • devtools-sorting-imports - Keep imports ordered and grouped
  • devtools-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 abstractions
  • rest-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

Comments

Markdown supported