[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FB5P8KHDNEXZYXQV0XMVPE":3,"skill-same:01M7FB5P8KHDNEXZYXQV0XMVPE":70},{"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":44,"commitSha":45,"skillDirectory":46,"forksCount":14,"repositoryHtmlUrl":47,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M7FB5P8KHDNEXZYXQV0XMVPE","markstream-custom-components",null,"Override Markstream node renderers and add trusted custom tags across Vue, React, Svelte, and Angular using scoped or renderer-local mappings.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Ffrontend\u002Fmarkstream-custom-components\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: markstream-custom-components\ndescription: \"Override Markstream node renderers and add trusted custom tags across Vue, React, Svelte, and Angular using scoped or renderer-local mappings.\"\ncategory: frontend\nrisk: critical\nsource: https:\u002F\u002Fgithub.com\u002FSimon-He95\u002Fmarkstream-vue\u002Ftree\u002Fmain\u002F.agents\u002Fskills\u002Fmarkstream-custom-components\nsource_repo: Simon-He95\u002Fmarkstream-vue\nsource_type: official\ndate_added: \"2026-07-21\"\nauthor: Simon-He95\ntags: [markdown, components, vue, react, svelte, angular]\ntools: [claude, cursor, gemini, codex]\nlicense: MIT\nlicense_source: https:\u002F\u002Fgithub.com\u002FSimon-He95\u002Fmarkstream-vue\u002Fblob\u002Fmain\u002Flicense\n---\n\n# Markstream Custom Components\n\n## Overview\n\nCustomize specific Markstream nodes or trusted custom tags without replacing the parser or leaking global renderer state. Read [references\u002Fpatterns.md](references\u002Fpatterns.md) first.\n\n## When to Use\n\nUse to replace built-ins such as `image`, `link`, `code_block`, `mermaid`, or `inline_code`; render trusted tags such as `thinking`; or scope overrides to one renderer or app. Use parser transforms only when token or AST reshaping is required.\n\n## Workflow\n\nBefore changing dependencies or source files, inspect the existing package manager and project conventions, preview the intended edits, and obtain explicit user approval.\n\n1. Classify the change as a built-in override, trusted tag, or parser transform.\n2. Prefer scoped mappings. Vue, Vue 2, Svelte, and Angular can use `setCustomComponents(customId, mapping)`; Svelte and Angular can also pass renderer-local maps.\n3. In React, prefer `streamingComponents` for parser-backed nodes and `htmlComponents` for sanitized attributes plus children.\n4. Start with leaf nodes before containers that must preserve children.\n5. For trusted tag bodies containing Markdown, use a nested renderer with the same allowlist. Do not add a second smooth-streaming loop.\n6. Preserve node\u002Floading props, identity keys, scope IDs, theme state, and preview-height estimates for async diagrams.\n7. Remove temporary scoped registrations on cleanup and validate repeated and nested tags.\n\n## Example\n\n```tsx\nimport MarkdownRender, {\n  type NodeComponentProps,\n  setCustomComponents,\n} from 'markstream-react'\nimport 'markstream-react\u002Findex.css'\n\nfunction ThinkingNode({ node }: NodeComponentProps\u003Cany>) {\n  return \u003Cdetails>\u003Csummary>Thinking\u003C\u002Fsummary>{node.content}\u003C\u002Fdetails>\n}\n\nsetCustomComponents('assistant-panel', { thinking: ThinkingNode })\n\nexport function Answer({ markdown }: { markdown: string }) {\n  return (\n    \u003CMarkdownRender\n      content={markdown}\n      customId=\"assistant-panel\"\n      customHtmlTags={['thinking']}\n      htmlPolicy=\"safe\"\n    \u002F>\n  )\n}\n```\n\n## Limitations\n\n- Component overrides cannot reproduce arbitrary remark\u002Frehype transforms.\n- Container overrides require careful child rendering and accessibility review.\n- Framework registration APIs are not interchangeable.\n\n## Security & Safety Notes\n\nTreat custom HTML-like tags as trusted input only. Keep safe HTML enabled and do not pass unsanitized attributes into host components.\n","# Markstream Custom Components\n\n## Overview\n\nCustomize specific Markstream nodes or trusted custom tags without replacing the parser or leaking global renderer state. Read [references\u002Fpatterns.md](references\u002Fpatterns.md) first.\n\n## When to Use\n\nUse to replace built-ins such as `image`, `link`, `code_block`, `mermaid`, or `inline_code`; render trusted tags such as `thinking`; or scope overrides to one renderer or app. Use parser transforms only when token or AST reshaping is required.\n\n## Workflow\n\nBefore changing dependencies or source files, inspect the existing package manager and project conventions, preview the intended edits, and obtain explicit user approval.\n\n1. Classify the change as a built-in override, trusted tag, or parser transform.\n2. Prefer scoped mappings. Vue, Vue 2, Svelte, and Angular can use `setCustomComponents(customId, mapping)`; Svelte and Angular can also pass renderer-local maps.\n3. In React, prefer `streamingComponents` for parser-backed nodes and `htmlComponents` for sanitized attributes plus children.\n4. Start with leaf nodes before containers that must preserve children.\n5. For trusted tag bodies containing Markdown, use a nested renderer with the same allowlist. Do not add a second smooth-streaming loop.\n6. Preserve node\u002Floading props, identity keys, scope IDs, theme state, and preview-height estimates for async diagrams.\n7. Remove temporary scoped registrations on cleanup and validate repeated and nested tags.\n\n## Example\n\n```tsx\nimport MarkdownRender, {\n  type NodeComponentProps,\n  setCustomComponents,\n} from 'markstream-react'\nimport 'markstream-react\u002Findex.css'\n\nfunction ThinkingNode({ node }: NodeComponentProps\u003Cany>) {\n  return \u003Cdetails>\u003Csummary>Thinking\u003C\u002Fsummary>{node.content}\u003C\u002Fdetails>\n}\n\nsetCustomComponents('assistant-panel', { thinking: ThinkingNode })\n\nexport function Answer({ markdown }: { markdown: string }) {\n  return (\n    \u003CMarkdownRender\n      content={markdown}\n      customId=\"assistant-panel\"\n      customHtmlTags={['thinking']}\n      htmlPolicy=\"safe\"\n    \u002F>\n  )\n}\n```\n\n## Limitations\n\n- Component overrides cannot reproduce arbitrary remark\u002Frehype transforms.\n- Container overrides require careful child rendering and accessibility review.\n- Framework registration APIs are not interchangeable.\n\n## Security & Safety Notes\n\nTreat custom HTML-like tags as trusted input only. Keep safe HTML enabled and do not pass unsanitized attributes into host components.\n",{"name":5,"risk":24,"tags":25,"tools":32,"author":37,"source":38,"license":15,"category":39,"date_added":40,"description":7,"source_repo":41,"source_type":42,"license_source":43},"critical",[26,27,28,29,30,31],"markdown","components","vue","react","svelte","angular",[33,34,35,36],"claude","cursor","gemini","codex","Simon-He95","https:\u002F\u002Fgithub.com\u002FSimon-He95\u002Fmarkstream-vue\u002Ftree\u002Fmain\u002F.agents\u002Fskills\u002Fmarkstream-custom-components","frontend","2026-07-21","Simon-He95\u002Fmarkstream-vue","official","https:\u002F\u002Fgithub.com\u002FSimon-He95\u002Fmarkstream-vue\u002Fblob\u002Fmain\u002Flicense","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Ffrontend\u002Fmarkstream-custom-components","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill markstream-custom-components",{"tool":56,"command":57},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill markstream-custom-components",{"tool":59,"command":60},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill markstream-custom-components","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Ffrontend\u002Fmarkstream-custom-components\u002FSKILL.md",true,[64],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fpatterns.md","REFERENCE","参考文档",781,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Ffrontend\u002Fmarkstream-custom-components\u002Freferences\u002Fpatterns.md",[71,78,85,92,99,106],{"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},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\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},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\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},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\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},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\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},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]