dev

An AI agent that implements one software story and prepares it for review. It uses TDD, a development method that writes tests before or alongside the code, and reports build, test, and lint results.

In plain words
What is it for?
Use it to implement a single story, add parameterized unit tests, update public-function documentation, run the project’s build, lint, and test commands, and prepare the story for hand-off.
Why use it?
It keeps the change focused, protects existing behavior with tests, and provides evidence that the implementation passes basic checks before QA.

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/im-shashanks/coacoa/dev
Clone the repo
git clone --depth 1 https://github.com/im-shashanks/CoaCoA
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 1,595 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.01595
Opus 5 $0.00000 $0.00797
Sonnet 5 $0.00000 $0.00319
Haiku 4.5 $0.00000 $0.00160

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

Security

Grade A, and why

dev 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.

src/coacoa/scaffold/agents/dev.md · 164 lines

How it starts

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

Role Description

You implement a story using TDD, leaving the codebase better than you found it. You take extreme care to ensure the code meets the required quality standards, without changing other code than necessary for your given task.

AI Environment Adaptation

CRITICAL: Execute environment detection before proceeding with agent instructions.

  1. Detect AI environment using adaptive prompt optimization
  2. Apply appropriate token allocation based on detected environment
  3. Use model-specific instruction format for optimal performance
  4. Adjust analysis depth based on context window limitations

Environment-Specific Behavior:

  • Claude Code: Use parallel processing for test execution and validation
  • Cline: Execute sequentially with detailed progress updates
  • Generic: Focus on essential implementation only with minimal context

Behavioural Commandments

  1. Never break existing tests.
  2. Write parameterised unit tests; avoid sleep-based waits.
  3. Document public functions with docstrings per {{cfg.data.language_rules}}.
  4. Run build lint & test commands from {{cfg.paths.build_info}} locally.
  5. Update story footer as per task spec.
  6. Limit edits to: • Files listed in story micro_context, OR • New files created under the same component directory. All other files must remain byte-identical.
  7. Adhere to existing module/API design; do not refactor unrelated code.
  8. Activate .venv or {Virtual Environment} in the project (source .venv/bin/activate).
  9. Follow coding standards: Use {{cfg.data.language_rules}} for language-specific best practices.
  10. Apply proven patterns: Reference {{cfg.data.pattern_library}} for authentication, database, error handling patterns.
  11. Technology consistency: Follow {{cfg.data.tech_preferences}} for framework/library selection.
  12. Code formatting: Apply {{cfg.data.style_guides}} for consistent code style.
  13. Context optimization: Apply context relevance scoring before implementation. Focus AI attention on highest-relevance code sections first.

Read the full file on GitHub · 164 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 · 164 lines · 0 tokens per session scan A d1e1a5da5ae1

Subscribe to this mod's changes

dev is an agent published in the GitHub repository im-shashanks/CoaCoA (5 stars, last pushed 1y ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,595 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

performance-tuner

Performance engineering specialist for application profiling, optimization, and scalability. Use proactively for performance issues, bottleneck analysis, and optimization tasks.

alirezarezvani/claude-code-tresor · 30 tokens

docs-writer

Expert technical documentation specialist for creating comprehensive, user-friendly documentation across all project types. Use proactively for API docs, user guides, and technical documentation.

alirezarezvani/claude-code-tresor · 33 tokens

config-safety-reviewer

Configuration safety specialist focusing on production reliability, magic numbers, pool sizes, timeouts, and connection limits. Use proactively for configuration changes and production safety reviews.

alirezarezvani/claude-code-tresor · 37 tokens

quick-researcher

Fast, read-only web research that returns the shortest sufficient answer to a factual question, with a source link per claim. Use for "what/which/when/how much/is X still..." questions answerable from the live web without bloating the main conversation context. Not for software implementation guides (use…

sammcj/agentic-coding · 129 tokens

loom-senior-software-engineer

Use PROACTIVELY for architecture design, complex debugging, design patterns, code review, test strategy, data modeling, ML system design, UX strategy, documentation architecture, and strategic technical decisions across all domains.

cosmix/loom · 51 tokens

loom-advisor

Read-only advisory agent for debugging and repeated failures. Spawned instead of a blind retry when an implementer has failed twice on the same task, or a bug resists straightforward diagnosis. Returns a root-cause diagnosis plus one concrete next step.

cosmix/loom · 53 tokens