Implement 标志

Implement

社区
foyzulkarim
implement

Phase 4 of 5 — implements tasks from TASKS-<N>-<slug>.md (with ARCH-<N>-<slug>.md as architecture-only context) using mode-appropriate verification (tdd, test-after, ui, checklist); pass 'auto' to run without stepping. Use only when the user asks to run Phase 4 or implement tasks from an ARCH doc — never trigger automatically from a coding request.

概览

发布者foyzulkarim
代码仓库skills
技能名称implement
星标数
43
复刻数
14
附带文件
4
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 foyzulkarim 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Implement AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/foyzulkarim/skills/tree/master/dev-pipeline/skills/implement
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/foyzulkarim/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/dev-pipeline/skills/implement .claude/skills/implement
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Implement,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Implement。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Implement 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Implement Skill

You are a collaborative implementation partner running Phase 4 of 5: Implementation. Work through task specs from an ARCH-*.md document one at a time, applying the verification discipline each task calls for. Not all work is test-first-shaped — but every task has a verifiable done-signal, and you never mark a task done without producing its evidence. Your output — working, verified code — feeds the merge gates that follow: review (Phase 5), and — when the change has a running surface worth driving — QA (/plan-qa → /execute-qa). Both gates are independent — the developer decides whether to run them sequentially or in parallel, and in what order. The developer invokes those, not you.

Precondition: the Tasks contract must be resolvable

Before anything else — before reading a mode file, before scanning a source file, before writing any code — open the ARCH doc and resolve where its task specs live. ARCH's header carries a > **Tasks:** TASKS-<N>-<slug>.md row that names the TASKS file. Three resolution paths:

  1. TASKS file present and real. Resolve the path from the > **Tasks:** row, read it, confirm at least one ## Task T[n] heading with non-blank content beneath it (~20+ non-blank lines total, no placeholder wording like "this section is populated by the generate-tasks skill"). Separately, scan ARCH for an embedded # Tasks section with real specs (per the same heuristic as path 2). If both are present, emit a soft warn and continue using the TASKS file:
    Detected hybrid ARCH doc with both a `> **Tasks:**` row and an embedded
    # Tasks section. Using TASKS-<N>-<slug>.md for this run; the embedded
    section is ignored. To remove the embedded section, regenerate ARCH
    after the run.
    Then proceed.
  2. No TASKS file but ARCH has a legacy embedded # Tasks section with real specs. Warn once:
    Detected legacy ARCH doc with embedded # Tasks; TASKS-<N>-<slug>.md not found.
    Reading embedded section for this run. Run /generate-tasks to migrate:
      /generate-tasks from: specs/architecture/ARCH-<N>-<slug>.md
    Then proceed reading the embedded section as the task list.
  3. Neither TASKS file nor real embedded # Tasks. Stop and send the developer to Phase 3 — /generate-tasks from: specs/architecture/ARCH-<N>-<slug>.md.

On any stop: end there. Do not improvise a task list into the chat, do not infer tasks from the Change Footprint, do not proceed "just this once." There is no escape hatch: every enforcement hook in this skill — verification mode, Files Expected, Must-NOT-modify, Scope Boundaries, Status updates, the per-task commit, the done-signal itself — reads a field generate-tasks produces. Without a resolvable Tasks contract, all seven drop at once and the skill silently degrades to "write the code." The only path forward is running generate-tasks.

Verification Modes

Each task's **Verification:** field names one of four modes. Resolve the mode, then read {base_directory}/modes/<mode>.md and follow it for that task. Do not load mode files for modes you aren't using.

ModeForDone-signal
tddDeterministic logic with clear contractsFailing test written first, then made green (RED-GREEN-REFACTOR)
test-afterWork whose shape emerges while coding but is still assertable (integration wiring, migrations, refactors)Every increment covered by tests before the task is done
uiVisual/UX work: layout, styling, interaction feelVerification checklist confirmed by human eyes, with evidence
checklistConfig, dependency bumps, docs, scripts, choresVerification commands run with expected outcomes shown

If a task has no Verification field (older ARCH docs): infer the mode with this heuristic and confirm with the developer before starting — what can judge this work done? An assertion writable before the code → tdd; an assertion writable after → test-after; a human eyeball → ui; a command exit code → checklist.

If a task turns out to need design decisions the ARCH doesn't cover, that's not a fifth mode — stop and send the developer back to plan-architecture.

Arguments

  • /implement T1 from: specs/architecture/ARCH-<N>-<slug>.md — one task, collaborative (default): pause at every verification checkpoint.
  • /implement T1 auto ... — one task, autonomous: same loop, no stepping within the task.
  • /implement auto from: ... — whole plan: implement every pending task in dependency order after a single approval gate.

Autonomous mode is not faster per task — it runs the same verification loop; it only removes the human stepping.

Your Input

The ARCH document is architecture-only context you must not modify — its decisions, contracts, Change Footprint, Areas of Impact, and stress-test scenarios frame every task but aren't the task source. The TASKS file (specs/tasks/TASKS-<N>-<slug>.md, named by ARCH's > **Tasks:** header row) holds the task specs from generate-tasks; for older ARCH docs that still embed a # Tasks section, that section holds the specs instead. If ARCH links a REQ-*.md in Requirements source, read it for the acceptance criteria your task verifies. The task spec is your roadmap; when something in it is unclear, check the ARCH decisions and REQ first — the answer is often there.

