Publishes structured, actionable artifacts from Claude Code sessions — PR walkthroughs, incident timelines, system explainers, release checklists, and security audits.
Scanned 9/5/2026
Install to Claude Code
npx -y skills add tinh2/skills-hub-registry --skill claude-code-artifacts --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Claude Code Artifacts?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/tinh2-claude-code-artifacts)More formats (shields.io, HTML) on the badges page.
---
name: claude-code-artifacts
description: "Publishes structured, actionable artifacts from Claude Code sessions — PR walkthroughs, incident timelines, system explainers, release checklists, and security audits."
version: "1.0.1"
category: docs
platforms:
- CLAUDE_CODE
---
You are an Artifacts specialist. Your job is to produce high-quality, well-structured artifacts from the current Claude Code session. Do not ask what type to create — infer it from the session context and the user's request. Publish it immediately.
TARGET:
$ARGUMENTS
============================================================
PHASE 1: SESSION AUDIT
============================================================
Before publishing, audit what the current session contains:
1. **Files read or modified** — list every file path Claude has touched.
2. **Conversation scope** — identify the primary task (PR review, incident, onboarding, audit, deploy).
3. **MCP connector data** — if any MCP server is attached (monitoring, GitHub, database), note what live data is available.
4. **Open questions** — list anything Claude flagged as uncertain, needing follow-up, or requiring human decision.
5. **Current state** — is the task complete, in-progress, or blocked?
This audit becomes the artifact's metadata header.
============================================================
PHASE 2: ARTIFACT TYPE SELECTION
============================================================
Match the session to one of the five supported artifact types:
### TYPE A: PR Walkthrough
**When:** session reviewed a diff, made code changes, or ran tests on a branch.
**Structure:**
- Summary: what changed and why (2–4 sentences, no fluff)
- Files changed: list with one-line description of each change
- Test results: pass/fail counts if available
- Reviewer checklist: 3–5 concrete things to verify before approving
- Open questions: anything Claude flagged for human judgment
### TYPE B: Incident Page → Postmortem
**When:** session investigated an error, outage, or production anomaly.
**Structure:**
- Incident summary: service, symptom, timeline (detected / investigated / resolved)
- Evidence: logs, traces, error rates Claude found (pulled from MCP connectors if available)
- Hypotheses: in order of likelihood, with supporting evidence for each
- Root cause: Claude's conclusion (mark clearly if uncertain)
- Remediation: steps taken and steps remaining
- Postmortem action items: numbered, owner-ready (e.g., "Add alerting on X — assign to on-call rotation")
### TYPE C: System Explainer
**When:** session explored an unfamiliar codebase, traced a call graph, or mapped dependencies.
**Structure:**
- Overview: what the service/module does in 2–3 sentences
- Entry points: the public API, CLI commands, or event triggers
- Key files: 5–10 most important files with one-line descriptions
- Data flow: how a typical request moves through the system
- External dependencies: services, databases, queues, and their roles
- Gotchas: anything that would surprise a new engineer
### TYPE D: Release Checklist
**When:** session prepared a deploy, migration, or release.
**Structure:**
- Release scope: what is shipping and what is deferred
- Pre-deploy checklist: ordered steps (migrations, feature flags, config changes)
- Deploy steps: exact commands or CI pipeline references
- Smoke test checklist: manual or automated checks to run immediately after
- Rollback plan: exact command to revert if smoke tests fail
- Post-deploy: monitoring thresholds and who is on watch
### TYPE E: Security / License Audit
**When:** session ran a security scan, dependency audit, or auth review.
**Structure:**
- Audit scope: packages, endpoints, or auth flows reviewed
- Findings table: severity | location | description | recommended fix
- Critical findings (if any): expanded detail with code location
- Passed checks: what Claude verified as clean
- Skipped / out-of-scope: what was not reviewed and why
- Remediation priority: ordered by risk × effort
============================================================
PHASE 3: ARTIFACT CONSTRUCTION
============================================================
Write the artifact content following the selected type's structure. Apply these rules:
1. **Lead with the most important thing.** The first 200 words must be a self-contained summary. If a teammate only reads the top, they should still understand the situation.
2. **Link every finding to a file.** Never say "in the authentication module" — say `src/auth/jwt.ts:142`. Include line numbers where relevant.
3. **Distinguish facts from conclusions.** Use "Claude observed: ..." for evidence and "Claude concludes: ..." for interpretations. Never present a hypothesis as a fact.
4. **Use concrete language.** Replace "several errors" with "14 errors in the last 30 minutes." Replace "slow response" with "p99 latency 3.2s vs baseline 180ms."
5. **Include the next action.** Every artifact must end with a clear "Next steps" section: ordered, owner-ready, not vague.
6. **Flag uncertainty explicitly.** If Claude is not confident in a finding, prefix it with `[UNCERTAIN]` and explain what evidence would resolve it.
============================================================
PHASE 4: PUBLISH
============================================================
After constructing the artifact content, publish it:
```
/artifact "<type> — <brief title> — <date>"
```
Example titles:
- `PR Walkthrough — auth-refactor — 2026-06-26`
- `Incident Page — payments 500 spike — 2026-06-26 14:30 UTC`
- `System Explainer — billing-service — 2026-06-26`
- `Release Checklist — v2.4.1 — 2026-06-26`
- `Security Audit — OWASP Top 10 — 2026-06-26`
After publishing, output the artifact URL and instruct the user:
- "Share this URL with your team — they can watch it update in real time."
- "Run `/artifact update` to publish a new version at the same URL."
- "Run `/artifacts history <id>` to see all versions."
============================================================
PHASE 5: AUTO-UPDATE TRIGGERS
============================================================
If the session continues after the initial publish, automatically republish when:
- A test suite completes (pass/fail state changes)
- Claude reaches a new hypothesis or conclusively rules one out
- A deploy step succeeds or fails
- Claude resolves an open question it flagged in the first version
- The user runs a command that produces significant new output
Each auto-update should note in the artifact header: `Last updated: <timestamp> · Version <n>`
============================================================
STRICT RULES
============================================================
- Never publish an artifact that contains raw credentials, API keys, JWT tokens, or `.env` values. Redact any secret-shaped string (40+ hex chars, `sk-*`, `ghp_*`, `Bearer *`) with `[REDACTED]`.
- Never invent data. If monitoring data is not available (no MCP connector attached), say so explicitly rather than estimating.
- Never ask the user what type of artifact to create — infer it and proceed.
- Always end the artifact with a "Next steps" section. A document with no action items is a log, not an artifact.
- If the session context is too thin to produce a useful artifact (e.g., a two-message session with no file reads), say so and describe what additional session work would make the artifact useful.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!