[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F6H3CV8KXHTT3FN919WSEX":3,"skill-same:01M7F6H3CV8KXHTT3FN919WSEX":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":35,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M7F6H3CV8KXHTT3FN919WSEX","safe-edit",null,"Make a reviewable change to an existing page or article - snapshot first, edit, preview, report the diff. Use for any edit request on existing content, including re-filing an article under other categories or tags.","cloudhal-dev\u002Fcloudhal","cloudhal-dev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F339305508?v=4","01M7F6CBSQSXRK024DJC53T1F3","Cloudhal","01M7F6CBTBR6CZKSPTB3812R1D",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fcloudhal-dev\u002Fcloudhal\u002Fblob\u002Fmain\u002Fskills\u002Fofficial\u002Fsafe-edit\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: safe-edit\ndescription: Make a reviewable change to an existing page or article - snapshot first, edit, preview, report the diff. Use for any edit request on existing content, including re-filing an article under other categories or tags.\nlicense: Apache-2.0\ncompatibility: Requires the Cloudhal MCP server (get_page\u002Fget_entry, update_page\u002Fupdate_entry, list_terms, resolve_terms, create_snapshot, diff_snapshots, preview_page).\nmetadata:\n  cloudhal.schemaVersion: \"1\"\n  cloudhal.requiresCapabilities: \"content\"\n  cloudhal.scopes: \"site:read,content:read,content:write,preview:create\"\n  cloudhal.approval: \"\"\n---\n\n# Safe edit\n\nThe loop every change goes through: snapshot → edit → preview → diff → report. Never skip the preview, never publish.\n\n## Steps\n1. Read the current node (`get_page` or `get_entry`). Keep its `rev`; the server rejects stale revisions with a conflict — reload and retry once, then stop and report.\n2. `create_snapshot` labelled \"Before: \u003Cshort description>\".\n3. Apply the smallest change that satisfies the request. Preserve section ids; add new sections with new ids only when asked. For categories and tags send only the delta — `terms: {\"tag\": {\"add\": [...], \"remove\": [...]}}` or `{\"category\": {\"primary\": \"…\"}}` — as described in `references\u002Fretagging.md`.\n4. `preview_page` (for articles, preview the page that lists them or the article path) and read the HTML back.\n5. `diff_snapshots` between the \"Before\" snapshot and a new `create_snapshot` labelled \"After: \u003Cshort description>\"; include added\u002Fchanged\u002Fremoved counts in the report.\n6. Report: what changed (for terms: which were added or removed, and the primary), the preview URL, and the two snapshot ids so a human can roll back.\n\n## Rules\n- Do not change `status`; moving to review or published is `publish-article`.\n- Do not touch content in locales other than the one requested.\n- Do not create terms while editing. If a needed tag does not exist, say so (or `propose_term` when the user asked for it). Renaming, merging or retiring a term is not an edit: it changes every article that uses it and waits for a person.\n- Do not change the slug of a published article unless asked; say that it leaves a redirect.\n","# Safe edit\n\nThe loop every change goes through: snapshot → edit → preview → diff → report. Never skip the preview, never publish.\n\n## Steps\n1. Read the current node (`get_page` or `get_entry`). Keep its `rev`; the server rejects stale revisions with a conflict — reload and retry once, then stop and report.\n2. `create_snapshot` labelled \"Before: \u003Cshort description>\".\n3. Apply the smallest change that satisfies the request. Preserve section ids; add new sections with new ids only when asked. For categories and tags send only the delta — `terms: {\"tag\": {\"add\": [...], \"remove\": [...]}}` or `{\"category\": {\"primary\": \"…\"}}` — as described in `references\u002Fretagging.md`.\n4. `preview_page` (for articles, preview the page that lists them or the article path) and read the HTML back.\n5. `diff_snapshots` between the \"Before\" snapshot and a new `create_snapshot` labelled \"After: \u003Cshort description>\"; include added\u002Fchanged\u002Fremoved counts in the report.\n6. Report: what changed (for terms: which were added or removed, and the primary), the preview URL, and the two snapshot ids so a human can roll back.\n\n## Rules\n- Do not change `status`; moving to review or published is `publish-article`.\n- Do not touch content in locales other than the one requested.\n- Do not create terms while editing. If a needed tag does not exist, say so (or `propose_term` when the user asked for it). Renaming, merging or retiring a term is not an edit: it changes every article that uses it and waits for a person.\n- Do not change the slug of a published article unless asked; say that it leaves a redirect.\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":29},{"cloudhal.scopes":25,"cloudhal.approval":26,"cloudhal.schemaVersion":27,"cloudhal.requiresCapabilities":28},"site:read,content:read,content:write,preview:create","","1","content","Requires the Cloudhal MCP server (get_page\u002Fget_entry, update_page\u002Fupdate_entry, list_terms, resolve_terms, create_snapshot, diff_snapshots, preview_page).","main","35f66894fd3fc24dbb5f630b9b8e5fb46b2f60ff","skills\u002Fofficial\u002Fsafe-edit",0,"https:\u002F\u002Fgithub.com\u002Fcloudhal-dev\u002Fcloudhal","https:\u002F\u002Fcloudhal.com","https:\u002F\u002Fgithub.com\u002Fcloudhal-dev","Open-source, agent-native site platform. Sites your agents can build, safely.","2026-11-15 16:43:04",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add cloudhal-dev\u002Fcloudhal --skill safe-edit",{"tool":45,"command":46},"bunx","bunx skills add cloudhal-dev\u002Fcloudhal --skill safe-edit",{"tool":48,"command":49},"pnpm","pnpm dlx skills add cloudhal-dev\u002Fcloudhal --skill safe-edit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcloudhal-dev\u002Fcloudhal\u002Fblob\u002Fmain\u002Fskills\u002Fofficial\u002Fsafe-edit\u002FSKILL.md",true,[53,59],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"evals\u002Fretitle.json","REFERENCE","参考文档",181,"https:\u002F\u002Fgithub.com\u002Fcloudhal-dev\u002Fcloudhal\u002Fblob\u002Fmain\u002Fskills\u002Fofficial\u002Fsafe-edit\u002Fevals\u002Fretitle.json",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fretagging.md",1132,"https:\u002F\u002Fgithub.com\u002Fcloudhal-dev\u002Fcloudhal\u002Fblob\u002Fmain\u002Fskills\u002Fofficial\u002Fsafe-edit\u002Freferences\u002Fretagging.md",[64,71,78,85,92,99],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7F6HKXT8V2ERN4YQX8ZJQPT","stale-review","Review a few published articles that have not been updated for a long time, make small safe fixes in drafts, and leave them as one proposed release for a person to schedule - never publishing anything. Built for a weekly scheduled agent task (begin_run, then end_run) that does not read visitor text. Use for a periodic content review or when asked which old articles need attention.","https:\u002F\u002Fgithub.com\u002Fcloudhal-dev\u002Fcloudhal\u002Fblob\u002Fmain\u002Fskills\u002Fofficial\u002Fstale-review\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7F6HE4N308FAQSWYFVHPGFD","site-design","Design or redesign Cloudhal pages that look modern and follow the site's own design rules (DESIGN.md). Use when asked to build, design, restyle or improve a page, a landing page or a home page, or to write the site's design rules.","https:\u002F\u002Fgithub.com\u002Fcloudhal-dev\u002Fcloudhal\u002Fblob\u002Fmain\u002Fskills\u002Fofficial\u002Fsite-design\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7F6HAJD269MKDJ07XH8R538","site-bootstrap","Set up a new Cloudhal site's first pages and navigation from a short brief. Use when a site is empty or the user asks to \"set up\", \"scaffold\" or \"bootstrap\" a site.","https:\u002F\u002Fgithub.com\u002Fcloudhal-dev\u002Fcloudhal\u002Fblob\u002Fmain\u002Fskills\u002Fofficial\u002Fsite-bootstrap\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7F6GP12RFE32BQT1D4JCSJY","rollback","Restore a site to an earlier snapshot after confirming the target with the user. Use when something published is wrong and the user asks to revert, undo or roll back.","https:\u002F\u002Fgithub.com\u002Fcloudhal-dev\u002Fcloudhal\u002Fblob\u002Fmain\u002Fskills\u002Fofficial\u002Frollback\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7F6G593PWRV1KKKG448S74W","publish-article","Check a draft article, file it under the site's categories and tags, produce a preview and submit it for publication now or at a set time, optionally under an embargo or with an expiry. Use when the user asks to publish, release, schedule or go live with an article.","https:\u002F\u002Fgithub.com\u002Fcloudhal-dev\u002Fcloudhal\u002Fblob\u002Fmain\u002Fskills\u002Fofficial\u002Fpublish-article\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7F6FNP4M5RTD5QX3X3HKXJF","comment-triage","Sort a site's reader-comment queue - label pending and reported comments, mark obvious spam and hide clear abuse - without ever approving or replying. Built for a scheduled agent task (begin_run, then end_run) that reads visitor text and so may only read, label and hide. Use for nightly or hourly comment triage, or when asked to go through the comment queue.","https:\u002F\u002Fgithub.com\u002Fcloudhal-dev\u002Fcloudhal\u002Fblob\u002Fmain\u002Fskills\u002Fofficial\u002Fcomment-triage\u002FSKILL.md",[],[]]