project-artifact
它能做什么
这个技能会创建一个可分享的网页,用于跟踪一个单次更新难以覆盖的大型项目。适合团队负责人,以及任何需要清晰项目状态视图的人。
适用场景
- ✓当一个项目有多条需要长期跟踪的工作流的时候。
- ✓当你想与团队成员分享状态概览,而不必写很长的邮件的时候。
- ✓当你需要一个能集中显示下一步、风险和未决问题的页面的时候。
技能链接
https://github.com/anthropics/claude-plugins-official/blob/main/plugins/project-artifact/skills/project-artifact/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我为办公室搬迁项目制作一个状态页面,包括工作流、风险和下一步?”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会收集项目细节,制作一个带标签页的单个 HTML 页面,并将其发布为私密页面,你可以选择何时分享。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
project-artifact — an opinionated project status page
This skill produces one specific kind of artifact: a tabbed status page that represents a
project too big for one update — a software migration, a research effort, a launch, an org
initiative; anything with a set of parallel/dependent workstreams tracked over time. It
generates the HTML (one file, self-contained — the Artifact CSP blocks all external hosts,
so everything is inlined; the only <script> is the tab switcher) and publishes it with
the built-in Artifact tool to https://claude.ai/code/artifact/<uuid>. The page is
default-private; the viewer gives the owner a version picker and lets them share it with
teammates. (The general "render any HTML/Markdown to a web page" capability is the built-in
Artifact tool; this is the project-tracker structure on top — defining what an artifact
is belongs to that tool, not here.)
The SWE specifics for PR-driven projects are in swe.md, kept out of this file so the
project-artifact structure stays domain-neutral.
Workflow
Resolve the artifact config, then locate the project. Each project gets a directory at
${CLAUDE_PLUGIN_DATA}/artifacts/<slug>/holdingconfig.md(see "The artifact config" below) andpage.html(the current render); listingartifacts/is the registry of this skill's artifacts on this machine (enumerate it with Glob or a directory read — a shell listing of the data dir can be blocked in restricted environments). If the user names a project, load that slug; if exactly one config matches the session (its repo is the cwd, or its project came up in conversation), use it; a config that exists means this is a refresh — follow "Refreshing an artifact" below. No config means a first build: gather from scratch and write the config after the first publish — but if the user says the project already has a published artifact (made on another machine or in a lost session), get that URL and record it instead of minting a new one. Then collect the source material: the goal, the set of workstreams (PRs, milestones, sub-projects, tasks), owners, dates, and any sibling docs (design doc, plan, spec). Pull whatever the domain gives you cheaply — always live, never from memory or earlier turns — for software that'sgh pr list/git log/gh pr view(seeswe.md); for other domains it's the project doc, a tracker, a spreadsheet, your own notes. If the source is itself an existingclaude.ai/code/artifact/...page to reshape, fetch it — see "Reading an existing artifact page" below. Don't ask the user to paste content or hand you a local file as a substitute for fetching it yourself.Pick the tabs from the catalog below — only the ones with real content. Overview and the Workstreams sequence are the spine and are essentially always there; Attention, Background, Plan, Risks & open questions, and Decisions/FAQ each earn a tab only when there's something substantive to put in it (a simple, self-explanatory project may have just Overview + Workstreams; a big one ~6–8). Never ship an empty tab. If this is a software project,
swe.mdnotes the extra tabs a rigorous one tends to want — none of them mandatory.Generate the HTML from
template.htmlin this skill directory (same folder as this SKILL.md): it already has the house style (light/dark viaprefers-color-scheme, CSS variables), the header, the status banner, the next-steps strip, both tab mechanisms (JS-toggled panes as the default; pure-CSS radio tabs as a no-JS alternative), the status-pill classes, and a stub<section>per catalog tab with fill-in comments. Fill the stubs, delete unused tabs, keep it one file. Set a concise<title>— the Artifact tool uses it as the page's name in the browser tab and the claude.ai gallery, and falls back to the file basename without one; keep it stable across redeploys. Write the file to the config'shtmlpath — default${CLAUDE_PLUGIN_DATA}/artifacts/<slug>/page.html, next to the config (not/tmp; not inside the user's repo unless they ask — if they do, use<repo>/.claude/project-artifact/<slug>.htmland record it as the config'shtmlpath): a stable path means the Artifact tool redeploys to the same URL within a session, and the previous render stays around for the next refresh's delta. **Embed the state
常见问题
谁能看到这个状态页面?
页面默认为私密,你可以决定是否与团队成员分享。
页面包括哪些标签页?
包括带有成功标准、工作流顺序和下一步的概览,还可以添加背景、计划、风险和决策。
这只适用于软件项目吗?
不是。这种结构适用于迁移、研究、发布等各类项目,不过拉取请求项目另有专门的指南。
详情
作者的原始描述
Generate and publish a project status artifact — an opinionated, tabbed status page for a project too big for one update (overview & success criteria, the workstream sequence, next steps, plus background, plan, risks & open questions, and decisions/FAQ when they earn a tab) — published with the built-in Artifact tool to a default-private claude.ai page the user can share with teammates. Use when a piece of work spans several workstreams and you want a shareable overview kept current. Each artifact is backed by a small per-project config in the plugin data dir, so refreshing it re-gathers live
热度
- GitHub 星标
- 46k
- 排名
- #6351
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …