[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CG31B5RQHMWDX60YSW0SV9":3,"skill-same:01M6CG31B5RQHMWDX60YSW0SV9":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":16,"categories":17,"keywords":28,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":42,"ownerHtmlUrl":43,"ownerBlogUrl":7,"ownerDescription":7,"updatedAt":44,"install":45,"resources":58},"01M6CG31B5RQHMWDX60YSW0SV9","create-from-template","基于模板创建文档",null,"","awebai\u002Faweb","awebai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F258851262?v=4","01M6CG2164V80VQVXFEXSFQ3P0","01M6CG21ARN03ENSNQ3AKA9HTB",129,"MIT","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Fnaapp\u002Ffolio\u002Fskills\u002Fcreate-from-template\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01M8BQ6TK1MPB82068236GSXDE","文档处理","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01M8BS5011KJDVSRXG1DC4P666","普通用户","PROFESSION","适用职业",[29,30,31],"create","template","create from template","2026-11-10 10:12:30",false,"---\nname: create-from-template\ndescription: Use when an agent needs to create or append a folio document from a built-in declarative template: pitch, memo, or metrics. This is for USING folio, not changing server code.\n---\n\n# Create a folio document from a built-in template\n\nUse this when the human wants a structured deck, memo, or metrics page and you\nwant folio to render schema-validated slots to ordinary Markdown before storage.\nThe stored document is still append-only Markdown; templates are just a safer\ninput shape for common layouts.\n\n## Prerequisites\n\nRun from a workspace with an active AWID team certificate:\n\n```bash\naw workspace status\naw id cert show\nexport FOLIO_ORIGIN=https:\u002F\u002Ffolio.aweb.ai\n```\n\nFor local development, use `http:\u002F\u002F127.0.0.1:8765` instead.\n\n## Template schema\n\nAll template requests use:\n\n```json\n{\"name\":\"\u003Cpitch|memo|metrics>\",\"slots\":{}}\n```\n\nMinimal pitch selector shape: `{\"name\":\"pitch\",\"slots\":{\"cover\":{\"title\":\"Deck\"},\"sections\":[]}}`.\n\nBuilt-ins:\n\n- `pitch`: cover\u002Fmetrics\u002Fsections\u002Fask\n- `memo`: cover\u002Fsections\n- `metrics`: cover\u002Fmetrics\n\nSlot fields:\n\n- `cover`: `title` required; optional `subtitle`, `eyebrow`.\n- `metrics`: array of objects with `label` required, `value` required, optional `caption`.\n- `sections`: array of objects with `heading` required, optional `body` Markdown.\n- `ask`: object with optional `headline`, `body` Markdown, `items` array of strings.\n\nUnsupported templates, slots, fields, or bad shapes fail closed with 422.\n\n## Pitch body shape\n\n```bash\ncat > pitch-template.json \u003C\u003C'JSON'\n{\n  \"slug\": \"pitch\",\n  \"title\": \"Pitch\",\n  \"template\": {\n    \"name\": \"pitch\",\n    \"slots\": {\n      \"cover\": {\n        \"title\": \"Aweb Folio\",\n        \"subtitle\": \"Agent-authored documents and presentations\",\n        \"eyebrow\": \"Private by capability link\"\n      },\n      \"metrics\": [\n        {\"label\": \"Teams\", \"value\": \"12\", \"caption\": \"pilot workspaces\"},\n        {\"label\": \"Time to share\", \"value\": \"\u003C1 min\", \"caption\": \"after draft approval\"}\n      ],\n      \"sections\": [\n        {\"heading\": \"Problem\", \"body\": \"Agents need durable handoffs that humans can read without logging in.\"},\n        {\"heading\": \"Solution\", \"body\": \"Use append-only Markdown, team themes, media, and no-login present links.\"}\n      ],\n      \"ask\": {\n        \"headline\": \"Ask\",\n        \"body\": \"Approve launch and send the presentation link.\",\n        \"items\": [\"Ship folio\", \"Watch deploy\", \"Follow up with feedback\"]\n      }\n    }\n  }\n}\nJSON\naw id request POST \"$FOLIO_ORIGIN\u002Fv1\u002Fdocuments\" --team-auth --raw \\\n  --body-file pitch-template.json\n```\n\n## Memo body shape\n\n```bash\ncat > memo-template.json \u003C\u003C'JSON'\n{\n  \"slug\": \"team-memo\",\n  \"title\": \"Team memo\",\n  \"template\": {\n    \"name\": \"memo\",\n    \"slots\": {\n      \"cover\": {\"title\": \"Team memo\", \"subtitle\": \"Weekly update\"},\n      \"sections\": [\n        {\"heading\": \"Status\", \"body\": \"Green — final milestone is in review.\"},\n        {\"heading\": \"Risks\", \"body\": \"Keep present links private and noindex.\"}\n      ]\n    }\n  }\n}\nJSON\naw id request POST \"$FOLIO_ORIGIN\u002Fv1\u002Fdocuments\" --team-auth --raw \\\n  --body-file memo-template.json\n```\n\n## Metrics body shape\n\n```bash\ncat > metrics-template.json \u003C\u003C'JSON'\n{\n  \"slug\": \"launch-metrics\",\n  \"title\": \"Launch metrics\",\n  \"template\": {\n    \"name\": \"metrics\",\n    \"slots\": {\n      \"cover\": {\"title\": \"Launch metrics\"},\n      \"metrics\": [\n        {\"label\": \"Documents\", \"value\": \"12\", \"caption\": \"this team\"},\n        {\"label\": \"Versions\", \"value\": \"48\", \"caption\": \"on the busiest document\"}\n      ]\n    }\n  }\n}\nJSON\naw id request POST \"$FOLIO_ORIGIN\u002Fv1\u002Fdocuments\" --team-auth --raw \\\n  --body-file metrics-template.json\n```\n\n## Append a template-generated version\n\nUse the template body without `slug`\u002F`title` against the append endpoint:\n\n```bash\ncat > pitch-v2-template.json \u003C\u003C'JSON'\n{\n  \"name\": \"memo\",\n  \"slots\": {\n    \"cover\": {\"title\": \"Pitch update\"},\n    \"sections\": [\n      {\"heading\": \"Changes\", \"body\": \"Updated the ask and launch metrics.\"}\n    ]\n  }\n}\nJSON\naw id request POST \"$FOLIO_ORIGIN\u002Fv1\u002Fdocuments\u002Fpitch\u002Fversions\u002Ftemplate\" --team-auth --raw \\\n  --body-file pitch-v2-template.json\n```\n\n## Present the generated document\n\n```bash\naw id request POST \"$FOLIO_ORIGIN\u002Fv1\u002Fpresent\" --team-auth --raw \\\n  --body '{\"slug\":\"pitch\",\"ttl_seconds\":86400}'\n```\n\nThe returned `\u002Fpresent\u002F\u003Ctoken>` page uses the same theme, layout, sanitizer, and\nnoindex protections as any other folio document.\n","# Create a folio document from a built-in template\n\nUse this when the human wants a structured deck, memo, or metrics page and you\nwant folio to render schema-validated slots to ordinary Markdown before storage.\nThe stored document is still append-only Markdown; templates are just a safer\ninput shape for common layouts.\n\n## Prerequisites\n\nRun from a workspace with an active AWID team certificate:\n\n```bash\naw workspace status\naw id cert show\nexport FOLIO_ORIGIN=https:\u002F\u002Ffolio.aweb.ai\n```\n\nFor local development, use `http:\u002F\u002F127.0.0.1:8765` instead.\n\n## Template schema\n\nAll template requests use:\n\n```json\n{\"name\":\"\u003Cpitch|memo|metrics>\",\"slots\":{}}\n```\n\nMinimal pitch selector shape: `{\"name\":\"pitch\",\"slots\":{\"cover\":{\"title\":\"Deck\"},\"sections\":[]}}`.\n\nBuilt-ins:\n\n- `pitch`: cover\u002Fmetrics\u002Fsections\u002Fask\n- `memo`: cover\u002Fsections\n- `metrics`: cover\u002Fmetrics\n\nSlot fields:\n\n- `cover`: `title` required; optional `subtitle`, `eyebrow`.\n- `metrics`: array of objects with `label` required, `value` required, optional `caption`.\n- `sections`: array of objects with `heading` required, optional `body` Markdown.\n- `ask`: object with optional `headline`, `body` Markdown, `items` array of strings.\n\nUnsupported templates, slots, fields, or bad shapes fail closed with 422.\n\n## Pitch body shape\n\n```bash\ncat > pitch-template.json \u003C\u003C'JSON'\n{\n  \"slug\": \"pitch\",\n  \"title\": \"Pitch\",\n  \"template\": {\n    \"name\": \"pitch\",\n    \"slots\": {\n      \"cover\": {\n        \"title\": \"Aweb Folio\",\n        \"subtitle\": \"Agent-authored documents and presentations\",\n        \"eyebrow\": \"Private by capability link\"\n      },\n      \"metrics\": [\n        {\"label\": \"Teams\", \"value\": \"12\", \"caption\": \"pilot workspaces\"},\n        {\"label\": \"Time to share\", \"value\": \"\u003C1 min\", \"caption\": \"after draft approval\"}\n      ],\n      \"sections\": [\n        {\"heading\": \"Problem\", \"body\": \"Agents need durable handoffs that humans can read without logging in.\"},\n        {\"heading\": \"Solution\", \"body\": \"Use append-only Markdown, team themes, media, and no-login present links.\"}\n      ],\n      \"ask\": {\n        \"headline\": \"Ask\",\n        \"body\": \"Approve launch and send the presentation link.\",\n        \"items\": [\"Ship folio\", \"Watch deploy\", \"Follow up with feedback\"]\n      }\n    }\n  }\n}\nJSON\naw id request POST \"$FOLIO_ORIGIN\u002Fv1\u002Fdocuments\" --team-auth --raw \\\n  --body-file pitch-template.json\n```\n\n## Memo body shape\n\n```bash\ncat > memo-template.json \u003C\u003C'JSON'\n{\n  \"slug\": \"team-memo\",\n  \"title\": \"Team memo\",\n  \"template\": {\n    \"name\": \"memo\",\n    \"slots\": {\n      \"cover\": {\"title\": \"Team memo\", \"subtitle\": \"Weekly update\"},\n      \"sections\": [\n        {\"heading\": \"Status\", \"body\": \"Green — final milestone is in review.\"},\n        {\"heading\": \"Risks\", \"body\": \"Keep present links private and noindex.\"}\n      ]\n    }\n  }\n}\nJSON\naw id request POST \"$FOLIO_ORIGIN\u002Fv1\u002Fdocuments\" --team-auth --raw \\\n  --body-file memo-template.json\n```\n\n## Metrics body shape\n\n```bash\ncat > metrics-template.json \u003C\u003C'JSON'\n{\n  \"slug\": \"launch-metrics\",\n  \"title\": \"Launch metrics\",\n  \"template\": {\n    \"name\": \"metrics\",\n    \"slots\": {\n      \"cover\": {\"title\": \"Launch metrics\"},\n      \"metrics\": [\n        {\"label\": \"Documents\", \"value\": \"12\", \"caption\": \"this team\"},\n        {\"label\": \"Versions\", \"value\": \"48\", \"caption\": \"on the busiest document\"}\n      ]\n    }\n  }\n}\nJSON\naw id request POST \"$FOLIO_ORIGIN\u002Fv1\u002Fdocuments\" --team-auth --raw \\\n  --body-file metrics-template.json\n```\n\n## Append a template-generated version\n\nUse the template body without `slug`\u002F`title` against the append endpoint:\n\n```bash\ncat > pitch-v2-template.json \u003C\u003C'JSON'\n{\n  \"name\": \"memo\",\n  \"slots\": {\n    \"cover\": {\"title\": \"Pitch update\"},\n    \"sections\": [\n      {\"heading\": \"Changes\", \"body\": \"Updated the ask and launch metrics.\"}\n    ]\n  }\n}\nJSON\naw id request POST \"$FOLIO_ORIGIN\u002Fv1\u002Fdocuments\u002Fpitch\u002Fversions\u002Ftemplate\" --team-auth --raw \\\n  --body-file pitch-v2-template.json\n```\n\n## Present the generated document\n\n```bash\naw id request POST \"$FOLIO_ORIGIN\u002Fv1\u002Fpresent\" --team-auth --raw \\\n  --body '{\"slug\":\"pitch\",\"ttl_seconds\":86400}'\n```\n\nThe returned `\u002Fpresent\u002F\u003Ctoken>` page uses the same theme, layout, sanitizer, and\nnoindex protections as any other folio document.\n",{},"main","e93dbd61326d317691715e339739fa5266f02232","naapp\u002Ffolio\u002Fskills\u002Fcreate-from-template",13,"https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb","https:\u002F\u002Faweb.ai","https:\u002F\u002Fgithub.com\u002Fawebai","2026-11-15 03:33:47",{"source":9,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add awebai\u002Faweb --skill create-from-template",{"tool":51,"command":52},"bunx","bunx skills add awebai\u002Faweb --skill create-from-template",{"tool":54,"command":55},"pnpm","pnpm dlx skills add awebai\u002Faweb --skill create-from-template","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Fnaapp\u002Ffolio\u002Fskills\u002Fcreate-from-template\u002FSKILL.md",true,[],[60,72,82,93,100,107],{"skillNo":61,"name":62,"nameZh":63,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":64,"categories":65,"keywords":71,"publishedAt":32},"01M6CG7FQ52R3DF9BPTSZW0PR6","review","代码审查","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fsource\u002Fprofiles\u002Freviewer\u002Fskills\u002Freview\u002FSKILL.md",[66,69],{"categoryNo":67,"categoryName":68,"taxonomyType":26,"taxonomyTypeDesc":27},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":70,"categoryName":63,"taxonomyType":21,"taxonomyTypeDesc":22},"01M8CH8T3M7B4Y4V28A6YRCB0N",[62],{"skillNo":73,"name":74,"nameZh":75,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":76,"categories":77,"keywords":81,"publishedAt":32},"01M6CG7DWVMW3CAV6E54JCK20G","implement","代码实现","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fsource\u002Fprofiles\u002Fdeveloper\u002Fskills\u002Fimplement\u002FSKILL.md",[78,79],{"categoryNo":67,"categoryName":68,"taxonomyType":26,"taxonomyTypeDesc":27},{"categoryNo":80,"categoryName":75,"taxonomyType":21,"taxonomyTypeDesc":22},"01M8BT7QVANT4709358VEJK53E",[74],{"skillNo":83,"name":84,"nameZh":85,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":86,"categories":87,"keywords":92,"publishedAt":32},"01M6CG7C1TK4X48E909BEN4SN1","coordinate","任务协作协调","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fsource\u002Fprofiles\u002Fcoordinator\u002Fskills\u002Fcoordinate\u002FSKILL.md",[88,89],{"categoryNo":67,"categoryName":68,"taxonomyType":26,"taxonomyTypeDesc":27},{"categoryNo":90,"categoryName":91,"taxonomyType":21,"taxonomyTypeDesc":22},"01M8BRN0DBCRG4XGJMB6QQEP11","编码任务委派",[84],{"skillNo":94,"name":62,"nameZh":63,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":95,"categories":96,"keywords":99,"publishedAt":32},"01M6CG79Z76QPYG9478ANWN6BQ","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fnegatives\u002Ftoken\u002Fprofiles\u002Freviewer\u002Fskills\u002Freview\u002FSKILL.md",[97,98],{"categoryNo":67,"categoryName":68,"taxonomyType":26,"taxonomyTypeDesc":27},{"categoryNo":70,"categoryName":63,"taxonomyType":21,"taxonomyTypeDesc":22},[62],{"skillNo":101,"name":74,"nameZh":75,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":102,"categories":103,"keywords":106,"publishedAt":32},"01M6CG77V6E9E7STWA5NNCVWPV","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fnegatives\u002Ftoken\u002Fprofiles\u002Fdeveloper\u002Fskills\u002Fimplement\u002FSKILL.md",[104,105],{"categoryNo":67,"categoryName":68,"taxonomyType":26,"taxonomyTypeDesc":27},{"categoryNo":80,"categoryName":75,"taxonomyType":21,"taxonomyTypeDesc":22},[74],{"skillNo":108,"name":84,"nameZh":85,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":109,"categories":110,"keywords":113,"publishedAt":32},"01M6CG766593VZADKEQ1Z0W6TT","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fnegatives\u002Ftoken\u002Fprofiles\u002Fcoordinator\u002Fskills\u002Fcoordinate\u002FSKILL.md",[111,112],{"categoryNo":67,"categoryName":68,"taxonomyType":26,"taxonomyTypeDesc":27},{"categoryNo":90,"categoryName":91,"taxonomyType":21,"taxonomyTypeDesc":22},[84]]