[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MN6ZJZAS4SQYNAHK4KTN7H":3,"skill-same:01M6MN6ZJZAS4SQYNAHK4KTN7H":61},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":46,"install":47,"resources":60},"01M6MN6ZJZAS4SQYNAHK4KTN7H","apply-comments",null,"Apply pending @slide-comment markers written by the open-slide inspector tool. Use when the user asks to \"apply comments\", \"process slide comments\", \"apply the inspector comments\", or references markers left inside `slides\u002F\u003Cid>\u002Findex.tsx`.","arkhe-genesis\u002FArkhe-OS","arkhe-genesis","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F272629719?v=4","01M6KJDTSTJD2AD5RFPVZNGYCP","Rafael Oliveira","01M6KJDTXSTA997KDK184EA55A",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Farkhe-genesis\u002FArkhe-OS\u002Fblob\u002Fmain\u002Ftools\u002F.agents\u002Fskills\u002Fapply-comments\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"comments","apply","apply comments","index","open","slides","tool","user","process","use","tsx","references","id","markers","pending","open-slide","2026-11-10 10:12:30",false,"---\nname: apply-comments\ndescription: Apply pending @slide-comment markers written by the open-slide inspector tool. Use when the user asks to \"apply comments\", \"process slide comments\", \"apply the inspector comments\", or references markers left inside `slides\u002F\u003Cid>\u002Findex.tsx`.\n---\n\n# Apply slide comments\n\nThe open-slide editor has an inspector tool that lets the user click on a rendered page element and attach a textual comment (e.g. *\"make this red\"*, *\"change to 'Open Slide Rocks'\"*). Each comment is persisted as an in-source JSX marker inside `slides\u002F\u003CslideId>\u002Findex.tsx`.\n\nYour job: read those markers, perform the described edits, and delete the markers.\n\n> **Before making any page edit**, consult the **`slide-authoring`** skill — it is the technical reference for how `slides\u002F\u003Cid>\u002Findex.tsx` is structured (canvas, type scale, palette, assets, file contract). A comment like *\"make this bigger\"* or *\"change the accent colour\"* should be applied in a way that stays consistent with those rules.\n\n## Marker format\n\n```\n{\u002F* @slide-comment id=\"c-\u003C8hex>\" ts=\"\u003CISO>\" text=\"\u003Cbase64url(JSON)>\" *\u002F}\n```\n\n- Always sits on its own line as the **first child inside** the JSX element it refers to (i.e. between that element's opening `>` and its other children). The marker is dropped *into* its target, not floated above it.\n- `text` is base64url-encoded JSON: `{\"note\": \"...\", \"hint\"?: \"...\"}`.\n- Detection regex (authoritative — use exactly this):\n\n  ```\n  \u002F\\{\\\u002F\\*\\s*@slide-comment\\s+id=\"(c-[a-f0-9]+)\"\\s+ts=\"([^\"]+)\"\\s+text=\"([A-Za-z0-9_\\-]+={0,2})\"\\s*\\*\\\u002F\\}\u002Fg\n  ```\n\n## Procedure\n\n1. **Identify the target slide(s).**\n   - If the user names one (`example-slide`, `youbike-3-survey`, etc.), work on that single `slides\u002F\u003CslideId>\u002Findex.tsx`.\n   - If they say \"all\" or don't specify, scan every `slides\u002F*\u002Findex.tsx`. Process each slide one at a time.\n\n2. **Read the file and find all markers.**\n   - Run the regex above against the whole file.\n   - For each match, base64url-decode `text` and `JSON.parse` it to get `{ note, hint? }`.\n   - Record each hit as `{ id, lineIndex (0-based), indent, note, hint }`.\n   - If there are no markers, tell the user and stop.\n\n3. **Understand each comment in context.**\n   - The targeted JSX element is the **enclosing** element of the marker — i.e. read upward from the marker line until you reach the unclosed JSX opening tag whose body the marker lives in. That element is the target. (For self-closing elements like `\u003Cimg \u002F>`, the inspector hoists the marker to the nearest non-self-closing ancestor; in that case the comment usually refers to a child of the enclosing element rather than the enclosing element itself — use the `note` text to disambiguate.)\n   - Read enough surrounding code (parent element, sibling elements, inline styles) to apply the change faithfully. A comment inside a `\u003Cdiv>` with an inline `background` style usually refers to that element's styling, for example.\n   - If the `note` is ambiguous, do the smallest reasonable interpretation and mention the assumption in your summary.\n\n4. **Apply edits in reverse line order.**\n   - Sort markers by descending `lineIndex` and process one at a time, using the `Edit` tool.\n   - Processing top-down would invalidate line numbers for later markers as the file shrinks\u002Fgrows.\n\n5. **Remove each marker after applying its edit.**\n   - Delete the entire marker line including its trailing `\\n`.\n   - Never leave a marker behind. An un-removed marker signals a failure.\n\n6. **Verify.**\n   - After all edits, re-read the file and confirm zero remaining markers.\n   - Run `pnpm tsc --noEmit` and `pnpm biome check` (or `pnpm lint`). Fix any introduced errors.\n\n7. **Report.**\n   - Summarise: `N applied, 0 remaining` plus a one-line description of each change (including the slide id).\n\n## base64url decoding helper\n\n```js\nfunction decode(s) {\n  const pad = s.length % 4 === 0 ? '' : '='.repeat(4 - (s.length % 4));\n  return Buffer.from(s.replace(\u002F-\u002Fg, '+').replace(\u002F_\u002Fg, '\u002F') + pad, 'base64').toString('utf8');\n}\n```\n\nYou can run this inline via `node -e '...'` if you need to inspect a payload; otherwise just reason about the decoded string.\n\n## Edge cases\n\n- **Marker with no enclosing JSX element** (shouldn't happen — the inspector won't write one — but if you find one): delete it and note as orphan.\n- **Multiple markers stacked on consecutive lines inside the same element**: they all refer to that enclosing element. Apply them in source order but still delete each line individually.\n- **`_debugSource` used SWC instead of Babel**: not your problem — the marker line is authoritative.\n- **Comment asks for something outside the target element's scope** (e.g. \"add a new page\"): do the closest-reasonable edit and mention the scope expansion in your summary.\n- **Can't resolve the comment** (e.g. truly ambiguous, or the file changed shape such that the target element doesn't exist): leave the marker in place and report it as skipped. Don't guess.\n\n## Do not\n\n- Do not touch `package.json`, `open-slide.config.ts`, or files outside `slides\u002F`.\n- Do not add dependencies.\n- Do not re-introduce markers or leave `TODO` breadcrumbs — the user already has a record in git.\n","# Apply slide comments\n\nThe open-slide editor has an inspector tool that lets the user click on a rendered page element and attach a textual comment (e.g. *\"make this red\"*, *\"change to 'Open Slide Rocks'\"*). Each comment is persisted as an in-source JSX marker inside `slides\u002F\u003CslideId>\u002Findex.tsx`.\n\nYour job: read those markers, perform the described edits, and delete the markers.\n\n> **Before making any page edit**, consult the **`slide-authoring`** skill — it is the technical reference for how `slides\u002F\u003Cid>\u002Findex.tsx` is structured (canvas, type scale, palette, assets, file contract). A comment like *\"make this bigger\"* or *\"change the accent colour\"* should be applied in a way that stays consistent with those rules.\n\n## Marker format\n\n```\n{\u002F* @slide-comment id=\"c-\u003C8hex>\" ts=\"\u003CISO>\" text=\"\u003Cbase64url(JSON)>\" *\u002F}\n```\n\n- Always sits on its own line as the **first child inside** the JSX element it refers to (i.e. between that element's opening `>` and its other children). The marker is dropped *into* its target, not floated above it.\n- `text` is base64url-encoded JSON: `{\"note\": \"...\", \"hint\"?: \"...\"}`.\n- Detection regex (authoritative — use exactly this):\n\n  ```\n  \u002F\\{\\\u002F\\*\\s*@slide-comment\\s+id=\"(c-[a-f0-9]+)\"\\s+ts=\"([^\"]+)\"\\s+text=\"([A-Za-z0-9_\\-]+={0,2})\"\\s*\\*\\\u002F\\}\u002Fg\n  ```\n\n## Procedure\n\n1. **Identify the target slide(s).**\n   - If the user names one (`example-slide`, `youbike-3-survey`, etc.), work on that single `slides\u002F\u003CslideId>\u002Findex.tsx`.\n   - If they say \"all\" or don't specify, scan every `slides\u002F*\u002Findex.tsx`. Process each slide one at a time.\n\n2. **Read the file and find all markers.**\n   - Run the regex above against the whole file.\n   - For each match, base64url-decode `text` and `JSON.parse` it to get `{ note, hint? }`.\n   - Record each hit as `{ id, lineIndex (0-based), indent, note, hint }`.\n   - If there are no markers, tell the user and stop.\n\n3. **Understand each comment in context.**\n   - The targeted JSX element is the **enclosing** element of the marker — i.e. read upward from the marker line until you reach the unclosed JSX opening tag whose body the marker lives in. That element is the target. (For self-closing elements like `\u003Cimg \u002F>`, the inspector hoists the marker to the nearest non-self-closing ancestor; in that case the comment usually refers to a child of the enclosing element rather than the enclosing element itself — use the `note` text to disambiguate.)\n   - Read enough surrounding code (parent element, sibling elements, inline styles) to apply the change faithfully. A comment inside a `\u003Cdiv>` with an inline `background` style usually refers to that element's styling, for example.\n   - If the `note` is ambiguous, do the smallest reasonable interpretation and mention the assumption in your summary.\n\n4. **Apply edits in reverse line order.**\n   - Sort markers by descending `lineIndex` and process one at a time, using the `Edit` tool.\n   - Processing top-down would invalidate line numbers for later markers as the file shrinks\u002Fgrows.\n\n5. **Remove each marker after applying its edit.**\n   - Delete the entire marker line including its trailing `\\n`.\n   - Never leave a marker behind. An un-removed marker signals a failure.\n\n6. **Verify.**\n   - After all edits, re-read the file and confirm zero remaining markers.\n   - Run `pnpm tsc --noEmit` and `pnpm biome check` (or `pnpm lint`). Fix any introduced errors.\n\n7. **Report.**\n   - Summarise: `N applied, 0 remaining` plus a one-line description of each change (including the slide id).\n\n## base64url decoding helper\n\n```js\nfunction decode(s) {\n  const pad = s.length % 4 === 0 ? '' : '='.repeat(4 - (s.length % 4));\n  return Buffer.from(s.replace(\u002F-\u002Fg, '+').replace(\u002F_\u002Fg, '\u002F') + pad, 'base64').toString('utf8');\n}\n```\n\nYou can run this inline via `node -e '...'` if you need to inspect a payload; otherwise just reason about the decoded string.\n\n## Edge cases\n\n- **Marker with no enclosing JSX element** (shouldn't happen — the inspector won't write one — but if you find one): delete it and note as orphan.\n- **Multiple markers stacked on consecutive lines inside the same element**: they all refer to that enclosing element. Apply them in source order but still delete each line individually.\n- **`_debugSource` used SWC instead of Babel**: not your problem — the marker line is authoritative.\n- **Comment asks for something outside the target element's scope** (e.g. \"add a new page\"): do the closest-reasonable edit and mention the scope expansion in your summary.\n- **Can't resolve the comment** (e.g. truly ambiguous, or the file changed shape such that the target element doesn't exist): leave the marker in place and report it as skipped. Don't guess.\n\n## Do not\n\n- Do not touch `package.json`, `open-slide.config.ts`, or files outside `slides\u002F`.\n- Do not add dependencies.\n- Do not re-introduce markers or leave `TODO` breadcrumbs — the user already has a record in git.\n",{"name":5,"description":7},"main","74cd3c4137064fdcde71ed9fe5c4bff58921d899","tools\u002F.agents\u002Fskills\u002Fapply-comments",0,"https:\u002F\u002Fgithub.com\u002Farkhe-genesis\u002FArkhe-OS","https:\u002F\u002Fgithub.com\u002Farkhe-genesis","2026-11-08 09:08:55",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add arkhe-genesis\u002FArkhe-OS --skill apply-comments",{"tool":53,"command":54},"bunx","bunx skills add arkhe-genesis\u002FArkhe-OS --skill apply-comments",{"tool":56,"command":57},"pnpm","pnpm dlx skills add arkhe-genesis\u002FArkhe-OS --skill apply-comments","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Farkhe-genesis\u002FArkhe-OS\u002Fblob\u002Fmain\u002Ftools\u002F.agents\u002Fskills\u002Fapply-comments\u002FSKILL.md",true,[],[62,85,103,119,143,157],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":35},"01M6MN97RPP1Q9BG489WHW70R8","career-ops","AI job search command center -- evaluate offers, generate CVs, scan portals, track applications","https:\u002F\u002Fgithub.com\u002Farkhe-genesis\u002FArkhe-OS\u002Fblob\u002Fmain\u002Ftools\u002F.ai-integrations\u002Fvscode\u002F.claude\u002Fskills\u002Fcareer-ops\u002FSKILL.md",[],[69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],"ops","career","career ops","track","applications","evaluate","mode","true","command center","cvs","scan","command","offers","Job Search","search","generate",{"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":35},"01M6MN93GFX8W9J1PCKDKZVD3N","zoom-out","Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.","https:\u002F\u002Fgithub.com\u002Farkhe-genesis\u002FArkhe-OS\u002Fblob\u002Fmain\u002Ftools\u002F.agents\u002Fskills\u002Fzoom-out\u002FSKILL.md",[],[92,93,28,94,95,96,97,98,76,99,100,101,102],"zoom out","zoom","how","context","code","it","perspective","re","you","with","understand",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":35},"01M6MN8Y2ETBC91BGREF4D39JH","write-a-skill","Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.","https:\u002F\u002Fgithub.com\u002Farkhe-genesis\u002FArkhe-OS\u002Fblob\u002Fmain\u002Ftools\u002F.agents\u002Fskills\u002Fwrite-a-skill\u002FSKILL.md",[],[110,111,112,101,113,114,115,116,117,28,26,118],"write","write a skill","progressive disclosure","resources","new agent","structure","new skill","build","create",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":35},"01M6MN8RWE2V2PPFVPD0G8FHKF","triage","Triage issues through a state machine driven by triage roles. Use when user wants to create an issue, triage issues, review incoming bugs or feature requests, prepare issues for an AFK agent, or manage issue workflow.","https:\u002F\u002Fgithub.com\u002Farkhe-genesis\u002FArkhe-OS\u002Fblob\u002Fmain\u002Ftools\u002F.agents\u002Fskills\u002Ftriage\u002FSKILL.md",[],[121,126,127,118,128,129,130,131,132,133,134,28,135,136,137,138,139,140,141,142],"bugs","state machine","requests","machine","feature","roles","issue workflow","manage","issue","issues","state","for","feature requests","prepare","triage issues","workflow","review",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":35},"01M6MN8KVDBD28672WMER7HPXM","to-prd","Turn the current conversation context into a PRD and publish it to the project issue tracker. Use when user wants to create a PRD from the current context.","https:\u002F\u002Fgithub.com\u002Farkhe-genesis\u002FArkhe-OS\u002Fblob\u002Fmain\u002Ftools\u002F.agents\u002Fskills\u002Fto-prd\u002FSKILL.md",[],[150,151,28,26,95,152,118,134,153,97,154,155,156],"to prd","prd","publish","issue tracker","project","conversation","tracker",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":35},"01M6MN8E9CGYVWVDDR0NJEFDBB","to-issues","Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices. Use when user wants to convert a plan into issues, create implementation tickets, or break down work into issues.","https:\u002F\u002Fgithub.com\u002Farkhe-genesis\u002FArkhe-OS\u002Fblob\u002Fmain\u002Ftools\u002F.agents\u002Fskills\u002Fto-issues\u002FSKILL.md",[],[135,164,165,154,166,167,153,168,169,156,134,170,28,26,171,172,173,151,118],"to issues","spec","down","break","break down","tickets","implementation","work","convert","plan"]