{"id":51919,"plugin_id":"plugin_asdk_app_6ac7a7cf631c81919ab859c2f8f149de","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-10-24T13:48:00.114Z","digest":"dc2adfc84040351fd95b9b02dba0561bc843b78f3e05877d19449a72e77ecbd9","against":null,"payload":{"description":"Write a new WordPress post or page as a draft with real editor blocks (headings, paragraphs, lists, images, buttons). Use when the user asks to write, draft or prepare an article, page or announcement for their site.","included_files":[],"name":"write-a-draft","skill_md_contents":"---\nname: write-a-draft\ndescription: Write a new WordPress post or page as a draft with real editor blocks (headings, paragraphs, lists, images, buttons). Use when the user asks to write, draft or prepare an article, page or announcement for their site.\n---\n\n# Writing a draft\n\n1. Ask only what is missing: topic, audience, rough length, post or page. Use `wp_get_posts` on a few recent posts to match the site's tone and length when the user has no preference.\n2. Create the item with `wp_create_post`: a clear `post_title`, `post_status` left as draft, `post_type` \"page\" only for pages.\n3. Lay out the content with `wp_write_blocks` on the new ID: one heading block per section, paragraphs, lists where they help, an image block only with a real image URL from the Media Library (`wp_get_media`).\n4. Optionally set categories and tags with `wp_get_terms` and `wp_add_post_terms`, and a featured image with `wp_set_featured_image`.\n5. Reply with the title, the sections you wrote and the post link, and say it is a draft. Publish only when the user explicitly asks, with `wp_update_post` setting `post_status` to publish.\n\nNever invent facts about the user's business (prices, opening hours, names). Ask, or leave a clear placeholder in the text.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}