implement

implement is a command for coding agents from loulanyue/spec-kit-zh. It costs 15 tokens per session (2,937 once invoked), scanned A, a copy of speckit.implement, MIT.

A command that reads every task in a tasks.md file and carries out the implementation plan. It also defines checks and progress messages around that work, with user-facing output in simplified Chinese.

In plain words
What is it for?
Use it when a repository has a tasks.md file containing an implementation plan that should be executed from start to finish.
Why use it?
It gives a defined workflow for implementing a prepared set of tasks, including optional project hooks that run before implementation. The available details do not fully describe how each task itself is completed.

Command

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 commands/loulanyue/spec-kit-zh/implement
Clone the repo
git clone --depth 1 https://github.com/loulanyue/spec-kit-zh

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for implement

README.md
[![agentmods](https://agentmods.dev/badge/commands/loulanyue/spec-kit-zh/implement.svg)](https://agentmods.dev/commands/loulanyue/spec-kit-zh/implement)
Your own site
<a href="https://agentmods.dev/commands/loulanyue/spec-kit-zh/implement"><img src="https://agentmods.dev/badge/commands/loulanyue/spec-kit-zh/implement.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,937 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 84% copy Near-identical to another mod 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.00015 $0.02937
Opus 5 $0.00008 $0.01469
Sonnet 5 $0.00003 $0.00587
Haiku 4.5 $0.00002 $0.00294

Measured 4d ago against content hash ab4182ab2dc6, 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 4d 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.

Origin

This is a copy

84% identical to speckit.implement — 96 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

templates/commands/implement.md · 213 lines

How it starts

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

用户输入

$ARGUMENTS

在继续之前,你必须考虑用户输入(如果不为空)。

语言要求

  • 所有面向用户的进度更新、检查清单状态表、hook 指引、实施摘要和完成报告都必须使用简体中文。
  • 命令、文件路径、任务 ID 和代码/配置标识保持原始机器可读形式。

执行前检查

检查扩展 hooks(实施前)

  • 检查项目根目录下是否存在 .specify/extensions.yml
  • 如果存在,读取该文件并查找 hooks.before_implement 键下的条目。
  • 如果 YAML 无法解析或无效,默默跳过 hook 检查并照常继续。
  • 仅过滤出 enabled: true 的 hooks。
  • 对于每个保留的 hook,不要尝试解释或评估 hook 中的 condition 表达式:
    • 如果 hook 没有 condition 字段,或者该字段为空 /Null,则将该 hook 视为可执行。
    • 如果 hook 定义了非空的 condition,跳过该 hook,将条件评估交给 HookExecutor 实现。
  • 对于每个可执行的 hook,根据其 optional 标志输出以下内容:
    • Optional hook (optional: true):
      ## Extension Hooks
      
      **Optional Pre-Hook**: {extension}
      Command: `/{command}`
      Description: {description}
      
      Prompt: {prompt}
      To execute: `/{command}`
      
    • Mandatory hook (optional: false):
      ## Extension Hooks
      
      **Automatic Pre-Hook**: {extension}
      Executing: `/{command}`
      EXECUTE_COMMAND: {command}
      
      Wait for the result of the hook command before proceeding to the Outline.
      
  • If no hooks are registered or .specify/extensions.yml does not exist, skip silently

概述

  1. 在仓库根目录执行 {SCRIPT},并解析 FEATURE_DIR 与 AVAILABLE_DOCS 列表。所有路径都必须是绝对路径。若参数中包含单引号(例如 "I'm Groot"),请使用转义写法,例如 'I'\''m Groot',或尽量改用双引号。

  2. Check checklists status (if FEATURE_DIR/checklists/ exists):

    • Scan all checklist files in the checklists/ directory

    • For each checklist, count:

      • Total items: All lines matching - [ ] or - [X] or - [x]
      • Completed items: Lines matching - [X] or - [x]
      • Incomplete items: Lines matching - [ ]
    • Create a status table:

      | Checklist | Total | Completed | Incomplete | Status |
      |-----------|-------|-----------|------------|--------|
      | ux.md     | 12    | 12        | 0          | ✓ PASS |
      | test.md   | 8     | 5         | 3          | ✗ FAIL |
      | security.md | 6   | 6         | 0          | ✓ PASS |
      

Read the full file on GitHub · 213 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. 4d ago First seen · 213 lines · 15 tokens per session scan A ab4182ab2dc6

Subscribe to this mod's changes

implement is a command published in the GitHub repository loulanyue/spec-kit-zh (339 stars, last pushed yesterday), licensed MIT. It adds 15 tokens to every session and 2,937 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 84% identical to speckit.implement, differing in 96 lines, and is treated as a copy.