Harden Artifact 标志

Harden Artifact

组织
eai-org
harden-artifact

在下一阶段接手之前,根据对应工单和代码加固 REQUIREMENTS 或 PLAN 文档。

Add to TypingMind

概览

发布者eai-org
代码仓库agent-toolkit
技能名称harden-artifact
星标数
80
复刻数
18
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/eai-org/agent-toolkit.git /tmp/agent-toolkit
mkdir -p .claude/skills
cp -r /tmp/agent-toolkit/skills/harden-artifact .claude/skills/harden-artifact
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Harden artifact

Make a .REQUIREMENTS.md or .PLAN.md — the artifact — safe to hand to the next phase: every deviation from its ticket deliberate, explained and correct; every claim true; nothing blocking the session that picks it up. A fresh-context reviewer hunts, the session challenges each finding, and only what survives changes the artifact — which must never end worse than it started.

A session that wrote the artifact cannot judge findings on it: say so and propose a fresh session before continuing.

Resolve the sources

  • Artifact — the file the invocation names; ambiguous or neither kind → ask. A plan — the artifact or one of the same base — with a ticked task is already being built, past where hardening belongs → say so and ask before going on.
  • Ticket — the document the artifact was refined from, found by file name: the artifact's suffix replaced by .TICKET (FOO.PLAN.md → FOO.TICKET.md), or, when the stem names another source, that file (FOO.PR-REVIEW.REQUIREMENTS.md → FOO.PR-REVIEW.md). A .TICKET.md is taken at its latest version: with <base> the artifact's base stripped of any trailing -vN, the highest -vN among flat <base>-vN.TICKET.md in the artifact's directory and the .TICKET.md inside the highest <base>-vN/ directory beside it, whatever that file's own name; none → <base>.TICKET.md. A choice other than <base>.TICKET.md is named before the review. A source with decisions recorded beside it (a PR review's .ANSWERS.md) is read with them: only what they accept (verdict address, partial, bot: included or bot: partial) is the ticket, a row whose Notes say kept from round K, row M excluded whatever its verdict — the rest is out of scope, never a deviation, never recorded in the artifact. A row whose Notes say joined from round K is judged by its verdict like any other, its comment text read from round K's PR-REVIEW file (FOO.PR-REVIEW.md for K = 1, FOO.PR-REVIEW-K.md otherwise). Ambiguous → ask; no file → ask whether the ticket lives elsewhere (a tracker id, pasted text) before treating it as none. None (e.g. requirements brainstormed from an idea) → say so: a plan is compared with its upstream instead; with neither, the review runs without the Deviations lens.
  • Upstream (a plan only) — its name with .PLAN replaced by .REQUIREMENTS, when that exists.
  • Related tickets — those on disk: the ticket's ## Ticket set, its parent, its siblings, later ones that build on this work included.
  • Repos — every repo the feature spans, as named by the ticket, the artifact and the project's governing docs: where it is built, the other side of each integration it relies on, and whatever will consume what it delivers (a backend ticket's frontend, a library's apps, an API's other clients, the readers of a changed table). Any that can't be located → one batched ask for their paths, autoaccept or not; the user may skip one.

Done when the artifact, the ticket or its absence, and each repo's path or skip are settled.

Review

Load and follow fresh-eyes-review — inputs all explicit, so it runs without its confirmation step — with the whole artifact as the changeset, one sentence of intent (the ticket's title — without a ticket, the artifact's own summary — and the phase the artifact feeds), the sources above (skipped repos named as unavailable), and this mandate in place of its default:

  • Deviations. List every difference between artifact and ticket (for a ticketless plan, its upstream) in what must be true when the work is done — dropped, added, changed; rewording and merged duplicates are not differences, nor is a plan's "how". Each needs a written reason, anywhere in the artifact or its upstream: none → a finding. A reason is itself a claim.
  • Claims. Every decision and factual statement is a claim to test, never accepted because it is written. Probe each source class:
    • code — every repo, both sides of each integration, searching for the concept and never only the spot the artifact names;
    • related tickets — on disk first; the tracker, read-only, for a specific doubt;
    • designs the ticket references;
    • other docs in the ticket's directory;
    • branches and PRs the tickets link.
  • Future fit. Does what the artifact delivers fit whoever builds on it next: a later ticket's needs, the way the consumer's code already uses analogous things (names, shapes, errors, paging)?
  • Readiness. A fresh session can act on the artifact without the ticket or any conversation; no open question blocks the next phase; acceptance criteria are verifiable. Requirements say what, never how. A plan's steps are concrete enough to act on, ordered without broken intermediate states, and together cover every acceptance criterion.

Grounded bar: every finding names the document the mistake originates in and a citation verifiable blind — file path + lines + verbatim quote, ticket id + quoted text, or design frame id; zero findings is a valid outcome. The reviewer also reports, per source class, what it probed and what it could not reach — unreachable is unchecked, never skipped silently.

Done when the reviewer has returned its findings — possibly none — and its source coverage.

Challenge

A finding is a conclusion too: before any edit, try to disprove each one. Open its citation and confirm it exists as quoted and proves the point — related evidence is not proof — then hunt for what contradicts it: a written reason the reviewer missed, a code path elsewhere. Disproved → dropped, kept for the summary with why. Each survivor is:

  • proven — ticket text or code settles both that it is a mistake and what the correct text is;
  • suspected — everything else: not provable, more than one reasonable fix, or a fix that changes what gets built beyond what the ticket states (most Future fit findings). A deviation with no written reason is suspected too — it may be a decision nobody recorded — unless the artifact contradicts itself on it (a requirement its acceptance criteria miss, a plan missing what its upstream requires) or the code proves its text wrong.

