[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CRMCSBRY5220G6FHYN6DRV":3,"skill-same:01M6CRMCSBRY5220G6FHYN6DRV":126},{"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":44,"linkOnly":45,"markdownContent":46,"markdownBody":46,"frontMatter":47,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M6CRMCSBRY5220G6FHYN6DRV","vercel-composition-patterns",null,"React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.","ogdakke\u002Fvoidmesh","ogdakke","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F55995125?v=4","01M6CRM4KV4GJN8QWAPS173DVR","Daniel Wargh","01M6CRM4QYQZMNPYMDT9G81SDY",4,"MIT","https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-composition-patterns\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"composition patterns","patterns","vercel","Composition","vercel composition patterns","when","components","react composition patterns","render","react 19","compound","reusable","use","context","react composition","refactoring","api","Providers","component architecture","libraries","tasks","api changes","architecture","component","react","2026-11-10 10:12:30",false,"## {% raw %}\n\n## name: hotpath-cloud description: Read hotpath Cloud performance verdicts with the `hotpath cloud` CLI and fix Rust performance regressions. Fetches the benchmark report of a commit or pull request, compares it with its baseline under the repository's regression policy and performance budgets, and lists what regressed and which budgets broke, as JSON. Use when the user wants to check a pull request's performance, wait for a CI benchmark, investigate a hotpath.rs PR comment, fix a performance regression or a broken budget, or validate a hotpath policy file. allowed-tools: Bash, Read, Edit, Write, Glob, Grep\n\n# hotpath Cloud CLI\n\n`hotpath cloud` is the command line client of hotpath.rs. CI uploads a hotpath benchmark report on\nevery push to the default branch and every pull request. hotpath.rs compares each pull request\nreport with its baseline (the report of the base branch), judges it under the repository's policy\nfile and posts a comment on the pull request. The CLI returns the same judgement as JSON.\n\nDocs: \u003Chttps:\u002F\u002Fhotpath.rs\u002Fagents_cli>, \u003Chttps:\u002F\u002Fhotpath.rs\u002Fregression_policy>,\n\u003Chttps:\u002F\u002Fhotpath.rs\u002Fperformance_budgets>.\n\n## Setup\n\n1. Check the CLI: `hotpath cloud --help`. If it is missing or has no `cloud` command, install it\n   with `cargo install hotpath --features cloud`.\n2. Check the token: `hotpath cloud auth`. It reads `HOTPATH_API_TOKEN`. If it fails with\n   `invalid_token` or the variable is unset, ask the user to create a token at\n   \u003Chttps:\u002F\u002Fhotpath.rs\u002Fapp\u002Ftokens> and export it. Never ask the user to paste the token into the\n   conversation.\n3. Find the repository (`OWNER\u002FNAME`, from `git remote get-url origin`) and the benchmark name:\n   `hotpath cloud benchmarks --repo OWNER\u002FNAME`. The benchmark is also the `HOTPATH_BENCHMARK` value\n   in the repository's `.github\u002Fworkflows\u002F*.yml`.\n\n`validate-policy` and `init` need no token.\n\n## Output contract\n\n- Every command prints one JSON document on stdout (`--pretty` to indent, `--output FILE` to write a\n  file).\n- An error prints one JSON document on stderr, like `{\"error\":\"...\",\"code\":\"not_found\"}`, and\n  nothing on stdout.\n- Exit codes: `0` success, `1` error, `2` usage error. For `diff`, `0` means exactly \"judged and\n  nothing regressed\"; anything else is `1` with the answer still on stdout.\n\nBranch on the exit code, then read the JSON. Do not parse the human text of the pull request\ncomment.\n\n## Selecting a report\n\n`report` and `diff` take `--repo OWNER\u002FNAME --benchmark NAME` and one of:\n\n- `--commit SHA`: a full 40-character sha. It matches the measured commit or a pull request's head\n  commit, so `--commit $(git rev-parse HEAD)` works on a pull request branch.\n- `--pr N`: the newest report of the pull request.\n- `--id ID`: one report.\n\n`--event push|pull_request` narrows `--pr` or `--commit` to one event.\n\n## Workflow: check or fix a change\n\n1. Push the commit. CI runs the benchmark and uploads the report, which takes as long as the\n   benchmark job.\n2. Wait for the report. Poll until it exits `0`, waiting about 30 seconds between attempts and\n   giving up after about 30 minutes:\n\n   ```bash\n   hotpath cloud report --repo OWNER\u002FNAME --benchmark NAME --commit $(git rev-parse HEAD) --no-payload\n   ```\n\n   `not_found` means the upload has not arrived yet. If it never arrives, check the CI run with\n   `gh run list` \u002F `gh run view`.\n3. Read the judgement:\n\n   ```bash\n   hotpath cloud diff --repo OWNER\u002FNAME --benchmark NAME --commit $(git rev-parse HEAD)\n   ```\n\n4. Exit `0`: done, report the verdict to the user. Exit `1`: read the regressions and broken budgets\n   (below), fix the code, and repeat from step 1.\n\n## Reading `diff`\n\n- `verdict`: `judged` (anything was judged), `regressed` (a judged section regressed or a budget\n  broke), `regressions`, `improvements`, `budgets_broken`.\n- `result.status`: `compared`, `no_baseline` (the base branch has no report yet; only budgets are\n  judged) or `unreadable` (a report or its policy cannot be read; nothing is judged).\n- `result.sections[]`: one per section of the policy (`resource` + `kind`, e.g. `functions` +\n  `alloc`). `family.judged` says whether it counts toward the verdict, `family.metrics` which\n  columns it judges, `family.counts` how many rows had each outcome.\n- `rows[]`: `name`, `location` (`file`, `line` of the function in the measured commit), `outcome`\n  (`regression`, `improvement`, `added`, `removed`) and `cells`.\n- `cells[]`: `column`, `unit`, `base`, `head` (formatted strings like `\"24 B\"`, `\"2.06 ms\"`),\n  `change_percent` (a number, the exact figure to reason about) and `crossed` (`up` \u002F `down`) on the\n  cells that crossed the policy's bar.\n- `budgets.findings[]`: broken budget checks, with `entity.name`, `actual`, `limit`, `bound` (`max`\n  or `min`) and the rule's `message`. `budgets.notes` says what could not be checked.\n- `head.policy_path`: the policy file the report was judged under.\n- `dashboard_url`: the comparison page, to give to the user.\n\nBy default `diff` lists only what the pull request comment lists. Add `--advisory` to see findings\nof sections the policy lists but does not judge (for example timing on shared runners), and `--full`\nfor every row and value.\n\nUseful extracts:\n\n```bash\n# Regressions with the values that crossed the bar\nhotpath cloud diff ... | jq '.result.sections[]? | .rows[] | select(.outcome == \"regression\")\n  | {name, location, cells: [.cells[] | select(.crossed) | {column, base, head, change_percent}]}'\n\n# Broken budgets with their messages\nhotpath cloud diff ... | jq '.budgets.findings[] | {entity: .entity.name, actual, limit, message}'\n```\n\n## Fixing a regression\n\n- Start from `location` of each regressed row and the `crossed` cells: an allocation regression\n  points at new or larger allocations in that function, a `calls` \u002F `count` change at extra work,\n  `sql_per_request` at an N+1 query.\n- Allocations are deterministic for a fixed workload, so an allocation change is real. Timing on\n  shared CI runners is noisy; be careful attributing a small timing change to the code.\n- Profile locally to confirm before and after a fix: run the benchmark the CI workflow runs, with\n  the same `--features`, and compare the printed hotpath report.\n- A broken budget names its rule's `message`, which usually says what the limit protects.\n\n## Rules\n\n- Never loosen the policy (`hotpath\u002F*.toml`) or a budget to make a regression or a broken budget go\n  away. Fix the code, or explain the trade-off to the user and let them decide.\n- If the user asks to change the policy, edit `hotpath\u002Fpolicy.toml` (or\n  `hotpath\u002F\u003Cbenchmark>-policy.toml`) and check it with `hotpath cloud validate-policy`\n  (`--benchmark NAME` for a benchmark's own file) before pushing. An upload with an invalid policy\n  is refused.\n- `hotpath cloud init` writes the default policy when the repository has none. It never replaces an\n  existing file without `--force`; do not pass `--force` unless the user asks.\n- `HOTPATH_API_TOKEN` is a credential: never print it, echo it, log it or commit it.\n{% endraw %}\n",{},"main","b0161420c96bb48705d8434100773644200ed072",".agents\u002Fskills\u002Fvercel-composition-patterns",2,"https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh","https:\u002F\u002Fvoidmesh.xyz","https:\u002F\u002Fgithub.com\u002Fogdakke","danielwargh.com","soft ware dev","2026-11-09 17:37:35",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add ogdakke\u002Fvoidmesh --skill vercel-composition-patterns",{"tool":64,"command":65},"bunx","bunx skills add ogdakke\u002Fvoidmesh --skill vercel-composition-patterns",{"tool":67,"command":68},"pnpm","pnpm dlx skills add ogdakke\u002Fvoidmesh --skill vercel-composition-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-composition-patterns\u002FSKILL.md",true,[72,78,82,86,90,94,98,102,106,110,114,118,122],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"AGENTS.md","REFERENCE","参考文档",22563,"https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-composition-patterns\u002FAGENTS.md",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},"metadata.json",530,"https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-composition-patterns\u002Fmetadata.json",{"path":83,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":84,"sourceHtmlUrl":85},"README.md",2140,"https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-composition-patterns\u002FREADME.md",{"path":87,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":88,"sourceHtmlUrl":89},"rules\u002F_sections.md",829,"https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002F_sections.md",{"path":91,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":92,"sourceHtmlUrl":93},"rules\u002F_template.md",329,"https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002F_template.md",{"path":95,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":96,"sourceHtmlUrl":97},"rules\u002Farchitecture-avoid-boolean-props.md",2217,"https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002Farchitecture-avoid-boolean-props.md",{"path":99,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":100,"sourceHtmlUrl":101},"rules\u002Farchitecture-compound-components.md",2587,"https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002Farchitecture-compound-components.md",{"path":103,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":104,"sourceHtmlUrl":105},"rules\u002Fpatterns-children-over-render-props.md",1890,"https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002Fpatterns-children-over-render-props.md",{"path":107,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":108,"sourceHtmlUrl":109},"rules\u002Fpatterns-explicit-variants.md",2388,"https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002Fpatterns-explicit-variants.md",{"path":111,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":112,"sourceHtmlUrl":113},"rules\u002Freact19-no-forwardref.md",958,"https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002Freact19-no-forwardref.md",{"path":115,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":116,"sourceHtmlUrl":117},"rules\u002Fstate-context-interface.md",5000,"https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002Fstate-context-interface.md",{"path":119,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":120,"sourceHtmlUrl":121},"rules\u002Fstate-decouple-implementation.md",2652,"https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002Fstate-decouple-implementation.md",{"path":123,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":124,"sourceHtmlUrl":125},"rules\u002Fstate-lift-state.md",3242,"https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-composition-patterns\u002Frules\u002Fstate-lift-state.md",[127,159],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":44},"01M6CRM9JWN8T3BZYYN40XCRMV","update-intent","Update AGENTS.md intent nodes only when a diff changes a durable module contract, ownership rule, dependency boundary, architectural pattern, or project-wide invariant. Use when explicitly asked to refresh intent documentation or when those structural changes make existing guidance inaccurate; do not use for ordinary commits, bug fixes, tuning, thresholds, benchmark results, or implementation details. Accepts an optional git range such as main..HEAD or HEAD~5.","https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fupdate-intent\u002FSKILL.md",[],[134,135,136,137,138,139,140,48,141,142,143,144,145,146,147,24,148,149,150,31,151,152,153,154,155,156,157,158],"update","intent","update intent","as","Nodes","guidance","do","pattern","project","structural","only","thresholds","make","update agents","bug","dependency","diff","results","refresh","commits","boundary","tuning","git","benchmark","documentation",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":44},"01M6CRM75G0389EPWP09M09XC2","find-icon","Find iconoir-react icon component names by keyword.","https:\u002F\u002Fgithub.com\u002Fogdakke\u002Fvoidmesh\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ffind-icon\u002FSKILL.md",[],[166,167,168,43,42],"find","find icon","icon"]