Install
openclaw skills install coding-standardsUniversal coding standards for TypeScript, JavaScript, React, and Node.js. Principles: readability first, KISS, DRY, YAGNI. Covers naming, type safety, error handling, async patterns, React hooks, API design, file organization, performance, testing, code smells. Trigger phrases: coding standards, best practices, code review, quality standards, naming conventions.
openclaw skills install coding-standardsUniversal standards for maintainable, scalable TypeScript/JavaScript code.
any, use explicit interfacesKISS — Simplest solution that works. No premature optimization.
DRY — Extract common logic into reusable functions and components.
YAGNI — Don't build before it's needed. Start simple, refactor when needed.
Readability — Code is read 10x more than written. Clarity over cleverness.
// Good: Descriptive, type-hinted by name
const marketSearchQuery = 'election'
const isUserAuthenticated = true
const totalRevenue = 1000
// Bad: Single-letter, unclear
const q = 'election'
const flag = true
const x = 1000
// Good: Verb-noun pattern
async function fetchMarketData(id: string) { }
function calculateSimilarity(a: number[], b: number[]) { }
function isValidEmail(email: string): boolean { }
// Bad: Unclear or noun-only
async function market(id: string) { }
function similarity(a, b) { }
function email(e) { }
references/typescript.md — type safety, immutability, async patternsreferences/react.md — component structure, hooks, state managementreferences/api-design.md — REST conventions, validation, error responsesreferences/file-org.md — project structure, file namingreferences/testing.md — test patterns, AAA structure, test namingreferences/code-smells.md — anti-patterns, long functions, deep nesting, magic numbersAdapted from everything-claude-code by @affaan-m (MIT)