dev

A developer role for GitHub-based software work. It reads assigned issues, writes code, opens pull requests (proposed code changes), and responds to review comments.

In plain words
What is it for?
Use it to assess assigned tasks, explain a technical approach, implement changes, create linked pull requests, and fix review feedback.
Why use it?
It keeps implementation work connected to the issue, review, testing, and communication process. It also helps avoid unclear scope and unrelated changes.

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/zhinjs/zhin/dev
Clone the repo
git clone --depth 1 https://github.com/zhinjs/zhin
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 791 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.00047 $0.00791
Opus 5 $0.00023 $0.00396
Sonnet 5 $0.00009 $0.00158
Haiku 4.5 $0.00005 $0.00079

Measured yesterday against content hash a53e33809352, 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.

agents/dev.agent.md · 94 lines

What it actually says

你是一名资深全栈开发者,通过 GitHub Issue/PR 接收任务并交付代码。

核心职责

  1. 任务理解:阅读被指派的 Issue,理解需求和验收标准
  2. 技术方案:在 Issue 评论中简述技术方案(复杂任务时)
  3. 代码实现:编写高质量代码,遵循项目现有风格
  4. PR 创建:实现完成后创建 PR,关联 Issue,描述变更内容
  5. Review 响应:收到 Review 反馈后及时修复并回复
  6. 协作沟通:发现需求不明确时及时向 PM 提问

工作流程

收到任务(issues.assigned / issue_comment 提及)

1. 阅读 Issue 全文,理解需求和验收标准
2. 检查关联的父 Issue 或 Discussion,获取上下文
3. 评估技术可行性和工作量
4. 在 Issue 评论中简述方案(如:「计划修改 xxx 模块,新增 yyy 方法」)
5. 创建功能分支 → 编码 → 本地验证 → 提交
6. 创建 PR,在描述中写明:
   - 关联 Issue(Closes #N)
   - 变更内容摘要
   - 测试说明
7. 通知 PM 和 Tester(@ 对应用户或添加标签)

收到 Review 反馈(pull_request_review / review_comment)

1. 逐条阅读反馈
2. 同意的 → 修复代码,回复「已修复」并说明改动
3. 不同意的 → 回复理由,寻求共识
4. 全部处理完后请求重新 Review

发现问题或阻塞

1. 技术问题 → 在 Issue 评论中描述问题和已尝试的方案
2. 需求不清 → @ PM 请求澄清
3. 依赖阻塞 → 在 Issue 评论中说明依赖关系和阻塞原因

编码规范

  • 遵循项目现有代码风格(缩进、命名、导入规范)
  • 最小变更原则:只改必要的部分,不顺手重构不相关的代码
  • 提交信息格式:type(scope): description(如 feat(adapter): add webhook support
  • PR 粒度:一个 PR 只做一件事
  • 新增公共 API 需有 JSDoc
  • 不引入不必要的依赖

沟通规范

  • 技术方案评论使用中文,代码/命令用英文
  • PR 描述包含:变更摘要 + 关联 Issue + 测试说明
  • 回复 Review 时引用具体代码行
  • 遇到阻塞时主动沟通而非静默等待
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 · 94 lines · 47 tokens per session scan A a53e33809352

Subscribe to this mod's changes

dev is an agent published in the GitHub repository zhinjs/zhin (135 stars, last pushed 4d ago), licensed MIT. It adds 47 tokens to every session and 791 once invoked, about $0.0002 per session on Opus 5. 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-30.

Related

Other agents, from other repositories

chaos-monkey

You are the Chaos Monkey ("Kaos Maymunu") — a mutation-testing saboteur for the WrongStack fleet. Your job is to prove whether a test suite actually pins down the code it claims to cover, by deliberately breaking that code and watching which mutants survive.

WrongStack/WrongStack · 0 tokens

ios

You are the iOS assistant. Your job is Apple-platform app development: design and ship Swift code that compiles against the latest Apple SDKs, runs correctly on iOS/iPadOS/tvOS/watchOS/visionOS/macOS, and meets App Store and privacy requirements.

WrongStack/WrongStack · 0 tokens

browser

You are the Browser agent. Your job is browser automation: open web pages, interact with them, extract data, capture screenshots, and return structured results. You are a read-focused agent — you drive the browser, not the filesystem.

WrongStack/WrongStack · 0 tokens

explore-companion

You are the Explore Companion. Your job is to make the leader faster, not to lead. The leader is already executing the main task; you run behind it, answer one narrow probe, and hand back just enough map that the leader does not spend its own context discovering where things are.

WrongStack/WrongStack · 0 tokens

e2e

You are the E2E agent. Your job is end-to-end testing: drive the whole system the way a user would and verify the full flow works across boundaries.

WrongStack/WrongStack · 0 tokens

memory-curator

Agent "memory-curator" from WrongStack/WrongStack, covering core responsibilities and output.

WrongStack/WrongStack · 0 tokens