For end users
edit-page
Apply a user instruction to a page’s block array and return the new array.
What it does
You’re editing a page in the CMS. You type a natural-language instruction (“tighten the intro”, “add a section about Y”, “split the bullet list into a comparison table”). The skill reads the page’s current blocks, your brand profile and ICP, and returns the new block array plus a one-line summary of what it changed.
The CMS preview updates in place; you accept or undo. Brand and ICP are cached so successive edits in the same session reuse the input tokens.
Inputs
workspace_idbrand_profileicp_profile
(The current page blocks and your instruction are passed as user args, not declared frontmatter inputs.)
Outputs
blocks— the new block arraysummary_of_change— one-line description of what changed
When to run
From the CMS page editor’s “Edit with AI” surface. Not typically run from the CLI.
Where it lives
pectusai/skills/edit-page/SKILL.md