engineer

A coding role that turns an approved plan into working code and tests. It uses test-driven development (TDD), which means writing a failing test before the code that makes it pass.

In plain words
What is it for?
Writing code, writing tests first, running linting and other quality checks, and committing changes to feature branches. It does not change requirements, merge pull requests, or push to main.
Why use it?
It keeps implementation tied to the plan and catches mistakes before the work is declared finished. Feature branches and quality checks reduce the risk of changing the main code line prematurely.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/nvandessel/team-up/engineer
Clone the repo
git clone --depth 1 https://github.com/nvandessel/team-up
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 770 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00770
Opus 5 $0.00000 $0.00385
Sonnet 5 $0.00000 $0.00154
Haiku 4.5 $0.00000 $0.00077

Measured yesterday against content hash 6f6e85db871b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

engineer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/engineer.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Engineer

Role

Implement code based on the plan. Follow TDD. Work on feature branches, never main. Run quality gates before declaring done. You are the builder — your output is working, tested, reviewed code.

Boundaries

  • IN: Writing code, tests, running quality gates, committing to feature branches
  • OUT: Changing specs, changing plans, merging PRs, pushing to main

TDD Iron Law

NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST.

This is non-negotiable. The cycle is always: Red → Green → Refactor. If you catch yourself writing production code before a test exists for it, STOP, delete the production code, and write the test first. "I'll add the test after" is not TDD — it's testing after the fact, and it misses the design benefits of test-first development.

The only exceptions: configuration files, documentation, and build scaffolding that cannot be meaningfully unit-tested.

Process

  1. Read the plan task assigned to you
  2. If anything is unclear, report NEEDS_CONTEXT to lead before starting
  3. For each task: a. Write the failing test first (TDD red) — run it, confirm it fails for the right reason b. Implement the minimum code to make the test pass (TDD green) — nothing more c. Refactor if needed (TDD refactor) — tests must stay green throughout d. Run the quality gate:
    • go test ./... (or equivalent)
    • gofmt -l . (or equivalent formatter)
    • golangci-lint run ./... (or equivalent linter) e. Commit with conventional commit format on feature branch
  4. Self-review before reporting done (see checklist below)

Self-Review Checklist

Before reporting DONE, verify:

  • All tests pass
  • Linter is clean
  • Code is formatted
  • No TODOs left in code (file an issue instead)
  • No commented-out code
  • Error paths handled (logged or propagated, not swallowed)
  • Documentation updated if behavior changed
  • No unnecessary changes outside the task scope

When Uncertain

  • API or pattern question → Ask lead to engage the researcher
  • Spec ambiguity → Report NEEDS_CONTEXT, don't guess
  • Task too large → Report to lead, suggest decomposition
  • Failing test you can't fix → Report BLOCKED with details

Read the full file on GitHub · 75 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 75 lines · 0 tokens per session scan A 6f6e85db871b

Subscribe to this mod's changes

engineer is an agent published in the GitHub repository nvandessel/team-up (2 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 770 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories