All skills
debabratasaha-dev avatar

/backend-engineer

@a1f81fa

Professional backend engineering for production-grade APIs, services, workers, databases, authentication, authorization, integrations, queues, observability, testing, reliability, and security. Use when the agent needs to build, improve, review, debug, or harden backend systems in Node.js, Python, Go, Java, .NET, Ruby, PHP, SQL, NoSQL, REST, GraphQL, WebSockets, event-driven systems, or similar backend stacks. Triggers on requests to build APIs, services, workers, webhook handlers, auth systems, database layers, background jobs, queues, cron tasks, billing flows, or server-side features. Also triggers on requests to fix slow queries, race conditions, deadlocks, failing tests, deployment issues, or to review backend code for security, correctness, and reliability.

Use this Skill: https://skilld.dev/gh/debabratasaha-dev/techskills/backend-engineer

This session only. Nothing lands on disk.

assetsbackend-starterexamplesrequest-validation.md

≈298 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Request Validation Pattern

Validate all untrusted input at the API boundary before business logic executes. Return all validation errors at once.

Pattern

// Pseudocode — adapt to your stack's validation library

// 1. Define schema
OrderSchema = {
  customer_id: required, string, uuid
  items: required, array, min_length: 1
  items[].product_id: required, string, uuid
  items[].quantity: required, integer, min: 1, max: 999
  notes: optional, string, max_length: 500
}

// 2. Validate at route handler entry
function createOrder(request):
  validation = validate(request.body, OrderSchema)
  if validation.hasErrors:
    return 400, {
      error: {
        code: "VALIDATION_ERROR",
        message: "Invalid request",
        details: validation.errors  // [{ field: "items", message: "Required" }]
      }
    }
  // 3. Pass validated data to service
  return orderService.create(validation.data)

Stack Examples

  • Node.js: Zod, Joi, class-validator
  • Python: Pydantic, marshmallow, cerberus
  • Go: go-playground/validator, ozzo-validation
  • Java: Jakarta Bean Validation (Hibernate Validator)
  • Ruby: dry-validation, ActiveModel validations

Source: SKILL.md on GitHub

No alerts18d3 checks · Risk SAFE
  • Gen Agent Trust Hub18d

    The skill provides comprehensive, high-quality engineering guidelines and references for backend development. It focuses on security best practices, such as input validation, authorization, and secure secret handling, without any detected malicious patterns.

  • Socket18d

    No alerts

  • Snyk18d

    Risk: LOW · No issues

Signed by skilld at a1f81fa. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 4 months ago
metadata
{
  "version": "1.0.0"
}

README badge

README badge for debabratasaha-dev/techskills/backend-engineer