coding-standards
Universal coding standards - naming, formatting, error handling, immutability, SOLID principles
Profile →npx skills add vibeeval/vibecosystem --skill coding-standards --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Coding Standards ## Naming Conventions | Tip | Format | Ornek | |-----|--------|-------| | Variable | camelCase | `userName`, `itemCount` | | Function | camelCase, verb-first | `getUserById`, `calculateTotal` | | Class/Type | PascalCase | `UserService`, `OrderItem` | | Constant | UPPER_SNAKE | `MAX_RETRIES`, `API_URL` | | File | kebab-case | `user-service.ts`, `order-item.ts` | | Boolean | is/has/should prefix | `isActive`, `hasPermission` | ## Immutability ```typescript // YANLIS: Mutate user.name = newName; items.push(newItem); // DOGRU: Yeni obje const updated = { ...user, name: newName }; const newItems = [...items, newItem]; ``` ## Error Handling ```typescript // Custom error class class AppError extends Error { constructor(public code: string, message: string, public statusCode = 500) { super(message); } } // Try-catch with specific errors try { const result = await riskyOperation(); return result; } catch (error) { if (error instanceof ValidationError) { throw new AppError('VALIDATION', error.message, 400); } throw new AppError('INTERNAL', 'Unexpected error', 500); } ``` ## Function Rules - Max 50 satir, tek sorumluluk - Max 3 parametre (fazlasi obje olarak) - Early return
- Naming Conventions
- Immutability
- Error Handling
- Function Rules
- SOLID Principles
- Result<T,E> Pattern (Functional Error Handling)
- Comment Rules
- function vs Arrow Function
- Anti-Patterns
What does the coding-standards skill do?
Universal coding standards - naming, formatting, error handling, immutability, SOLID principles
How do I install it?
Run `npx skills add vibeeval/vibecosystem --skill coding-standards --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From vibeeval/vibecosystem, a repository with 521 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.