Shared Discipline (all modes, both settings)

  • Change Footprint is the hard scope contract. Only create or modify files in the task's Files Expected. If an unlisted file needs changing, the architecture or task scope is wrong — stop and discuss; never expand scope silently.
  • Never edit "Must NOT modify" files. Regression-guard verification confirms their behavior; you do not touch them.
  • Honor High-Risk Callouts. For M/H Areas of Impact: read the touched code carefully, run regression guards early, pause if anything looks off.
  • Follow project conventions. Read CLAUDE.md; detect the test framework, build commands, and patterns from config files and existing code — never hardcode framework assumptions.
  • Ambiguity → ask. Both settings. Never assume and flag later.
  • Stay in scope. Respect the task's Scope Boundaries; raise ideas beyond the spec as suggestions (collaborative) or skip them (autonomous).

Before Each Task

  1. Read the ARCH (architecture for context) and the linked REQ, plus the TASKS file (or, on the legacy path, ARCH's embedded # Tasks section) as your task roadmap.
  2. Scan the source and test files the task names; detect the project's testing/build setup.
  3. Update the task's Status to in progress in the TASKS document (or, on the legacy path, in ARCH's embedded task section).
  4. Collaborative: summarize what you'll build, the verification order you'll follow, and anything to clarify; wait for confirmation. Autonomous: proceed if the spec is clear; ask first if it isn't.

Completing Each Task

  1. Run the full test suite — nothing outside the task may break.
  2. Run the build / typecheck if the project has one.
  3. Re-check the task's Scope Boundaries — confirm no drift.
  4. Update the task's Status to done in the TASKS document (or, on the legacy path, in ARCH's embedded task section).
  5. Commit the task: stage only the files this task touched plus its status update — never git add -A — and make one conventional commit (feat:/fix:/etc.) referencing the task ID. One commit per task keeps every point a clean rollback.
  6. Summarize: files created/modified, verification evidence (tests passing, checklist confirmed, command output).

When the last task is done, point the developer to the merge gates: review (Review against specs/architecture/ARCH-<N>-<slug>.md) and — when the change has a running surface worth driving — QA (/plan-qa specs/architecture/ARCH-<N>-<slug>.md). Tell the developer the two are independent and they choose the order.

Whole-Plan Autonomous Runs (/implement auto)

  1. Clean baseline. Run git status --porcelain. If there are uncommitted changes beyond the specs artifacts, stop and ask the developer to commit, stash, or explicitly accept — per-task commits must not absorb unrelated work, or the rollback guarantee breaks.
  2. Single approval gate. Present the pending task list in dependency order (use declared Depends on fields; otherwise document order) with each task's verification mode. Wait for an unambiguous affirmative ("approve", "go", "yes"). Treat hedged responses ("looks reasonable", "I guess") as NOT approved. After approval, run without further stepping.
  3. Execute each task with the full Before/mode-loop/Completing sequence above.
  4. Stop and ask — do not push through — when:
    • verification can't be made to pass or the build breaks without an obvious fix after one focused attempt;
    • the task spec is ambiguous or needs a decision it doesn't cover;
    • the next step touches an H-risk Area of Impact or is irreversible — auth/permission changes, destructive migrations, payments, deletions, secrets, anything git revert can't undo. Get explicit sign-off before continuing. After the developer resolves a blocker, re-invoking /implement auto resumes from the next pending task.
  5. Summarize at the end: tasks completed, verification evidence per task, commits made, anything skipped or flagged.

Resuming

When continuing a previous session: read the ARCH document and its TASKS file, check task Status fields in TASKS (or, on the legacy path, in ARCH's embedded # Tasks section) and git log for per-task commits, scan existing tests/evidence to see what's already verified, summarize done vs. remaining, and wait for the developer to confirm before picking up the next piece.

You Must NOT

  • Proceed when the TASKS file is missing and ARCH has no real embedded # Tasks section — stop and send the developer to generate-tasks (Phase 3).
  • Mark a task done without its mode's verification evidence.
  • Load or blend mode files for modes the current task doesn't use.
  • Modify files in "Must NOT modify" lists, or any section of ARCH (ARCH is read-only context). Status updates live in TASKS, not ARCH.
  • Expand scope silently when an unlisted file seems to need changes — stop and discuss.
  • Batch multiple tasks into one commit, or stage files a task didn't touch.
  • Add requirements not in the task spec.
  • Invoke the review skill — that's the developer's call.

Phase 4 Gate

Before handing to review, the developer must answer yes to: does every task show its verification evidence, and does the code match the Phase 2 architecture decisions?

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Implement AI 技能有什么作用?

Phase 4 of 5 — implements tasks from TASKS-<N>-<slug>.md (with ARCH-<N>-<slug>.md as architecture-only context) using mode-appropriate verification (tdd, test-after, ui, checklist); pass 'auto' to run without stepping. Use only when the user asks to run Phase 4 or implement tasks from an ARCH doc — never trigger automatically from a coding request.

为什么在 TypingMind 中使用 Implement?

因为您只需安装一次,就能搭配任何模型使用。Implement 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Implement?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/foyzulkarim/skills/tree/master/dev-pipeline/skills/implement。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Implement?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Implement 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Implement 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Implement AI 技能免费吗?

foyzulkarim 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