[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77Z5NWFHXM8Z0EAWV3X3598":3,"skill-same:01M77Z5NWFHXM8Z0EAWV3X3598":47},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M77Z5NWFHXM8Z0EAWV3X3598","markless-component-research",null,"Research component accessibility patterns and API design for a @markless\u002Fui family by analyzing headless UI libraries, the QDS reference, and accessibility specifications. Use before designing or migrating any component family — when asked to research a UI component, create its research.md, analyze accessibility patterns across component libraries, or document keyboard interactions and ARIA attributes.","compiled-run\u002Fmarkless","compiled-run","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F312797118?v=4","01M77Z248Q9PCPK92HPHM6X174","Compiled.Run","01M77Z249DKAP6PE0Y5CNFSSMM",3,"MIT","https:\u002F\u002Fgithub.com\u002Fcompiled-run\u002Fmarkless\u002Fblob\u002Fmain\u002F.ruler\u002Fskills\u002Fmarkless-component-research\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: markless-component-research\ndescription: Research component accessibility patterns and API design for a @markless\u002Fui family by analyzing headless UI libraries, the QDS reference, and accessibility specifications. Use before designing or migrating any component family — when asked to research a UI component, create its research.md, analyze accessibility patterns across component libraries, or document keyboard interactions and ARIA attributes.\n---\n\n# Component Research (Markless)\n\nResearch a UI component family before designing or migrating it. Adapted from the QDS component-research workflow; the QDS repo at `~\u002Fdev\u002Fopen-source\u002Fqwik-design-system` is a READ-ONLY reference and its design decisions carry two years of work — never invent part names or APIs it already answers.\n\n**Default output:** `packages\u002Fheadless\u002Fcomponents\u002Fsrc\u002F{family}\u002Fresearch.md` (`research.mdx` if JSX examples are needed).\n\n## Workflow\n\n### 1. Component name and alternates\n\nUse the name from the request. Brainstorm alternate names and search both — components hide under different names (Navigation Menu → Navbar\u002FAppBar; Dialog → Modal; Combobox → Autocomplete; Accordion → Collapsible\u002FDisclosureGroup). Web-search `\"headless {component} component\"` and the alternates; review the first ~20 results of each. Include an **\"Alternative-Named Implementations\"** section for anything found under other names (niche libs often have better patterns — React Arborist for tree, Embla for carousel).\n\n### 2. Check QDS first (authoritative for naming and anatomy)\n\n```bash\nls ~\u002Fdev\u002Fopen-source\u002Fqwik-design-system\u002Flibs\u002Fcomponents\u002Fsrc\u002F{component}\u002F\n```\n\nThe folder listing IS the part inventory (e.g. textbox → root, label, input, textarea, field, description, error). Read the root file, the browser test, and any research.mdx\u002Fnote.md. QDS docs are stale; the code is the judge. Then check our own repo: does the family or a related primitive already exist under `packages\u002Fheadless\u002Fcomponents\u002Fsrc\u002F`? Does it compose another family (the way navbar wraps popover)? Composition inherits the composed family's API — do not re-invent it.\n\n### 3. Research headless libraries\n\nWebFetch in parallel batches of 4-5. Try `\u002Fllms.txt` or `\u002Fllms-full.txt` first (e.g. `https:\u002F\u002Fbase-ui.com\u002Fllms-full.txt`).\n\n**Tier 1 (always):** Base UI, Ark UI, React Aria, Ariakit, Bits UI, Kobalte.\n**Tier 2 (all):** Radix UI, Melt UI, Corvu, Headless UI, Dice UI.\n**Tier 3 (time permitting):** Angular CDK\u002FMaterial, Fritz2, Shadcn, Flux UI.\n\nFor each library that has the component: structure (parts), per-part props, ARIA roles\u002Fattributes, keyboard interactions, and the version\u002Fdate viewed. Note libraries checked that lack it.\n\n### 4. Accessibility specs and experts\n\nWAI-ARIA (`w3.org\u002FTR\u002Fwai-aria\u002F`), WCAG; treat the ARIA APG as a starter guide, not production truth. Search component-specific posts: Adrian Roselli, Scott O'Hara, Sarah Higley, Heydon Pickering, Sara Soueidan, Val Head, Marcy Sutton, Amberley Romo (`\"{component}\" site:{domain}`).\n\n### 5. GitHub implementations (grep MCP — required)\n\nRun 5-10 targeted `searchGitHub` queries (TypeScript\u002FTSX): ARIA role usage, keyboard handler patterns, aria-* combinations, part naming in the wild, anti-patterns. Capture common patterns, clever approaches, and anti-patterns in the document. If the grep MCP tool is unavailable, enable it before continuing; record a research blocker only if that fails.\n\n### 6. Expected screen reader behavior\n\nDerive announcements from the ARIA semantics — do not run screen readers. For each key interaction, write the expected announcement (focus, state change, position\u002Fgroup), noting known VoiceOver vs NVDA\u002FJAWS differences from specs or expert posts. Guidepup (`guidepup.dev`) is the reference if we later automate.\n\n### 7. Write research.md\n\nFlexible structure; typical sections: metadata (research date, library versions), research links, feature checklist, component structure (parts), keyboard interactions, ARIA attributes, screen reader announcements, API design, accessibility insights, common patterns, unique approaches, use cases, CSS considerations, open questions.\n\n## Markless API conventions (the API Design section MUST follow these)\n\n- **Parts:** lowercase compound namespaces (`checkbox.root`, `checkbox.trigger`); PascalCase components aliased lowercase via `export * as {family}`. Canonical roles: root, trigger, content, item, label, area, error, description, field (+ indicator, track, thumb, input, textarea where QDS uses them). `field` replaces QDS `hidden-input`. Never invent a part name — match the QDS folder or say why in the document.\n- **State:** one `shared()` widget-instance factory per family (`{ scope: 'subtree' }`), internal only — never surfaced in the API. A widget root is always an instance boundary; parts resolve to the innermost enclosing root of their family.\n- **Props:** `PropsOf\u003CTag>` for the host element surface; destructuring defaults on the root signature state what an omitted prop means; `{...rest}` first on every host element. No `bind:*`, no useBindings, no controlled\u002Funcontrolled prop splits.\n- **Callbacks:** `onChange` (no `$` suffix) for the primary state change — a plain optional function-typed property on the factory return, seeded by the root. Handler composition is authored closures (`onClick={(e) => { x.toggle(); onClick?.(e); }}`), never handler arrays.\n- **State attributes:** `ui-*` presence attributes (`ui-checked`, `ui-disabled`, `ui-mixed`); no `data-*`, no `ui-qds-*` identity attributes, no key-value state strings unless genuinely multi-valued.\n- **Ids:** `element()` minted handles for `for`\u002F`aria-labelledby`\u002F`popovertarget` wiring — never string ids in the API.\n- **Platform-first CSS:** native popover attribute and CSS anchor positioning over JS floating\u002Fportal machinery; note which library patterns are workarounds for missing platform APIs.\n\n## Tests (plan them in the document)\n\nColocated `src\u002F{family}\u002F{family}.browser.ts` (real Chromium, vitest browser mode), consumer scenario components under `src\u002F{family}\u002Fscenarios\u002F` (`{family}-basic.tsrx` first, then realistic prop-state scenarios, special cases last — recursion for tree-shaped families), part-role testids, CSR\u002FSSR mode-loop for shared rows, explicit SSR+resume rows for state and gesture behavior.\n\n## Tips\n\nParallelize fetches; llms.txt first; Tier 1 wins disagreements; consistency across libraries indicates best practice; accessibility and keyboard behavior over visual design; edge cases (empty, disabled, async) reveal quality; record versions and dates.\n","# Component Research (Markless)\n\nResearch a UI component family before designing or migrating it. Adapted from the QDS component-research workflow; the QDS repo at `~\u002Fdev\u002Fopen-source\u002Fqwik-design-system` is a READ-ONLY reference and its design decisions carry two years of work — never invent part names or APIs it already answers.\n\n**Default output:** `packages\u002Fheadless\u002Fcomponents\u002Fsrc\u002F{family}\u002Fresearch.md` (`research.mdx` if JSX examples are needed).\n\n## Workflow\n\n### 1. Component name and alternates\n\nUse the name from the request. Brainstorm alternate names and search both — components hide under different names (Navigation Menu → Navbar\u002FAppBar; Dialog → Modal; Combobox → Autocomplete; Accordion → Collapsible\u002FDisclosureGroup). Web-search `\"headless {component} component\"` and the alternates; review the first ~20 results of each. Include an **\"Alternative-Named Implementations\"** section for anything found under other names (niche libs often have better patterns — React Arborist for tree, Embla for carousel).\n\n### 2. Check QDS first (authoritative for naming and anatomy)\n\n```bash\nls ~\u002Fdev\u002Fopen-source\u002Fqwik-design-system\u002Flibs\u002Fcomponents\u002Fsrc\u002F{component}\u002F\n```\n\nThe folder listing IS the part inventory (e.g. textbox → root, label, input, textarea, field, description, error). Read the root file, the browser test, and any research.mdx\u002Fnote.md. QDS docs are stale; the code is the judge. Then check our own repo: does the family or a related primitive already exist under `packages\u002Fheadless\u002Fcomponents\u002Fsrc\u002F`? Does it compose another family (the way navbar wraps popover)? Composition inherits the composed family's API — do not re-invent it.\n\n### 3. Research headless libraries\n\nWebFetch in parallel batches of 4-5. Try `\u002Fllms.txt` or `\u002Fllms-full.txt` first (e.g. `https:\u002F\u002Fbase-ui.com\u002Fllms-full.txt`).\n\n**Tier 1 (always):** Base UI, Ark UI, React Aria, Ariakit, Bits UI, Kobalte.\n**Tier 2 (all):** Radix UI, Melt UI, Corvu, Headless UI, Dice UI.\n**Tier 3 (time permitting):** Angular CDK\u002FMaterial, Fritz2, Shadcn, Flux UI.\n\nFor each library that has the component: structure (parts), per-part props, ARIA roles\u002Fattributes, keyboard interactions, and the version\u002Fdate viewed. Note libraries checked that lack it.\n\n### 4. Accessibility specs and experts\n\nWAI-ARIA (`w3.org\u002FTR\u002Fwai-aria\u002F`), WCAG; treat the ARIA APG as a starter guide, not production truth. Search component-specific posts: Adrian Roselli, Scott O'Hara, Sarah Higley, Heydon Pickering, Sara Soueidan, Val Head, Marcy Sutton, Amberley Romo (`\"{component}\" site:{domain}`).\n\n### 5. GitHub implementations (grep MCP — required)\n\nRun 5-10 targeted `searchGitHub` queries (TypeScript\u002FTSX): ARIA role usage, keyboard handler patterns, aria-* combinations, part naming in the wild, anti-patterns. Capture common patterns, clever approaches, and anti-patterns in the document. If the grep MCP tool is unavailable, enable it before continuing; record a research blocker only if that fails.\n\n### 6. Expected screen reader behavior\n\nDerive announcements from the ARIA semantics — do not run screen readers. For each key interaction, write the expected announcement (focus, state change, position\u002Fgroup), noting known VoiceOver vs NVDA\u002FJAWS differences from specs or expert posts. Guidepup (`guidepup.dev`) is the reference if we later automate.\n\n### 7. Write research.md\n\nFlexible structure; typical sections: metadata (research date, library versions), research links, feature checklist, component structure (parts), keyboard interactions, ARIA attributes, screen reader announcements, API design, accessibility insights, common patterns, unique approaches, use cases, CSS considerations, open questions.\n\n## Markless API conventions (the API Design section MUST follow these)\n\n- **Parts:** lowercase compound namespaces (`checkbox.root`, `checkbox.trigger`); PascalCase components aliased lowercase via `export * as {family}`. Canonical roles: root, trigger, content, item, label, area, error, description, field (+ indicator, track, thumb, input, textarea where QDS uses them). `field` replaces QDS `hidden-input`. Never invent a part name — match the QDS folder or say why in the document.\n- **State:** one `shared()` widget-instance factory per family (`{ scope: 'subtree' }`), internal only — never surfaced in the API. A widget root is always an instance boundary; parts resolve to the innermost enclosing root of their family.\n- **Props:** `PropsOf\u003CTag>` for the host element surface; destructuring defaults on the root signature state what an omitted prop means; `{...rest}` first on every host element. No `bind:*`, no useBindings, no controlled\u002Funcontrolled prop splits.\n- **Callbacks:** `onChange` (no `$` suffix) for the primary state change — a plain optional function-typed property on the factory return, seeded by the root. Handler composition is authored closures (`onClick={(e) => { x.toggle(); onClick?.(e); }}`), never handler arrays.\n- **State attributes:** `ui-*` presence attributes (`ui-checked`, `ui-disabled`, `ui-mixed`); no `data-*`, no `ui-qds-*` identity attributes, no key-value state strings unless genuinely multi-valued.\n- **Ids:** `element()` minted handles for `for`\u002F`aria-labelledby`\u002F`popovertarget` wiring — never string ids in the API.\n- **Platform-first CSS:** native popover attribute and CSS anchor positioning over JS floating\u002Fportal machinery; note which library patterns are workarounds for missing platform APIs.\n\n## Tests (plan them in the document)\n\nColocated `src\u002F{family}\u002F{family}.browser.ts` (real Chromium, vitest browser mode), consumer scenario components under `src\u002F{family}\u002Fscenarios\u002F` (`{family}-basic.tsrx` first, then realistic prop-state scenarios, special cases last — recursion for tree-shaped families), part-role testids, CSR\u002FSSR mode-loop for shared rows, explicit SSR+resume rows for state and gesture behavior.\n\n## Tips\n\nParallelize fetches; llms.txt first; Tier 1 wins disagreements; consistency across libraries indicates best practice; accessibility and keyboard behavior over visual design; edge cases (empty, disabled, async) reveal quality; record versions and dates.\n",{"name":5,"description":7},"main","a65038eb31b69b03c9d7b57b7a8149386d02064c",".ruler\u002Fskills\u002Fmarkless-component-research",0,"https:\u002F\u002Fgithub.com\u002Fcompiled-run\u002Fmarkless","https:\u002F\u002Fgithub.com\u002Fcompiled-run","https:\u002F\u002Fcompiled.run\u002F","Building the next generation of compiler software","2026-11-15 05:16:50",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add compiled-run\u002Fmarkless --skill markless-component-research",{"tool":39,"command":40},"bunx","bunx skills add compiled-run\u002Fmarkless --skill markless-component-research",{"tool":42,"command":43},"pnpm","pnpm dlx skills add compiled-run\u002Fmarkless --skill markless-component-research","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcompiled-run\u002Fmarkless\u002Fblob\u002Fmain\u002F.ruler\u002Fskills\u002Fmarkless-component-research\u002FSKILL.md",true,[],[48,55,62,69,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M77Z5Z2DN4WKQD805NF4DBQC","review-with-engineer-lenses","Use when reviewing API changes, API design, technical docs, developer experience, or repo changes through junior engineer, senior engineer, platform engineer, and AI-agent perspectives.","https:\u002F\u002Fgithub.com\u002Fcompiled-run\u002Fmarkless\u002Fblob\u002Fmain\u002F.ruler\u002Fskills\u002Freview-with-engineer-lenses\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M77Z5XCP92P5J58JK56SGTHS","markless-spec-maintenance","Use when updating, reviewing, or reconciling Markless specifications under specs\u002F.","https:\u002F\u002Fgithub.com\u002Fcompiled-run\u002Fmarkless\u002Fblob\u002Fmain\u002F.ruler\u002Fskills\u002Fmarkless-spec-maintenance\u002FSKILL.md",[],[],{"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":19},"01M77Z5TXA1T7A32ECR5R3PB1S","markless-implementation","Use for Markless implementation, compiler, bundler, performance, testing, and release work.","https:\u002F\u002Fgithub.com\u002Fcompiled-run\u002Fmarkless\u002Fblob\u002Fmain\u002F.ruler\u002Fskills\u002Fmarkless-implementation\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":73,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M77Z5HFPMKEZYB1MWWNRFSND","markless-anatomy","Build a live pen-and-ink figure for a markless.dev docs page, one idea drawn as 2 or 3 objects where the reader acts once and sees one change, in the same hand and ink as the State figure. Use whenever you add or rewrite a markless.dev docs page (website\u002Fpages\u002F**), explain a Markless concept visually, add a figure or diagram to the docs, or someone mentions \"anatomy\", the wired drawing, or website\u002Fcomponents\u002Ffigures\u002F.","https:\u002F\u002Fgithub.com\u002Fcompiled-run\u002Fmarkless\u002Fblob\u002Fmain\u002F.ruler\u002Fskills\u002Fmarkless-anatomy\u002FLICENSE-UPSTREAM","https:\u002F\u002Fgithub.com\u002Fcompiled-run\u002Fmarkless\u002Fblob\u002Fmain\u002F.ruler\u002Fskills\u002Fmarkless-anatomy\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M77Z5D0FTA3XSEVNVNX2P7HV","guessless","Prove structural claims about JavaScript\u002FTypeScript with a guessless receipt. Use when about to say \"all call sites\", \"every reference\", \"nothing else imports this\", or \"safe to delete\"; when renaming or deleting an exported symbol; when a claim gate has blocked a turn asking for a receipt; or when auditing whether a change is complete. Do not use for non-JS\u002FTS languages.","https:\u002F\u002Fgithub.com\u002Fcompiled-run\u002Fmarkless\u002Fblob\u002Fmain\u002F.ruler\u002Fskills\u002Fguessless\u002FSKILL.md",[],[],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M77Z5A945457WK5J4ZGKPWXR","efficient-fable","Use when running Claude Fable on codebase-heavy or token-heavy work and the user wants Fable to orchestrate research, coding, and testing while cheaper subagents do bounded heavy lifting.","https:\u002F\u002Fgithub.com\u002Fcompiled-run\u002Fmarkless\u002Fblob\u002Fmain\u002F.ruler\u002Fskills\u002Fefficient-fable\u002FSKILL.md",[],[]]