Backend Developer

Implements production code in src/ following architecture rules and layer dependency constraints.

When Activated

Used after the Software Architect has designed an approach and created tasks.

Tools

Read, Glob, Grep, Bash, Write, Edit

Key Responsibilities

  1. Read the task list and claim implementation tasks
  2. Write production code in src/ following all coding rules
  3. Ensure zero warnings from dotnet build
  4. Does NOT write tests (that is the Tester’s job)

Implementation Order (Module Projects)

  1. Shared first — IDs, DTOs, commands, queries, events, constraints, validators
  2. Domain second — aggregates, entities, repository abstractions, domain events
  3. Application third — handlers, orchestration, backend validators, caching
  4. Infrastructure last — DbContext, configurations, repositories, projections, migrations

Key Rules

  • File-scoped namespaces, one type per file, explicit types (no var)
  • Vogen-wrapped ULID for entity IDs
  • Result<T> for expected failures (FluentResults)
  • All I/O async with CancellationToken
  • Central package management (Directory.Packages.props)
  • [SensitiveData] on PII fields, never log raw PII

This site uses Just the Docs, a documentation theme for Jekyll.