.github/skills/backend-development/SKILL.md
Build a robust backend system with databases, APIs, and server-side logic. Use when designing and implementing APIs, database query optimization, handle security vulnerabilities and other backend system tasks.
npx skillsauth add sonht1109/vscode-copilot-kit backend-developmentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
These conventions apply to ALL backend code. They override your defaults because they represent this project's standards, not general best practices.
All JSON response keys MUST use snake_case. This is a deliberate project convention — Claude's default is camelCase, which is wrong for this project.
// Correct (this project's convention)
{ "user_id": 1, "first_name": "John", "created_at": "2024-01-01" }
// Wrong (Claude's default)
{ "userId": 1, "firstName": "John", "createdAt": "2024-01-01" }
Use a structured logger (e.g. logger.info(), logger.error(), logger.warn()), never console.log or console.error. Structured logs with metadata are essential for observability in production.
// Correct
logger.error('Order creation failed', {
error: error.message,
user_id: userId,
product_id: productId,
});
// Wrong
console.error('Order creation failed:', error);
console.log(error);
Use schema validation libraries (zod, Joi, or class-validator) instead of writing manual validation functions. Schema libraries provide consistent error formats, type coercion, and are easier to maintain.
// Correct — use zod
const createOrderSchema = z.object({
user_id: z.number().int().positive(),
product_id: z.number().int().positive(),
quantity: z.number().int().positive().max(1000),
});
// Wrong — manual validation
if (!userId || typeof userId !== 'number') { ... }
Read the relevant reference when working in that domain:
development
This skill focuses on writing/designing effective and comprehensive tests for code. It emphasizes the importance of covering various scenarios, including happy cases, error cases, edge cases, and input validation. The skill also highlights the need to write tests based on expected correct behavior rather than current implementation, and to maintain a high level of coverage (at least 80%).
content-media
Use when complex problems require systematic step-by-step reasoning with ability to revise thoughts, branch into alternative approaches, or dynamically adjust scope. Ideal for multi-stage analysis, design planning, problem decomposition, or tasks with initially unclear scope. DO NOT use when single-step answers suffice.
tools
--- name: sentry description: Guide for using the Sentry CLI to interact with Sentry from the command line. Use when the user asks about viewing issues, events, projects, organizations, making API calls, or authenticating with Sentry via CLI. Primary workflow: given a short issue ID (e.g. PROJECT-123), fetch full bug report with description and stack trace. --- # Sentry CLI Skill This skill handles Sentry CLI operations: authentication, issue lookup by short ID, event details, and bug report g
documentation
Use when doing tasks related to markdown files, such as editing README.md or other documentation files.