Adapto content seed
Skill adaptocms/adapto-cms-agent-skills/plugin/skills/adapto-content-seed
The express lane — quickly stand up a few on-brand starter drafts by running a condensed research→plan→create→upload cycle with greenfield defaults and minimal questions. For "just give me a few starter pieces fast"; the full pipeline is the considered path. Plan-then-apply; everything lands as draft.From its SKILL.md
npx -y skills add adaptocms/adapto-cms-agent-skills --skill adapto-content-seedAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- reads credentialsReads from 2 credential sources: `.adapto/schema.json` and 1 more.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 3 commands, including `adapto auth me` and 2 more.
SKILL.md
5.7 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it
adapto:content-seed
The express lane over the content pipeline (content-pipeline.md). It
runs a condensed research → plan → create → upload cycle with greenfield defaults and minimal
questions, to quickly fill a fresh site with a few on-brand draft pieces. It is not a separate write
path — it uses the same drafts, _adapto_seo, ledger, and gated upload as the full pipeline; it just skips
the deliberation. For a real content cycle, use the full pipeline.
When to use
- "Seed some starter content", "give me a few starter drafts fast", "populate the site so it isn't empty" —
typically right after
adapto:schema-apply.
When not to use
- A considered content cycle (research, top-N planning, cornerstone writing) → the full pipeline
(
adapto:content-research→adapto:content-plan→adapto:content-create→adapto:content-upload). - Translating existing content →
adapto:translate. · Just checking the environment →adapto:doctor.
Inputs
- The brain (
.adapto/project/) if present — for voice/audience; absent → neutral, generic starters. .adapto/schema.json— collection targets (for any collection-item starters); absent → Articles/Pages only.- Tenant + language (confirm the working tenant).
- A tiny bit of direction: how many pieces / which types (defaults below).
Outputs
- A few draft pieces in Adapto: ~2–3 Articles (provenance-tagged), home + about Pages, and 2–3 rows per
custom collection — created via the pipeline's md→draft→upload path (so they carry
_adapto_seo+ ledger rows). - Next step: review the drafts on the dev server, then
adapto:publishto take them live; or run the full pipeline (adapto:content-research…) for a proper cycle;adapto:seo-wireto render their metadata.
Preconditions
- Preflight with the
adapto:doctorchecks. - Hard-block on an authenticated CLI (
adapto auth me) and a selected tenant — it ends by writing drafts to the CMS; confirm the working tenant. .adapto/schema.jsonfor collection-item starters (else Articles/Pages only).adaptoCLI>= 0.1.3.
Plan phase
A condensed cycle, gated before any CMS write:
- Auto-propose a small slate from the brain (or neutral defaults): titles/topics + counts (defaults:
~3 Articles, home + about Pages, 2–3 rows per custom collection in
schema.json). Take one edit pass (add/remove/rename, adjust counts) — don't interrogate field-by-field. Mark which Articles link to which categories. - Draft the pieces as Markdown (the
adapto-writerpath, content-pipeline.md §2) so the user can review them, and write them to.adapto/drafts/with ledger rows. The express lane skips deliberation, not the quality gates — drafts follow seo-standards.md and prose-standards.md like the full pipeline: the writer's prose self-check, the deterministic em-dash grep on each draft body, and theadapto-editorcritique pass all run exactly as inadapto:content-create. - Print the upload plan (the
adapto:content-uploadplan): create-vs-update, the schema gate,_adapto_seoitems, provenance session id — and ask as a pickable question (Approve/Change something/Discuss this). No cost/token figures. Nothing to create → say so and stop.
Apply phase
Runs only after approval — the same write path as adapto:content-upload:
- Convert each approved draft md→HTML, create the Article/Page/collection item as
draft(--source '{"type":"ai_generated","name":"<session>"}'on Articles), mirror_adapto_seo, advance the ledger touploaded; link Articles to categories. - Loop cleanly (judge success from each call's
--json, exit 0 on success — §8). - Then restart the dev server (stop→start) and keep it running so the new drafts appear — never kill it
(§14). Point to review →
adapto:publish, or the full pipeline for the next cycle.
Errors and recovery
- No
.adapto/schema.json→ seed Articles + Pages only; skip collection items; point toadapto:schema-apply. - No brain → use neutral generic starters; note content will be sharper after
adapto:project-define. - Slug already exists (dedup via the ledger /
get-by-slug) → skip that piece; never duplicate. - Schema gate / drift / partial failure → handled exactly as
adapto:content-upload(it's the same path). - Not authenticated / no tenant → stop; offer both auth paths —
Log inorRegister(conventions.md §11) — then tenant selection.
Forbidden actions
- Never omit
--sourceon an Article write — it mislabels content asinternal/CLI(forbidden-actions.md). - Never publish — everything lands
draft(draft-first); the user reviews thenadapto:publish. - Never write without an approved plan; never assume the working tenant.
- Never fabricate an author; never invent fields outside the schema; never modify the read-client.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.