All skills
siberiacancode avatar

/juniors-best-practice

@913a865

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.

Use this Skill: https://skilld.dev/gh/siberiacancode/agent-skills/juniors-best-practice

This session only. Nothing lands on disk.

README.md

≈588 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Juniors Best Practice

A juniors-focused set of React and TypeScript best practices, organized by scope (JS, React, styling, devtools, and more). Each guide is short, practical, and optimized for agents and LLMs.

Structure

  • rules/ - Individual rule files (one per guide)
    • _sections.md - Section metadata (titles, impacts, descriptions)
    • _template.md - Template for creating new rules (AI frontmatter)
    • scope-description.md - Individual rule files
  • metadata.json - Document metadata (version, organization, abstract)
  • AGENTS.md - Compiled overview (generated)

Creating a New Rule

  1. Copy rules/_template.md to rules/scope-description.md
  2. Choose the appropriate scope prefix:
    • beginner- for Beginner Foundations
    • typescript- for TypeScript
    • react- for React
    • styling- for Styling
    • devtools- for Devtools
    • assets- for Assets
    • git- for Git
    • rest- for REST API architecture
  3. Fill in the AI frontmatter and the guide content
  4. Include concise examples where they help understanding

Rule File Structure

Each rule file should follow this structure:

---
title: Rule Title Here
impact: MEDIUM
tags: tag1, tag2
---

# Rule Title Here

Brief explanation of the rule and why it matters.

**Incorrect (description of what's wrong):**

```typescript
// Bad code example here
```

**Correct (description of what's right):**

```typescript
// Good code example here
```

Reference: [Link to documentation or resource](https://example.com)

File Naming Convention

  • Files starting with _ are special (excluded from build)
  • Rule files: scope-description.md (e.g., beginner-nullish-vs-or.md)
  • Section is inferred from filename prefix
  • Rules are sorted alphabetically by title within each section

Impact Levels

  • HIGH - Foundational habits and core principles
  • MEDIUM - Practical improvements for everyday work
  • LOW-MEDIUM - Useful but more situational
  • LOW - Team-level conventions

Contributing

When adding or modifying rules:

  1. Use the correct filename prefix for your section
  2. Follow the _template.md structure
  3. Keep the title action-oriented and easy to scan
  4. Run pnpm build to regenerate AGENTS.md

Acknowledgments

Inspired by public React and TypeScript best practices and community guidelines.

Source: SKILL.md on GitHub

1 warning16d4 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill provides a comprehensive set of best practices for junior React and TypeScript developers. It includes guidelines on coding style, state management, and tooling, referencing both well-known community packages and libraries maintained by the author. No security risks or malicious behaviors were identified.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer7mo

    25/25 files flagged

Signed by skilld at 913a865. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 6 months ago
metadata
{
  "author": "siberiacancode",
  "version": "1.0.0"
}

README badge

README badge for siberiacancode/agent-skills/juniors-best-practice