
Frontend Fundamentals
- 2k repo stars
- Updated March 8, 2026
- toss/frontend-fundamentals
Frontend development best practices: code quality principles (readability, predictability, cohesion, coupling) and accessibility guidelines by Toss
About
frontend-fundamentals is a Claude Code skill in the Frontend Development category. Frontend development best practices: code quality principles (readability, predictability, cohesion, coupling) and accessibility guidelines by Toss
- frontend-fundamentals
- Frontend Development
- AI-coding skill
Frontend Fundamentals by the numbers
- Data as of Jul 29, 2026 (Skillselion catalog sync)
/plugin marketplace add toss/frontend-fundamentals/plugin install frontend-fundamentals@tossAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| repo stars | ★ 2k |
|---|---|
| Last updated | March 8, 2026 |
| Repository | toss/frontend-fundamentals ↗ |
What it does
Frontend development best practices: code quality principles (readability, predictability, cohesion, coupling) and accessibility guidelines by Toss
README.md
Frontend Fundamentals Plugin
Claude Code plugin for automated code quality review
Frontend Fundamentals Plugin brings Frontend Fundamentals code quality principles directly into your Claude Code workflow. It automatically reviews your code against 4 core principles and suggests improvements.
🧭 When to Use
- 🔍 When you've finished coding and want a quick quality check
- 🔄 When you want Claude to iteratively improve code until it meets standards
- 👥 When you're reviewing a PR and want consistent quality criteria
- 🛠️ When your team wants to enforce shared code quality standards
📦 Installation
From GitHub (Recommended)
Step 1: Add the marketplace
/plugin marketplace add toss/frontend-fundamentals
Step 2: Install the plugin
/plugin install frontend-fundamentals@toss-frontend-fundamentals
Or use the interactive UI: run /plugin, go to Discover tab, and select the plugin.
From Local Clone
git clone https://github.com/toss/frontend-fundamentals.git
claude --plugin ./frontend-fundamentals/frontend-fundamentals-plugin
🚀 Usage
Review After Coding
/frontend-fundamentals:review
Reviews your branch diff against main and outputs findings as Critical / Warnings / Suggestions.
Iterative Improvement (Recommended)
Ask Claude to keep improving until the review passes:
Review my code with /frontend-fundamentals:review and fix any issues found.
Repeat until no critical issues remain.
This creates a feedback loop: review → fix → re-review → repeat until clean.
Review Specific Files
/frontend-fundamentals:review src/components/UserForm.tsx
📚 Code Quality Principles
| Principle | What It Checks |
|---|---|
| Cohesion | Are related things together? (scattered files, magic numbers) |
| Coupling | Is change impact minimized? (props drilling, god hooks) |
| Predictability | Does code do what the name says? (hidden side effects) |
| Readability | Is code easy to follow? (nested ternaries, complex conditions) |
Learn more at frontend-fundamentals.com/code-quality
📝 Example Output
# Code Review: feature/user-form
## Summary
Props drilling through 3 layers and inconsistent validation return types.
## Critical (must fix)
- **Coupling** `UserForm.tsx:L42` - Props pass through 3 layers unused
→ Use composition pattern with children
## Warnings (should fix)
- **Predictability** `validators.ts:L15` - Inconsistent return types
→ Use ValidationResult type for all validators
🧪 For Contributors: Evaluation System
The /eval directory contains test tasks and grading criteria to verify skills work correctly.
When to Run Evaluations
- 📝 After modifying any skill file
- 🆕 When adding new code patterns to detect
- 🐛 When fixing false positives/negatives in reviews
Structure
eval/
├── tasks/ # Test code with seeded issues
│ ├── cohesion/
│ ├── coupling/
│ ├── predictability/
│ └── readability/
├── graders/ # Grading criteria (PASS/PARTIAL/FAIL)
│ └── grader.md
├── results/ # Evaluation results by date
└── run-eval.md # How to run evaluations
Quick Start
- Run baseline (without skill) to establish comparison
- Run with skill loaded
- Grade using
eval/graders/grader.mdcriteria - Skill passes if ≥2/3 trials achieve PASS
See eval/run-eval.md for detailed instructions.
License
MIT © Viva Republica, Inc. See LICENSE for details.