/artifacts-done-properly:adpfrom artifacts-done-properly
Manages shared Claude Artifacts with stable part IDs, content hashing, and a publish protocol. Load before creating or editing any shared artifact page, board, tracker, or dashboard.
Ships in artifacts-done-properly. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
ADP makes a shared Artifact safe to edit: every piece of the page is a part with a stable id and a content hash, comments anchor to part ids, and one ArtifactData layout records every change under a read, hold, publish, record protocol. New artifacts use the adp/2 layout (a thin shell plus files per part, copy stored as data). adp.py computes hashes and diffs and prints the exact Artifact and ArtifactData calls, so nothing is retyped by hand.
adp.py lives in scripts/ of THIS skill's folder. Run it as:
python3 -I <this skill's folder>/scripts/adp.py <subcommand>
Use --help or a subcommand with no arguments to see its usage; do not guess a subcommand, a guessed one does not exist and costs a turn.
For local Claude/Codex messages, presence and Codex chat delivery, read
the local bus guide. Its commands, diagrams and verification
limits are maintained there; run the separate scripts/adp_bus.py helper.
~/.adp/config.json or ./.adp/config.json present? If yes, ADP is set up: go to the table.adp.py setup --dry-run, then ask the user ONE question: which scope (user, project or local). Run adp.py setup --scope <answer>. When nobody can answer (an unattended session), use user and say so in your report. It copies the four road skills into the skills folder, writes the config and puts the shipped catalog into ~/.adp/catalog (never overwriting a file that is there); a road skill folder already there that differs (an older release, or local edits) is replaced by the packaged one, so run it again after installing a newer adp.skill. In a plugin install (this skill is listed as artifacts-done-properly:adp) it copies none: the plugin serves the road skills itself, so they follow its updates and a copy would only go stale. A config that already exists is kept: setup only adds the keys it lacks and overwrites no value. A real run needs --scope: without it, or with --help, setup prints its usage and sets nothing up. It only prints the lines it would add to CLAUDE.md; add them with --yes only if the user agrees.adp.py init [DIR]. init and setup --scope project|local also register the project (name, scope, absolute path) in ~/.adp/projects/<name>/config.json; adp.py projects lists the registered projects, so a project is found from any folder.Choose the host as well as the road. For a Sites page, read ADP on Sites before creating, editing or publishing. That guide applies to both Claude and Codex; use native Sites source/record tools in place of the roads' Claude host calls.
| The user wants | Load skill |
|---|---|
| a new artifact page, board, tracker, assistant or record | adp-new |
| to find, use, take or add a catalog component, theme or template | adp-catalog |
| to edit or publish an artifact others also work on, or answer its comments | adp-edit |
| an existing artifact put on ADP (adopt it, move it to adp/2) | adp-adopt |
In a plugin install the road names carry the plugin's prefix, for example artifacts-done-properly:adp-new. Each road is also a plain file: ../<road>/SKILL.md beside this skill's folder in a plugin install (for example ../adp-new/SKILL.md), refs/<road>/road.md in a zip install. When the Skill tool does not know a road, read that file; setup is not needed for it. Each road is complete on its own; the full standard is ~/.adp/catalog/kit/guides/artifact-dataplane.md (setup puts it there; read it only when a road leaves a question open). Run adp.py with no arguments for the real command list; if a road names a command it does not list, the command does not exist.
When a page documents a repository, source review drift maps committed file changes to affected chapters/parts without model calls. Use it to report review needs; catalog header drift and runtime integrity check different boundaries.
Every adp.py command appends one JSON line to log.jsonl: in ./.adp/ when a project config exists, else in ~/.adp/. Show recent lines with adp.py log -n 20. Read it first when asked what was done or why something failed.
requests/ when they say go, and carry on.assets/adapters/claude.js (opens in a new tab)assets/adapters/openai-sites-comments.js (opens in a new tab)assets/adapters/openai-sites.js (opens in a new tab)assets/adapters/openai.js (opens in a new tab)assets/adp.js (opens in a new tab)assets/hosts/openai-sites/fixture.html (opens in a new tab)assets/hosts/openai-sites/schema.sql (opens in a new tab)assets/hosts/openai-sites/worker.mjs (opens in a new tab)assets/hosts/single/shim.js (opens in a new tab)catalog/adp.js (opens in a new tab)catalog/catalog.json (opens in a new tab)catalog/content.js (opens in a new tab)catalog/index.html (opens in a new tab)catalog/kit/callout-refusal.css (opens in a new tab)catalog/kit/callout-refusal.js (opens in a new tab)catalog/kit/callout.css (opens in a new tab)catalog/kit/canvas.css (opens in a new tab)catalog/kit/canvas.js (opens in a new tab)catalog/kit/chrome.css (opens in a new tab)catalog/kit/chrome.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub fblgit/artifacts-done-properly --plugin artifacts-done-properly5 skills in this plugin
/adp-adoptPut an existing claude.ai Artifact on ADP: add part ids and hashes, declare the db, seed the records, or move a single-file page to the multi-file adp/2 layout. Load it when the user wants an artifact they already have to be shared, commented on, edited by several agents, or converted to ADP or adp/2, before touching its source./adp-catalogFind, use and add components, themes, layouts and guides from the ADP catalog (the shared library of reusable artifact parts). Load it whenever an artifact needs a component, theme, layout or pattern that may already exist, when the user says take, reuse, catalog, kit or theme, or when a new reusable piece should be added. Covers search, taking entries by reference with the files map, and the catalog rules. Also load it when the user wants their own, a separate or a private copy of the catalog./adp-editEdit, publish or answer comments on an ADP artifact that more than one agent or session works on. Load it before ANY edit, publish or comment reply on an artifact that has a manifest or db (adp/2), or when the user says several agents are editing, a comment was sent to Claude, or asks what changed. Gives the export, hold, publish, record protocol with version pins so a stale copy never overwrites newer work./adp-newCreate a brand new Claude Artifact or Sites page on ADP (adp/2): a page, board, tracker, assistant or record page that people and Claude will keep editing. Load it whenever the user asks for a new artifact that should be shared, commented on, built from catalog parts or edited by more than one agent, before writing any HTML. Covers the starter and assistant templates, taking a theme from the catalog, the first publish, and the one-time editor open that seeds the database.Other plugins' skills for the same job