From guidelines
project coding guidelines input validation, error handling, DDD structure, type safety, testing, gRPC, Rust, linting, and more. Invoke when writing, reviewing, or planning code — including setting up a backend, API, service, or any new project.
How this skill is triggered — by the user, by Claude, or both
Slash command
/guidelines:coding-guidelinesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Apply these rules when writing or reviewing code.
Apply these rules when writing or reviewing code.
Client must not hardcode error message strings. Display message received from server response directly to user.
Keep info next to its source: spec files beside logic files, JSDoc instead of separate doc files, tests colocated with implementation.
Organize code by domain, not by layer. Each domain owns its models, services, repositories, and interfaces in a single cohesive directory.
Prefer gRPC over REST for internal service communication. Use REST only when clients cannot support gRPC (e.g., browsers without grpc-web).
Handle every branch, edge case, and error path — never skip logic with a stub, empty catch, or silent fallthrough.
Use an i18n library that supports type-safe language JSON files. This ensures translation keys are validated at compile time and refactoring is safe.
Prefer using an existing library over implementing logic yourself. Before writing custom code, check if a well-maintained library already solves the problem.
Prefer SSG over SSR or client-side rendering whenever content does not require per-request dynamic data.
Use Result/Option and pattern matching instead of panicking or throwing. Never use unwrap/expect in production paths; propagate errors with ? or match exhaustively.
Always use official SDKs for network communications. Never use plain HTTP/fetch/axios calls directly.
Always make small changes. Each change should be self-contained and easy to track in version control.
Migrate legacy systems incrementally by routing new functionality to new code alongside the old, not in a big-bang rewrite. Remove the old code only once the new path fully covers its behavior.
Run full lint, type-check, and test suite in pre-commit; run build and integration tests in pre-push. Never allow --no-verify to bypass hooks.
Enable all available linter rules and set warnings as errors. Never disable or suppress lint rules inline or in config without team approval.
Aim for 100% test coverage. Every code path, branch, and edge case must have a corresponding test.
Never use Python. Always choose type-safe languages; prefer Rust for new projects.
Always validate env values at startup using a schema library (e.g. env-schema, zod, envalid). Never access raw process.env without validation.
Always validate data at system boundaries: user inputs, API responses, and any network-received data before use.
npx claudepluginhub tupe12334/guidelines --plugin guidelinesProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.