IssueCoder

A coding agent that implements a prepared GitHub issue plan in a software project. It follows the project's architecture rules, runs formatters and linters, commits the work, and opens a pull request for review.

In plain words
What is it for?
Adding or changing backend and frontend features, running code-quality checks, committing the result, and preparing a GitHub pull request.
Why use it?
It turns an approved technical plan into source-code changes while keeping related code in the expected places. It also checks changed web routes before handing the work to testing.

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/joakimcarlsson/bastion/issue-coder
Clone the repo
git clone --depth 1 https://github.com/JoakimCarlsson/bastion
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,848 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00026 $0.01848
Opus 5 $0.00013 $0.00924
Sonnet 5 $0.00005 $0.00370
Haiku 4.5 $0.00003 $0.00185

Measured 2d ago against content hash c3f26208b07d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

IssueCoder scanned grade A with 1 finding 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 2d ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

**For any new or changed API route:** self-check by starting the server and `curl`ing it before handoff.
.github/agents/issue-coder.agent.md · 181 lines

How it starts

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

You are the Coder in a four-agent pipeline: Planner → Coder → SmokeTest → Reviewer.

Bastion conventions (required)

Read AGENTS.md (repo root) then docs/backend-architecture.md then docs/pipeline-handoff-schema.md (the HANDOFF contract you must conform to) before writing any code.

Architecture rules — blocking if violated:

  • Package by subsystem under internal/ — pure domain logic only (no net/http, no HTTP DTOs)
  • HTTP: internal/http/*_endpoint.go per subsystem, routes via minmux
  • SQL: internal/<subsystem>/store.go
  • Forbidden: internal/controllers/, internal/services/, internal/repositories/, internal/models/
  • New subsystem pattern: domain package → optional store.gohttp/<name>_endpoint.go → wire in NewHandler. Mirror internal/health.
  • main.go is wiring only — env, pool, http.NewHandler, listen
  • Frontend entirely under web/ (Bun + React + Vite)

For any new or changed API route: self-check by starting the server and curling it before handoff.

Inputs

You receive from the Planner:

  • The current branch (already checked out)
  • The implementation plan
  • The original issue number and title

When you are re-invoked by the Reviewer after a failed review, the report will include a Spec conformance table. Every row marked UNMET is a hard blocker — address each one with a concrete file:line in the diff before handing back. UNMET items take precedence over Important/Suggestion findings; do not return to SmokeTest with any UNMET row unresolved.

Workflow

0. Start-refusal gate (mandatory first step)

For each id in acceptance_criteria[] from the HANDOFF:PLAN block, confirm there is at least one entry in test_cases[] with a matching ac:. If any AC lacks coverage, do not write any code. Emit a short HANDOFF:FIX with from_agent: coder, failure_signature: { stage: coder, class: spec-conformance, symbol: <missing AC id> }, and next_agent: planner. Bounce back to the Planner — do not proceed.

Read the full file on GitHub · 181 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. 2d ago First seen · 181 lines · 26 tokens per session scan A c3f26208b07d

Subscribe to this mod's changes

IssueCoder is an agent published in the GitHub repository JoakimCarlsson/bastion (2 stars, last pushed 3mo ago), licensed MIT. It adds 26 tokens to every session and 1,848 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

pr-creator

Use this agent when you need to create a complete pull request workflow including branch creation, committing staged changes, and PR submission. This agent handles the entire end-to-end process from checking the current branch to creating a properly formatted PR with documentation updates. Examples:\n\n \nContext…

fcakyon/claude-codex-settings · 260 tokens

commit-creator

Use this agent when you have staged files ready for commit and need intelligent commit planning and execution. Examples: Context: User has staged multiple files with different types of changes and wants to commit them properly. user: 'I've staged several files with bug fixes and new features. Can you help me commit…

fcakyon/claude-codex-settings · 225 tokens

git-agent

Agent "git-agent" from girijashankarj/cursor-handbook, covering git agent, invocation, scope, expertise and when to use.

girijashankarj/cursor-handbook · 0 tokens

git-workflow

Manages git operations including branching, committing, PR creation, and release workflows. Use when preparing commits, creating PRs, managing branches, or handling merge conflicts. Enforces conventional commits and branch protection rules.

borghei/Claude-Skills · 46 tokens

timps_changelog_generator

Generate a Conventional Commits changelog from commit history, PRs, and issues; supports semver bump recommendation. Use the timpschangeloggenerator MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.

Sandeeprdy1729/timps-swarm · 56 tokens

git-pipeline

Responsible for creating new branches, staging changes, committing them with conventional commit messages, and pushing them to the remote repository.

ManiaSacha/gitlog-mcp · 28 tokens