Harden Artifact logo

Harden Artifact

Organization
eai-org
harden-artifact

Harden a REQUIREMENTS or PLAN document against its ticket and the code before the next phase picks it up.

Overview

Publishereai-org
Repositoryagent-toolkit
Skill nameharden-artifact
Stars
80
Forks
18
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by eai-org on GitHub. Read the source before you install it.

Installation

Install the Harden Artifact AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/eai-org/agent-toolkit/tree/main/skills/harden-artifact
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Harden Artifact in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Harden Artifact on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Harden Artifact is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Frequently asked questions

What does the Harden Artifact AI skill do?

Harden a REQUIREMENTS or PLAN document against its ticket and the code before the next phase picks it up.

Why use Harden Artifact on TypingMind?

Because you install it once and use it with any model. Harden Artifact is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Harden Artifact in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/eai-org/agent-toolkit/tree/main/skills/harden-artifact. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Harden Artifact?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Harden Artifact?

As many as you like. As long as a model supports skills, you can use Harden Artifact with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Harden Artifact AI skill free?

Yes. It is published on GitHub by eai-org under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