/artifacts-done-properly:adp-adoptfrom artifacts-done-properly
Migrates an existing claude.ai Artifact to the ADP multi-file layout by adding part IDs, hashes, declaring the database, seeding records, or converting single-file pages to adp/2 format.
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.
None: SKILL.md is the whole skill.
Why: a page without part ids has no stable anchors, and its history lives only in versions. Adoption adds the part ids and the db without changing how the page looks or behaves.
ADP means python3 -I <adp skill folder>/scripts/adp.py. Read the artifact's latest version first (Artifact read), save it into a folder, and tell the owner what you are about to do. The read returns the page inside the Artifact tool's document skeleton (<!doctype html><html><head>...</head><body> ... </body></html>). Save only what sits between <body> and </body> (it starts at <title>): the publish wraps the file again, and a file that carries its own doctype, head and body ends up nested inside the wrapper.
<!-- part:view.section --> ... <!-- /part:view.section --> (ids lowercase kebab, dot-separated, never changed later; styles and shared scripts become parts such as page.style, page.script, and each carries its own data-part="<id>", which ADP check requires; their missing data-comment-target only warns). Add data-part="<id>" and data-comment-target to each rendered root. A page with no views is one part per block (title, list, form...).ADP check PAGE|DIR takes a single page or a folder: it must pass. ADP manifest PAGE|DIR prints the part hashes.label and capabilities that keep what the page already declares (Artifact list with scope files prints the stored declaration; a non-empty capabilities replaces it, so restate every capability in it) and add the ADP rule {path: "", read: "view", write: "admin"} to the db rules, so only editors write the record. A page that declared nothing gets just that db rule: ADP's record lives there, and data the page keeps in the browser (localStorage) stays where it is, not migrated. Add one more rule per collection the page itself writes, at the access its writers have now (for example {path: "books", read: "view", write: "interact"}), or they lose write access. Add user: {} only if the page uses it.ADP seed DIR --by <you> --data FILE|DIR writes seed.json and seed/ for the page to expand on its first open by an editor (it expands whenever manifest/current is absent, so a page that already has its own rows still seeds); --batches prints ArtifactData batches instead. Tell the owner in one line.Step A alone gives the page part ids and comment anchors; Step B is optional and needs a parity proof.
ADP new starter REF --catalog CATALOG and copy its shell, adp.js and content.js structure: a thin index.html, adp.js, content.js, styles/*, parts/*.ADP new starter DIR --content FILE to build views from a content file, then --data for records.ADP check DIR, publish with ADP files DIR, then ADP export and ADP record (road adp-edit).adp-edit.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
/adpADP (Artifacts Done Properly) is the standard for shared Claude Artifacts and Sites pages that collect comments or requests from people, or that are built from shared catalog components. Load it FIRST, before writing any HTML and before calling the Artifact or ArtifactData tools, whenever the user wants a new artifact page, board, tracker, dashboard, assistant or record that will be kept, shared or edited again; wants to edit, republish or answer comments on an artifact that already exists or that another session touched; says ADP, adp.py, catalog, kit, theme, template, part id, watch the artifact, requests or presence; wants an existing artifact put on ADP; or is setting ADP up for the first time. Skipping it risks a stale copy overwriting newer versions and rebuilding by hand what the catalog already has./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