Skip to content

docs(skills): fit deco-v7-to-v8-migration to the skill budgets - #799

Closed
tlgimenes wants to merge 2 commits into
mainfrom
skills/deco-v7-to-v8-migration
Closed

tlgimenes wants to merge 2 commits into
mainfrom
skills/deco-v7-to-v8-migration

Conversation

@tlgimenes

@tlgimenes tlgimenes commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

This fits deco-v7-to-v8-migration to the skill conventions in .agents/skills/README.md. It does not rewrite the skill.

  • Renames reference/ to references/ and updates every link, script path and the CLAUDE.md mention.
  • Splits the oversized files by subject (adds running-the-script.md and site-code.md) and trims SKILL.md under 10KB.
  • Corrects claims found wrong against the code during review.
  • Points to deco-go-live for parity QA, and to deco-tanstack-site, deco-nextjs-site and deco-storefront-caching for work after the migration. Those skills are in sibling PRs.

The skills table in .agents/skills/README.md is regenerated, so sibling skill PRs conflict on it: after a rebase run bun run skills:readme.

🤖 Generated with Claude Code


Summary by cubic

Fits deco-v7-to-v8-migration to the skill conventions in .agents/skills/README.md so its structure and budget match the other skills, without rewriting the content.

  • Renames reference/ to references/ and updates every link across the docs, scripts, and CLAUDE.md.
  • Splits oversized files by subject into new references/editor-forms.md, references/site-code.md, and references/running-the-script.md, bringing SKILL.md under 10KB.
  • Corrects claims that were wrong against the code, including createCMS options, the date rule rename, and the missing decocms-v6-to-v7-upgrade skill.
  • Points to deco-go-live for parity QA and to deco-tanstack-site, deco-nextjs-site, and deco-storefront-caching for work after the migration.

The skills table in .agents/skills/README.md regenerates on bun run skills:readme, so sibling skill PRs conflict on it — run that after a rebase.

Written for commit b00b9e6. Summary will update on new commits.

View guided diff Turn on auto-fix

tlgimenes and others added 2 commits November 9, 2026 15:30
Rename reference/ to references/ and update every link, including the
report strings in scripts/ and CLAUDE.md. Split parity.md (editor-form
differences move to editor-forms.md) and framework-code.md (what stays
site code moves to site-code.md). Move the installed-copy run steps into
running-the-script.md to bring SKILL.md under 10KB, and point to
deco-go-live, deco-tanstack-site, deco-nextjs-site and
deco-storefront-caching for work after the migration.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- createCMS has no dev option and reads no NODE_ENV since the CDN
  releases change: fix framework-code.md and telemetry.md.
- legacy-names.md: a date rule renamed to `date` is then reported,
  since deco check rejects `date`; it moves into `campaigns`.
- SKILL.md: no decocms-v6-to-v7-upgrade skill exists; point at v7's
  deco-upgrade-6-to-7 bin instead. Links use ./references/.
- native-apps.md: ^8.4 like every other step; the "fixes below" now
  link to editor-forms.md after the split.
- Point A/B split and site-code topics at site-code.md.
- Drop /next/schema pointers no code or README confirms.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@tlgimenes
tlgimenes requested a review from a team November 9, 2026 18:48
tlgimenes added a commit that referenced this pull request Nov 9, 2026
## What this adds

This brings the agent skills for building sites on `@decocms/blocks` 8
into `.agents/skills/`. They come from decocms/skills,
decocms/storefront-skills, decocms/migrations and the 7.x branch, and
each was rewritten against the v8 code in `packages/`. It also adds
`deco skills install`, which ships the skills with the package.

It replaces #786–#799 (the one-PR-per-skill versions) with the same
commits, cherry-picked onto main, plus a regenerated skills table.

| Skill | Covers |
|---|---|
| `deco-site-workflow` | the `deco` CLI end to end: schema and schema
push on deploy, pull, push, drafts, publish, check, delivery, previewing
in Studio |
| `deco-tanstack-site` / `deco-nextjs-site` | wiring each binding |
| `deco-site-authoring` | sections, pages, loaders, lazy blocks, SEO |
| `deco-cms-schema` | Props → Studio form |
| `deco-make-editable` | hardcoded site or Figma design → editable
blocks |
| `deco-variants` | multivariate blocks, matchers, draft preview |
| `deco-images-media` | image providers, components, LCP, video |
| `deco-storefront-caching` | worker page cache, cache keys, egress |
| `deco-storefront-performance` | N+1, payload trim, hydration, worker
memory |
| `deco-go-live` | cutover and QA |
| `deco-apps` | the thin `@decocms/apps-*` clients |
| `deco-v7-to-v8-migration` | `reference/` → `references/`, split to fit
the size budgets, claims corrected |

**`deco skills install`** copies the skills that ship with the installed
`@decocms/blocks` into the site's `.claude/skills`, or another folder
with `--dir`. It works offline. Blocks' build copies `.agents/skills`
into `packages/blocks/skills/` (git-ignored, listed in `files`).
Studio's banners will tell the agent to run it, then load
`deco-site-workflow`.

Every API, flag and path was checked twice against `packages/`: once by
the writer and once by an independent review. What only existed in v7 or
Fresh was dropped, not ported. Customer names are anonymized. `deco
serve` was removed in 8.10, and `deco-site-workflow` says so.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Adds agent skills for building sites on `@decocms/blocks` 8 to
`.agents/skills/`, rewritten against the v8 code in `packages/`, plus
`deco skills install` to ship them with the package.

**New Features**

- Thirteen skills cover the `deco` CLI workflow, the TanStack and
Next.js bindings, authoring, schema forms, making sites editable,
variants, images/media, caching, performance, go-live, the
`@decocms/apps-*` clients, and v7→v8 migration.
- `deco skills install` copies the bundled skills into the site's
`.claude/skills` (or `--dir`), works offline, and replaces only the
folders it ships.
- Content that existed only in v7 or Fresh was dropped, and every API,
flag and path was verified twice against the code in `packages/`.

<sup>Written for commit fd2dfcd.
Summary will update on new commits.</sup>

<a href="https://cubic.dev/pr/decocms/blocks/pull/800?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="View guided diff"
src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a>
<a
href="https://www.cubic.dev/action/auto-fix/pr/decocms/blocks/800?returnTo=https%3A%2F%2Fgithub.com%2Fdecocms%2Fblocks%2Fpull%2F800&source=description"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img
alt="Turn on auto-fix"
src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a>

<!-- End of auto-generated description by cubic. -->

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
@tlgimenes

Copy link
Copy Markdown
Contributor Author

Superseded by #800, which merged these commits together.

@tlgimenes tlgimenes closed this Nov 9, 2026
@tlgimenes
tlgimenes deleted the skills/deco-v7-to-v8-migration branch November 9, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant