[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MN9Z8RW6T5AY6WN29D6AGF":3,"skill-same:01M6MN9Z8RW6T5AY6WN29D6AGF":83},{"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":28,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":59,"commitSha":60,"skillDirectory":61,"forksCount":62,"repositoryHtmlUrl":63,"repositoryHomepageUrl":64,"ownerHtmlUrl":65,"ownerBlogUrl":66,"ownerDescription":67,"updatedAt":68,"install":69,"resources":82},"01M6MN9Z8RW6T5AY6WN29D6AGF","react-ui",null,"Use when building any val with a user interface — dashboards, web apps, landing pages, forms, admin tools, anything users see in a browser. Covers JSX\u002FReact conventions, Twind\u002FTailwind styling, React version pinning, the view-source link requirement, and what to avoid (template-string HTML, external assets).","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fval-town\u002Fplugins\u002Fskills\u002Freact-ui\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"react","ui","react ui","template","when","jsx","source","interface","apps","app","forms","tsx","styling","html","frontend","Tailwind","Tools","browser","component","dashboard","css","2026-11-10 10:12:30",false,"---\nname: react-ui\ndescription: Use when building any val with a user interface — dashboards, web apps, landing pages, forms, admin tools, anything users see in a browser. Covers JSX\u002FReact conventions, Twind\u002FTailwind styling, React version pinning, the view-source link requirement, and what to avoid (template-string HTML, external assets).\ntriggers: [react, jsx, tsx, ui, frontend, component, dashboard, page, app, twind, tailwind, styling, css, html]\n---\n\n# React UI\n\nFor any val that renders a UI, prefer to build it with React components in `.tsx` files, unless the user states otherwise. The `templates\u002Freact-hono-starter` template is set up for this — start there with `remix_val` instead of building from scratch.\n\n## File conventions\n\nPut markup, styles, and scripts in real files — avoid template literal strings (e.g. `new Response(\\`\u003Chtml>...\u003C\u002Fhtml>\\`)`). Code in template strings has no syntax highlighting, no linting, no type checking, and is unreviewable.\n\n- `.tsx` — React\u002FJSX components, any UI with logic or interactivity\n- `.html` — purely static markup\n- `.ts` — server code and scripts\n\nBuild UI **component by component** in `.tsx` files. Compose small components rather than rendering one giant page.\n\n## Styling: Twind + Tailwind\n\nPrefer Twind to apply Tailwind utility classes at runtime — no build step required. Add the script to your HTML shell:\n\n```html\n\u003Cscript src=\"https:\u002F\u002Fcdn.twind.style\" crossorigin>\u003C\u002Fscript>\n```\n\nThen use Tailwind classes directly in JSX:\n\n```tsx\n\u003Cdiv className=\"flex items-center gap-4 p-6 rounded-lg bg-white shadow\">\n  \u003Ch1 className=\"text-2xl font-bold\">Hello\u003C\u002Fh1>\n\u003C\u002Fdiv>\n```\n\nAvoid inline `\u003Cstyle>` tags, CSS-in-JS objects, or separate `.css` files, unless the user says otherwise.\n\n## Serving assets: versioned + immutable\n\nServe client modules with `serveImmutableFile` from `std\u002Futils` — browsers cache\nthem immutably, and publishing bumps the val's version, which invalidates\nautomatically (full pattern: the `client-side-js` skill). A never-cached\n`frontend\u002Froot.tsx` shell (hono\u002Fjsx) stamps the entry and favicon with\n`immutableFileUrl`:\n\n```tsx\n\u002F\u002F frontend\u002Froot.tsx — in the Root() HTML shell:\n\u003Cscript src={immutableFileUrl(\"\u002Ffrontend\u002Findex.tsx\")} type=\"module\" \u002F>\n\n\u002F\u002F index.ts:\napp.get(\"\u002F\", (c) => c.html(Root()));\napp.get(\"\u002F__immutable\u002F*\", (c) => serveImmutableFile(c.req.path));\n```\n\n## View source link\n\nEvery UI val should expose a way for users to see and remix its source. Both parts are required:\n\n1. Backend route:\n   ```ts\n   import { parseVal } from \"https:\u002F\u002Fesm.town\u002Fv\u002Fstd\u002Futils\u002Findex.ts\";\n   app.get(\"\u002Fsource\", (c) => c.redirect(parseVal().links.self.val));\n   ```\n2. Visible link in the frontend:\n   ```tsx\n   \u003Ca href=\"\u002Fsource\">view source\u003C\u002Fa>\n   ```\n\n## React version pinning\n\nA common error — `\"Cannot read properties of null (reading 'useState')\"` — means a React sub-dependency is loading a different React version. Pin all React-related imports to 18.2.0:\n\n```ts\nimport SomeLib from \"https:\u002F\u002Fesm.sh\u002Fsome-lib?deps=react@18.2.0,react-dom@18.2.0\";\n```\n\n## Assets\n\nDo not use external images or hosted assets that may break. Prefer:\n\n- Emojis or unicode symbols\n- Inline SVG\n- Icon fonts via CDN (Lucide, Font Awesome)\n\n## Surfacing client-side errors\n\nTo send browser errors back to val logs (visible via `get_logs`), include this script in your HTML shell:\n\n```html\n\u003Cscript src=\"https:\u002F\u002Fesm.town\u002Fv\u002Fstd\u002Fcatch\">\u003C\u002Fscript>\n```\n\n## Verifying changes\n\nAfter editing a UI val, call `fetch_val_endpoint` to confirm the page renders without error, then check `get_logs` for any client-side errors. Don't report the change as done without both.\n","# React UI\n\nFor any val that renders a UI, prefer to build it with React components in `.tsx` files, unless the user states otherwise. The `templates\u002Freact-hono-starter` template is set up for this — start there with `remix_val` instead of building from scratch.\n\n## File conventions\n\nPut markup, styles, and scripts in real files — avoid template literal strings (e.g. `new Response(\\`\u003Chtml>...\u003C\u002Fhtml>\\`)`). Code in template strings has no syntax highlighting, no linting, no type checking, and is unreviewable.\n\n- `.tsx` — React\u002FJSX components, any UI with logic or interactivity\n- `.html` — purely static markup\n- `.ts` — server code and scripts\n\nBuild UI **component by component** in `.tsx` files. Compose small components rather than rendering one giant page.\n\n## Styling: Twind + Tailwind\n\nPrefer Twind to apply Tailwind utility classes at runtime — no build step required. Add the script to your HTML shell:\n\n```html\n\u003Cscript src=\"https:\u002F\u002Fcdn.twind.style\" crossorigin>\u003C\u002Fscript>\n```\n\nThen use Tailwind classes directly in JSX:\n\n```tsx\n\u003Cdiv className=\"flex items-center gap-4 p-6 rounded-lg bg-white shadow\">\n  \u003Ch1 className=\"text-2xl font-bold\">Hello\u003C\u002Fh1>\n\u003C\u002Fdiv>\n```\n\nAvoid inline `\u003Cstyle>` tags, CSS-in-JS objects, or separate `.css` files, unless the user says otherwise.\n\n## Serving assets: versioned + immutable\n\nServe client modules with `serveImmutableFile` from `std\u002Futils` — browsers cache\nthem immutably, and publishing bumps the val's version, which invalidates\nautomatically (full pattern: the `client-side-js` skill). A never-cached\n`frontend\u002Froot.tsx` shell (hono\u002Fjsx) stamps the entry and favicon with\n`immutableFileUrl`:\n\n```tsx\n\u002F\u002F frontend\u002Froot.tsx — in the Root() HTML shell:\n\u003Cscript src={immutableFileUrl(\"\u002Ffrontend\u002Findex.tsx\")} type=\"module\" \u002F>\n\n\u002F\u002F index.ts:\napp.get(\"\u002F\", (c) => c.html(Root()));\napp.get(\"\u002F__immutable\u002F*\", (c) => serveImmutableFile(c.req.path));\n```\n\n## View source link\n\nEvery UI val should expose a way for users to see and remix its source. Both parts are required:\n\n1. Backend route:\n   ```ts\n   import { parseVal } from \"https:\u002F\u002Fesm.town\u002Fv\u002Fstd\u002Futils\u002Findex.ts\";\n   app.get(\"\u002Fsource\", (c) => c.redirect(parseVal().links.self.val));\n   ```\n2. Visible link in the frontend:\n   ```tsx\n   \u003Ca href=\"\u002Fsource\">view source\u003C\u002Fa>\n   ```\n\n## React version pinning\n\nA common error — `\"Cannot read properties of null (reading 'useState')\"` — means a React sub-dependency is loading a different React version. Pin all React-related imports to 18.2.0:\n\n```ts\nimport SomeLib from \"https:\u002F\u002Fesm.sh\u002Fsome-lib?deps=react@18.2.0,react-dom@18.2.0\";\n```\n\n## Assets\n\nDo not use external images or hosted assets that may break. Prefer:\n\n- Emojis or unicode symbols\n- Inline SVG\n- Icon fonts via CDN (Lucide, Font Awesome)\n\n## Surfacing client-side errors\n\nTo send browser errors back to val logs (visible via `get_logs`), include this script in your HTML shell:\n\n```html\n\u003Cscript src=\"https:\u002F\u002Fesm.town\u002Fv\u002Fstd\u002Fcatch\">\u003C\u002Fscript>\n```\n\n## Verifying changes\n\nAfter editing a UI val, call `fetch_val_endpoint` to confirm the page renders without error, then check `get_logs` for any client-side errors. Don't report the change as done without both.\n",{"name":5,"triggers":55,"description":7},[29,34,40,30,43,47,48,56,38,57,58,41,49,42],"page","twind","tailwind","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002Fval-town\u002Fplugins\u002Fskills\u002Freact-ui",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":70,"prompt":80,"zipAvailable":81},[71,74,77],{"tool":72,"command":73},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill react-ui",{"tool":75,"command":76},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill react-ui",{"tool":78,"command":79},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill react-ui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fval-town\u002Fplugins\u002Fskills\u002Freact-ui\u002FSKILL.md",true,[],[84,94,102,110,118,126],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":93},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":98,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":93},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":93},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":114,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":93},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":122,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":93},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":130,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":93},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]