Done when every finding is dropped, proven or suspected.

Decide

One finding at a time, recommending a disposition with a one-line why, worded via explain-in-simple-language when available — the user decides:

  • fix — edit the document the mistake originates in, then the requirements or plan of the same base the fix reaches: a plan faithful to requirements that lost an acceptance criterion → restore it in the requirements, then align the plan; a requirements fix reaches an existing plan of the same base. A plan's ## Tasks section is never edited: a split plan a fix reached is re-split by the Wrap up hand-off, never during the walk. A mistake the ticket itself carries is corrected in the documents derived from it, upstream first — a ticket file is never edited — and recorded with its reason where each keeps its overrides; a deviation the user confirms deliberate gets its reason recorded there too, so no later reader re-raises it.
  • dismiss — record the user's reason for the summary.
  • defer — handed onward (a question for the requirements owner, a follow-up ticket): record the destination in one line for the summary; drafting its text is in scope, posting it is not.

Autoaccept — the word autoaccept, in the invocation or said during the walk, hands the remaining decisions of this invocation, later rounds included, to the agent: a proven finding is fixed without asking; a suspected one is still asked.

Every edit, in any mode:

  • rests on cited evidence — a ticket quote, a code location — or the user's explicit decision;
  • never changes a decision documented as deliberate on the reviewer's or the session's opinion alone — ask;
  • in doubt, leaves the text untouched and asks;
  • reads as the author's own text, with no trace of the review;
  • has its replaced text kept for the summary — planning files are often untracked, so no diff will show it.

Done when every surviving finding has a disposition.

Rounds

Any edit earns a fresh round: a new reviewer on the whole artifact with the same prompt, told nothing of earlier findings or decisions. A re-raised finding matching a dropped, dismissed or deferred one keeps that outcome unless it brings evidence the earlier one lacked. Rounds stop when one leads to no edit, or at 2 per invocation; the user may stop earlier or ask for more. When every edit of a round only rewords, its meaning kept, offer the fresh round instead of starting it, naming each reworded edit, even under autoaccept: the user decides, since only a fresh reader can tell whether new wording reads as meant.

Done when a stop condition has ended the rounds.

Wrap up

Before printing, write each source left unchecked that a claim of the artifact rests on into the artifact, as the author's own text with no trace of the review and no round for it, when a reasonable default exists: in requirements a non-blocking Open questions entry with its tentative answer; in a plan a note in the How of the step relying on it. Without one it blocks: an ask, the artifact not ready while it is unanswered.

Print — no review file is written; what a later reader needs lives in the artifact:

  • whether the artifact is ready for the next phase, what blocks it if not (a deferred finding, an unanswered ask), and whether the review ran same-context (weaker);
  • Fixed — each with the text before and after, and its evidence;
  • Dropped in challenge, Dismissed, Deferred — each with its reason or destination, a deferred one also with its drafted text;
  • sources left unchecked, with the claims resting on them;
  • edits no later round covered;
  • other documents derived from an edited one (e.g. manual test instructions, a split plan's tasks), as possibly stale.

Fixed findings sharing a cause that a governing skill or doc covers, or should — the skill that wrote the artifact, a project doc — are a lesson: when self-improve is available, print it in one line with its target and offer to run it, never unasked. One-off slips earn no offer.

Ready → hand off the next phase, each option as its own fenced block under the label quoted below, holding one copy-pasteable launch command in the syntax of the agent tool in use (claude is only the example), <slug> being the artifact's; a block only when its skill is available; requirements with a plan of the same base hand off that plan's next phase in place of create-plan:

  • After requirements — "Plan the implementation:" and "Write the QA manual test:":

    claude --name create-plan-<slug> "/create-implementation-plan <path>.REQUIREMENTS.md"
    claude --name create-manual-test-<slug> "/create-manual-test-instructions <path>.REQUIREMENTS.md"
  • After an unsplit plan — "Execute the plan:" and "or split it into tasks first, for small reviewable increments:"; after a split plan a fix reached, the split block alone, labelled "Split the plan into tasks again, replacing the current split:":

    claude --name execute-plan-<slug> "Execute the plan <path>.PLAN.md, then run the project's validation (lint, tests, build); report, never commit"
    claude --name split-plan-tasks-<slug> "/split-plan-tasks <path>.PLAN.md"
  • After a split plan no fix reached — "Execute the tasks:":

    claude --name execute-tasks-<slug> "/execute-plan-tasks <path>.PLAN.md"

Then the alternative: one line offering to clear the current session (/clear is only the example) and run the next phase here, then the same labelled blocks with the bare prompts, under the same rules.

Done when all are printed, in both forms.

Boundaries

  • Files written, scratch aside: the artifact, plus its upstream requirements or derived plan when a fix reaches them — no review file, no source code.
  • Read-only on the tracker, the repos and git.

常见问题

Harden Artifact AI 技能有什么作用?

在下一阶段接手之前,根据对应工单和代码加固 REQUIREMENTS 或 PLAN 文档。

为什么在 TypingMind 中使用 Harden Artifact?

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

如何在 TypingMind 中安装 Harden Artifact?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/eai-org/agent-toolkit/tree/main/skills/harden-artifact。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Harden Artifact?

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

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

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

Harden Artifact AI 技能免费吗?

是的。eai-org 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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