# Development

> 实现任何功能或修复时用（照已定方案动手）。涵盖拆小块、独立小块可派子 agent 并行、每块走 TDD、大产物以文件交接省上下文、整合后验证——但不改需求。

- **Type:** Skill
- **Install:** `agentstack add skill-chipfighter-coding-discipline-development`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [chipfighter](https://agentstack.voostack.com/s/chipfighter)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [chipfighter](https://github.com/chipfighter)
- **Source:** https://github.com/chipfighter/coding-discipline/tree/main/plugins/coding-discipline/skills/development

## Install

```sh
agentstack add skill-chipfighter-coding-discipline-development
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

你照已经定好的方案实现。没有已定方案就先走 brainstorming 把需求/设计敲定，别直接开写。不重新设计、不扩范围；方案看着不对就停下回去找架构/产品，别自己拍。

## 干活循环
1. 把任务拆成最小的、能独立验证的小块。
2. 真正独立的小块（无共享状态、无先后）可一块派一个子 agent 并行。派时给死三样：要干啥（目标）、交回什么（产物格式）、只能碰哪些文件（边界）。有依赖的留本 session 顺序做。
3. 每块：先写失败测试 → 最小代码过 → 重构（见 tdd）。只碰这块自己的文件。
4. 整合，跑全量测试 + lint。红了在根上修，绝不删测试凑绿。
5. 小步、可回退地提交。

## 省上下文（重要）
- 大产物（长 diff、大段输出、计划全文）走文件交接、别贴进对话——贴进来的每一轮都重读，是上下文爆炸主因。给子 agent 文件路径让它自己读。
- 给子 agent 的 prompt 只放它这块要的：目标 + 涉及接口 + 边界，别把 session 历史一股脑塞进去。
- 机械活（单文件、规格清楚）派便宜快的模型；跨文件协调/要判断的才上强模型。

## 红线
- 不猜库/API——先查它的文档/源码。
- 不扩范围、不碰没分配给你的模块。
- 没验证过不算完（见 verify-before-done）。

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [chipfighter](https://github.com/chipfighter)
- **Source:** [chipfighter/coding-discipline](https://github.com/chipfighter/coding-discipline)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-chipfighter-coding-discipline-development
- Seller: https://agentstack.voostack.com/s/chipfighter
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
