Artifact

From shenxingy/Clade · View interactive version

Artifact is an AI agent skill from the GitHub repository shenxingy/Clade. Create and review artifact/report pages: research findings, project status, architecture, decisions, handoffs and reference pages. Select the structure from the reader question, write understandable copy, then inspect rendered figures and perform a fresh-reader review. Use for 写artifact、做报告、状态报告、架构报

How to use this skill

Skill file

Artifact

One page that answers, from its first screen, what the problem is now, how

sure we are, what the next step is and what its owner must do or decide —

then carries the evidence. The executable instructions live in prompt.md;

this body is the Codex-facing summary.

What it does

  1. Reads references/review.md to set acceptance answers, then routes the

reader's question through references/spines.md to choose the type and

container; resolves the organisation's design system.

  1. Collects every number with its source, population, window and date, and

grades each claim verified / inferred / speculation.

  1. Uses the selected spine as question coverage, combining short answers and

choosing only relevant parts from references/anatomy.md. Argued pages

open with the lead block (id="bottom-line") directly under the headline:

the bottom line, then what the owner must do or decide ("Needs you: … by

<date>", or "Nothing needed from you."); evidence and uncertainty follow,

and bylines, provenance and version notes go to the foot. Reference pages

keep their lookup structure; a work-log's header runs Human TODO · Blockers

· Now · Goal. No invented metrics or empty sections.

  1. Draws the figures needed to answer the question (references/figures.md)

and, for architecture pages, C4 context and container diagrams with a

legend (references/diagrams.md) — inline SVG, tokens for both themes,

captions that state the takeaway.

  1. Edits language for meaning, first-use definitions and consistency against

the facts, using references/review.md.

  1. Runs python3 ~/.claude/scripts/artifact-lint.py <page>; fixes every FAIL

and fixes or explains WARNs. Reviews all figures and the first screen in

light/dark at desktop/phone widths — the first screen must answer, on its

own, what the owner must do or decide, or the page fails — then performs a

fresh-reader review. Repairs and re-renders until the applicable checks

pass; records evidence in artifact-review.md. Checks the served output after authorized publishing.

An invisible figure or wrong takeaway blocks completion even with clean lint.

Usage

/artifact finding notes/v9-xref.md          # a research result page
/artifact status                            # where the project stands, from the repo + hub
/artifact architecture apps/halo            # as-built system page with C4 L1 + L2
/artifact rca incident-2026-09-21.md        # post-mortem in the SRE field order
/artifact worklog                           # the living Human TODO · Blockers · Now · Goal page

Publishing goes through /internal-deploy (hub) or the Artifact tool

(Claude Artifacts); this skill owns what is on the page, not where it lands.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.