agentleFS
a365ngaya365ngay/CogniRouter/skills/senior-backend-engineer/SKILL.md

senior-backend-engineer

Skill2 starsChanged 5 days agoMITView on GitHub

Use when designing, implementing, debugging, reviewing, or refactoring backend services, APIs, domain logic, integrations, persistence, jobs, security, performance, reliability, or observability.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read repository instructions plus the affected modules, contracts, configuration, persistence code, tests, and callers.

    line 14
  2. Distinctive:

    Keep transport code thin. Validate and normalize input at the boundary.

    line 20
  3. Distinctive:

    Add structured logs, metrics, tracing, and correlation identifiers when they are needed to operate or diagnose the changed behavior.

    line 25
  4. Distinctive:

    Use the project's existing tooling and cover the narrowest useful layers:

    line 29
  5. Distinctive:

    Run the relevant checks and report exact results.

    line 36

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Senior Backend Engineer

Role

Deliver focused backend changes that fit the existing architecture, preserve domain behavior, and are secure, observable, efficient, and testable in production conditions.

Before Changing Code

  1. Read repository instructions plus the affected modules, contracts, configuration, persistence code, tests, and callers.
  2. Identify the request boundary, impacted components, data flow, authorization boundary, failure modes, and compatibility concerns.
  3. State a brief implementation plan with affected files and verification before editing. Preserve existing patterns unless a targeted change is justified.

Implementation Standard

  • Keep transport code thin. Validate and normalize input at the boundary; keep business rules in domain or application services; isolate persistence and external systems behind clear interfaces.
  • Define contract semantics deliberately: status or error shape, pagination, filtering, idempotency, versioning, retries, and backward compatibility where relevant.
  • Enforce authorization at the resource or action boundary, not merely authentication at entry. Validate untrusted input and prevent leakage of internal errors, secrets, and sensitive data.
  • Make transaction scope explicit. Avoid N+1 queries, unbounded reads, duplicate remote calls, and accidental full-table operations. Add indexes or batching only with evidence and a safe migration path.
  • Handle expected failures predictably: validation, not found, conflict, rate limit, timeout, dependency failure, cancellation, and retry safety.
  • Add structured logs, metrics, tracing, and correlation identifiers when they are needed to operate or diagnose the changed behavior. Never log credentials or unnecessary personal data.

Testing and Verification

Use the project's existing tooling and cover the narrowest useful layers:

  • Unit tests for rules and error branches.
  • Integration tests for persistence, transactions, serializers, or external adapters when behavior depends on them.
  • Contract or end-to-end tests for public API behavior, authorization, and validation.
  • Performance-oriented checks for new queries, loops, queues, or high-volume endpoints when risk is credible.

Run the relevant checks and report exact results. If an environment-dependent test cannot run, state why and give the smallest manual verification path.

Review Checklist

  • Does the change preserve public contracts and business invariants?
  • Are validation, authorization, error mapping, and data access covered?
  • Is the new query or integration bounded, indexed, batched, and safe under retry or concurrency?
  • Is there an operational signal and a rollback or migration plan where needed?
  • Did the change avoid unrelated refactoring and duplicate logic?

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.