coding-standards
This skill provides a set of baseline coding conventions and best practices for TypeScript, JavaScript, and React projects. It covers naming, immutability, error handling, API design, file organization, and testing patterns to ensure code quality and maintainability.
Is coding-standards safe to install?
Safe to install: our audit of coding-standards's source files found 0 shell commands, 0 external URLs, no file writes (none risk). Every command and URL listed appears verbatim in the skill's source. This skill provides static documentation and guidelines for code quality. It does not execute commands or perform file operations.
How we audit skills: our security review methodology.
Who is this skill for?
Developers and AI agents working on TypeScript, JavaScript, or React projects who need to enforce consistent coding standards and architectural patterns.
What can you do with it?
- Starting a new project or module
- Reviewing code for quality and maintainability
- Refactoring existing code to follow conventions
- Enforcing naming, formatting, or structural consistency
- Setting up linting, formatting, or type-checking rules
- Onboarding new contributors to coding conventions
How good is this skill?
Quality score: 5/10. The skill provides clear, actionable, and well-structured coding guidelines with concrete examples for both 'good' and 'bad' patterns.
What does the skill file contain?
# Coding Standards & Best Practices Baseline coding conventions applicable across projects. This skill is the shared floor, not the detailed framework playbook. - Use `frontend-patterns` for React, state, forms, rendering, and UI architecture. - Use `backend-patterns` or `api-design` for repository/service layers, endpoint design, validation, and server-specific concerns. - Use `rules/common/coding-style.md` when you need the shortest reusable rule layer instead of a full skill walkthrough. ## When to Activate - Starting a new project or module - Reviewing code for quality and maintainabi...
Frequently asked questions
Does this skill provide framework-specific guidance?
It provides baseline standards for React and Next.js, but the documentation recommends using specialized skills like 'frontend-patterns' or 'backend-patterns' for deeper framework-specific architecture.
What is the recommended approach for error handling?
The skill mandates the use of try-catch blocks for asynchronous operations, checking response status codes, and logging errors.
How does this skill suggest handling state in React?
It recommends using functional updates for state based on previous values to avoid stale state in asynchronous scenarios.
What are the naming conventions for files?
Components use PascalCase, hooks use camelCase with a 'use' prefix, utilities use camelCase, and type files use a .types suffix.
Related skills
developing-genkit-js
50.1KDevelopers building AI agents, flows, and tools using the Genkit framework in JavaScript or TypeScript environments
This skill provides guidance for developing AI-powered applications using Genkit in Node.js and TypeScript. It enforces a strict troubleshooting protocol that prioritizes reading local documentation via the Genkit CLI over internal knowledge to account for recent breaking API changes.
turborepo
45.6KDevelopers and DevOps engineers managing JavaScript or TypeScript monorepos with Turborepo
The Turborepo skill provides guidance on configuring monorepo build systems, task pipelines, caching strategies, and architectural boundaries using Turborepo.
golang-code-style
33.3KGo developers and AI coding agents performing code reviews or writing new Go code
This skill provides a comprehensive set of Go code style conventions focused on clarity, maintainability, and idiomatic patterns. It covers variable declarations, control flow, function design, file organization, and string handling, serving as a guide for human-judgment-based code reviews that complement automated linters.
gsap-core
30.9KDevelopers building animations in React, Vue, Svelte, or vanilla JavaScript who need to implement tweens, timelines, or responsive animation logic
The gsap-core skill provides instructions and patterns for using the GreenSock Animation Platform (GSAP) core API. It covers tween methods, easing, stagger, transforms, accessibility via gsap.matchMedia, and best practices for performant animations in JavaScript environments.