implement

A coding workflow for implementing features or fixing bugs from an approved plan. It requires reading the relevant specification and project context before changing code.

In plain words
What is it for?
Use it to build planned features, complete plan items, or fix issues reported by tests or code reviews.
Why use it?
It keeps changes within the agreed scope and helps preserve the project’s architecture, tests, and security expectations.

Skill for Claude CodeCodex

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 skills/simpleeve/development-skills/implement
Any agent
npx skills add SimpleEve/development-skills --skill implement
Clone the repo
git clone --depth 1 https://github.com/SimpleEve/development-skills

Made for: Claude Code, Codex.

Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,065 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.00052 $0.01065
Opus 5 $0.00026 $0.00532
Sonnet 5 $0.00010 $0.00213
Haiku 4.5 $0.00005 $0.00106

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

Security

Grade A, and why

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

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.

implement/SKILL.md · 85 lines

What it actually says

Implement - 代码实现技能

根据 plan 文档进行代码实现,或根据 test/review 的反馈进行修复。

核心原则

  1. 严格遵循 Plan:按照已确认的 plan.md 中的 TODO 逐项实现
  2. 架构一致:遵循项目整体既有的架构设计、模块边界与依赖方向
  3. 模块化与可扩展:代码必须模块化,遵循 SOLID 原则和适当的设计模式
  4. 最小变更:只实现 Plan 要求的内容,不做额外的"优化"或"改进"

前置条件

  • 对应功能的 plan.md 必须已存在且状态为"已确认"
  • 对应功能的 spec.md 应可访问
  • 如果项目有统一文档目录,遵循现有约定;如果没有,建议使用 spec/<spec-name>/plan.md
  • 如果 plan 不存在,提示用户先执行 /plan

工作流程

模式一:按 Plan 实现新功能

  1. 阅读上下文

    • 阅读对应功能的 spec.mdplan.md
    • 阅读项目级背景文档(如 PRD、roadmap、里程碑文档;如果存在)
    • 阅读现有代码,理解项目结构、命名规范、编码风格
    • 阅读团队沉淀文档(如 lessons learned、pitfalls;如果存在),避免已知坑
  2. 确认 TODO 范围

    • 向用户确认本次要实现哪些 TODO(可能不是一次性全部实现)
    • 按照 Plan 中的依赖关系确定执行顺序
  3. 逐项实现

    • 按 TODO 顺序逐一编写代码
    • 每完成一个 TODO,运行相关的验证或测试
    • 如果项目使用勾选式计划文档,每完成一个 TODO,立即在 plan.md 中将对应的 - [ ] 勾选为 - [x],实时反映进度
    • 遇到 Plan 未覆盖的技术细节,向用户澄清后再继续
  4. 自查

    • 确保代码可编译、可构建或可运行
    • 确保已有测试或验收流程不被破坏
    • 检查是否引入明显的安全风险(如注入、越权、敏感信息泄露)

模式二:根据反馈修复

当输入来源是 test 报告(test.md)或 review 报告(review.md)时:

  1. 阅读反馈文档,理解每个问题的描述和复现条件
  2. 按优先级(P0 > P1 > P2)逐一修复
  3. 每修复一个问题,运行对应的验证或测试
  4. 修复完成后通知用户,建议重新执行 /test/review 验证

编码规范

架构遵循

  • 核心逻辑与表现层分离:领域逻辑不应直接依赖 UI、CLI、Editor 扩展或其他表现层实现
  • 通过明确边界解耦:状态变化优先通过事件、消息、接口、回调或项目既有机制传递
  • 统一扩展点:外部系统、第三方工具、平台接口或引擎能力接入应遵循统一抽象

代码质量

  • 遵循项目已有的命名规范和代码风格
  • 类型系统要尽量严格,避免不必要的弱类型绕过
  • 错误处理完整,不吞异常
  • 对外暴露的公共 API 补充必要注释或文档说明

文件组织

  • 新文件放置在 Plan 中指定的路径
  • 如果 Plan 未指定路径,遵循项目已有的目录组织惯例
  • 测试文件与源码放在相邻的测试目录,或使用项目既有的测试命名约定

关键约束

  • 不跳过 TODO:按照依赖顺序执行,不要跳过前置依赖
  • 不偏离 Plan:如果发现 Plan 有问题,先告知用户,不要自行调整架构
  • 不遗漏验证:每个 TODO 的验收标准必须可验证
  • 可调用其他 Skill/工具:实现过程中如需查阅文档,可调用文档检索类 Skill 或工具获取最新资料
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 · 85 lines · 52 tokens per session scan A ab9b28e5bd26

Subscribe to this mod's changes

implement is a skill published in the GitHub repository SimpleEve/development-skills (33 stars, last pushed 5mo ago), licensed MIT. It adds 52 tokens to every session and 1,065 once invoked, about $0.0003 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 skills, from other repositories

to-issues

Decompose a PRD and/or SPEC into implementable, vertically-sliced Issues with real blocking edges, then create them in your chosen platform (GitHub or Local). Use after /prd (and optionally /prd-to-spec) to turn requirements into agent-ready tickets. Triggers on: create issues, to-issues, 创建issue, 拆解issue, 生成卡片, 创建卡片…

smallnest/goal-workflow · 96 tokens

article-icons

Illustrate an article (Markdown, HTML, etc.) with animated-style icons from itshover.com/icons. Fetches icons as clean inline SVG and places them at section headings, key concepts, lists, and callouts. Triggers on: /article-icons, 配图, 给文章配图标, add icons to article, illustrate with icons.

smallnest/goal-workflow · 74 tokens

code-refactoring-assistant

Suggest and apply code refactorings to improve readability, maintainability, and code quality. Use this skill when improving existing code structure, eliminating code smells, applying design patterns, simplifying complex logic, extracting duplicated code, renaming for clarity, or preparing code for new features.…

ArabelaTso/Skills-4-SE · 81 tokens

bug-to-patch-generator

Generate code fixes and patches from bug reports, failing test cases, error messages, and stack traces. Use this skill when debugging code, fixing test failures, addressing GitHub issues, resolving runtime errors, or patching security vulnerabilities. Analyzes the bug context, identifies root causes, and generates…

ArabelaTso/Skills-4-SE · 74 tokens

code-comment-generator

Generates meaningful comments and documentation for code to improve maintenance and readability. Use when adding documentation to Python or Java code, including function/method docstrings, class documentation, inline explanations for complex logic, and code annotations (TODO, FIXME). Analyzes existing comment style in…

ArabelaTso/Skills-4-SE · 91 tokens

code-smell-detector

Identify and report code smells indicating poor design or maintainability issues in Python code, including duplicate code, magic numbers, hardcoded values, God classes, feature envy, inappropriate intimacy, data clumps, primitive obsession, and long parameter lists. Use when conducting code quality audits, preparing…

ArabelaTso/Skills-4-SE · 129 tokens