com um clique
coding-practices
// Code quality practices: error handling, validation, logging, and DRY. Use when writing or reviewing code.
// Code quality practices: error handling, validation, logging, and DRY. Use when writing or reviewing code.
JS/TS conventions for syntax, modules, and types. Use when writing or reviewing JavaScript/TypeScript code.
Go conventions for hexagonal architecture, project structure, error handling, testing, and observability. Use when writing Go services.
Workflow rules for task execution, respecting user code, and git commits. Use when planning or executing development tasks.
System architecture: modules, project structure, ADRs, and testing. Use when designing or reviewing systems.
CI/CD and operations practices including GitHub Actions, Kubernetes, and operational tooling. Use when working with deployment and infrastructure.
Skill discovery and rule management. Use when starting any conversation to identify applicable skills, and when user states preferences or asks to add/modify rules.
| name | coding-practices |
| description | Code quality practices: error handling, validation, logging, and DRY. Use when writing or reviewing code. |
Guidelines for writing maintainable, robust, and self-documenting code.
// Self-documenting with proper error handling
function createUser(email: string, age: number): User {
if (!email.includes("@")) throw new Error("Invalid email");
if (age < 0 || age > 150) throw new Error("Invalid age");
return { email, age };
}
See rules.md for complete guidelines with examples.