[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74C6AQC8DAW8S1D7YYWPZ8M":3,"skill-same:01M74C6AQC8DAW8S1D7YYWPZ8M":51},{"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":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M74C6AQC8DAW8S1D7YYWPZ8M","inspect-elements",null,"Resolve on-screen 5chan DOM elements to React source files, line numbers, component names, and ownership stacks using the app's dev-only element-source helpers and playwright-cli. Use when Codex needs to inspect a page element, map a snapshot ref to source code, confirm which component rendered a node, or follow up after $profile-browsing finds a rerender hotspot and needs file-level attribution.","tamarillo-ai\u002Ftheta","tamarillo-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F264659913?v=4","01M732W8TW61PS979NJ2W4Z6XZ","tamarillo.ai","01M732W8VRBBGT4F0Q3B2HNGTQ",15,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcodex-cli\u002Fregression\u002F5chan\u002F.codex\u002Fskills\u002Finspect-elements\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: inspect-elements\ndescription: Resolve on-screen 5chan DOM elements to React source files, line numbers, component names, and ownership stacks using the app's dev-only element-source helpers and playwright-cli. Use when Codex needs to inspect a page element, map a snapshot ref to source code, confirm which component rendered a node, or follow up after $profile-browsing finds a rerender hotspot and needs file-level attribution.\n---\n\n# Inspect Elements\n\nUse this skill to jump from a concrete DOM node in the running 5chan app to the React file and component stack that produced it.\n\n## Prerequisites\n\n- Dev server running at `https:\u002F\u002F5chan.localhost`\n- `playwright-cli` installed\n- Use the local dev app, not production. The element-source helpers are only exposed in dev mode.\n\n## Quick workflow\n\n1. Open the target route with `playwright-cli`.\n2. Run `playwright-cli snapshot` and choose the relevant element ref.\n3. Resolve that ref through the app helper:\n\n```bash\nplaywright-cli -s=inspect eval \"async el => JSON.stringify(await window.__ELEMENT_SOURCE__.resolve(el))\" e7\n```\n\nThe result includes:\n\n- `source`: the most useful file\u002Fline match for the element\n- `componentName`: the nearest meaningful React component\n- `stack`: ownership stack from the concrete node upward\n- `tagName`: the underlying DOM tag\n\n## Session setup\n\n```bash\nplaywright-cli -s=inspect open https:\u002F\u002F5chan.localhost\nplaywright-cli -s=inspect goto https:\u002F\u002F5chan.localhost\u002Fall\nplaywright-cli -s=inspect eval \"window.__ELEMENT_SOURCE__?.ready ?? false\"\nplaywright-cli -s=inspect snapshot\n```\n\nIf `ready` is `false`, wait a moment and evaluate again. If `window.__ELEMENT_SOURCE__?.error` is set, report that error instead of continuing.\n\n## Resolve strategies\n\nPrefer snapshot refs because they target the exact live DOM node you just inspected.\n\n### Snapshot ref\n\n```bash\nplaywright-cli -s=inspect eval \"async el => JSON.stringify(await window.__ELEMENT_SOURCE__.resolve(el))\" e7\n```\n\n### Selector\n\nUse this only when the element is easy to target and a snapshot ref is not practical.\n\n```bash\nplaywright-cli -s=inspect eval \"JSON.stringify(await window.__ELEMENT_SOURCE__.resolveBySelector('[data-testid=\\\"composer\\\"]'))\"\n```\n\n### Screen coordinates\n\nUseful when you have a screenshot or a visually obvious hotspot.\n\n```bash\nplaywright-cli -s=inspect eval \"JSON.stringify(await window.__ELEMENT_SOURCE__.resolveAtPoint(320, 420))\"\n```\n\n## Format the ownership stack\n\n```bash\nplaywright-cli -s=inspect eval \"async el => { const info = await window.__ELEMENT_SOURCE__.resolve(el); return JSON.stringify({ ...info, formattedStack: window.__ELEMENT_SOURCE__.formatStack(info.stack, 5) }); }\" e7\n```\n\nUse `formattedStack` when you need a short, readable trace for the final report.\n\n## Profiling follow-up\n\nWhen `$profile-browsing` reports a hot route or rerender-heavy area:\n\n1. Reopen the route in a fresh playwright session.\n2. Snapshot the concrete list item, card, modal, or toolbar node that looks relevant.\n3. Resolve it with `window.__ELEMENT_SOURCE__.resolve(...)`.\n4. Use `source.filePath` as the direct edit target and `stack` to understand parent ownership.\n\nThis is a complement to `react-scan`, not a replacement. `react-scan` tells you which components rerender too often. `inspect-elements` tells you which exact source file produced the node you are looking at.\n\n## Rules\n\n- Prefer snapshot refs over brittle selectors.\n- Inspect the actual node the user cares about, not a distant wrapper, unless wrappers are the suspected problem.\n- If `source` is null but `stack` exists, use the first useful stack frame rather than guessing.\n- If both `source` and `stack` are empty, report that the node could not be resolved and pick a nearby parent element instead.\n","# Inspect Elements\n\nUse this skill to jump from a concrete DOM node in the running 5chan app to the React file and component stack that produced it.\n\n## Prerequisites\n\n- Dev server running at `https:\u002F\u002F5chan.localhost`\n- `playwright-cli` installed\n- Use the local dev app, not production. The element-source helpers are only exposed in dev mode.\n\n## Quick workflow\n\n1. Open the target route with `playwright-cli`.\n2. Run `playwright-cli snapshot` and choose the relevant element ref.\n3. Resolve that ref through the app helper:\n\n```bash\nplaywright-cli -s=inspect eval \"async el => JSON.stringify(await window.__ELEMENT_SOURCE__.resolve(el))\" e7\n```\n\nThe result includes:\n\n- `source`: the most useful file\u002Fline match for the element\n- `componentName`: the nearest meaningful React component\n- `stack`: ownership stack from the concrete node upward\n- `tagName`: the underlying DOM tag\n\n## Session setup\n\n```bash\nplaywright-cli -s=inspect open https:\u002F\u002F5chan.localhost\nplaywright-cli -s=inspect goto https:\u002F\u002F5chan.localhost\u002Fall\nplaywright-cli -s=inspect eval \"window.__ELEMENT_SOURCE__?.ready ?? false\"\nplaywright-cli -s=inspect snapshot\n```\n\nIf `ready` is `false`, wait a moment and evaluate again. If `window.__ELEMENT_SOURCE__?.error` is set, report that error instead of continuing.\n\n## Resolve strategies\n\nPrefer snapshot refs because they target the exact live DOM node you just inspected.\n\n### Snapshot ref\n\n```bash\nplaywright-cli -s=inspect eval \"async el => JSON.stringify(await window.__ELEMENT_SOURCE__.resolve(el))\" e7\n```\n\n### Selector\n\nUse this only when the element is easy to target and a snapshot ref is not practical.\n\n```bash\nplaywright-cli -s=inspect eval \"JSON.stringify(await window.__ELEMENT_SOURCE__.resolveBySelector('[data-testid=\\\"composer\\\"]'))\"\n```\n\n### Screen coordinates\n\nUseful when you have a screenshot or a visually obvious hotspot.\n\n```bash\nplaywright-cli -s=inspect eval \"JSON.stringify(await window.__ELEMENT_SOURCE__.resolveAtPoint(320, 420))\"\n```\n\n## Format the ownership stack\n\n```bash\nplaywright-cli -s=inspect eval \"async el => { const info = await window.__ELEMENT_SOURCE__.resolve(el); return JSON.stringify({ ...info, formattedStack: window.__ELEMENT_SOURCE__.formatStack(info.stack, 5) }); }\" e7\n```\n\nUse `formattedStack` when you need a short, readable trace for the final report.\n\n## Profiling follow-up\n\nWhen `$profile-browsing` reports a hot route or rerender-heavy area:\n\n1. Reopen the route in a fresh playwright session.\n2. Snapshot the concrete list item, card, modal, or toolbar node that looks relevant.\n3. Resolve it with `window.__ELEMENT_SOURCE__.resolve(...)`.\n4. Use `source.filePath` as the direct edit target and `stack` to understand parent ownership.\n\nThis is a complement to `react-scan`, not a replacement. `react-scan` tells you which components rerender too often. `inspect-elements` tells you which exact source file produced the node you are looking at.\n\n## Rules\n\n- Prefer snapshot refs over brittle selectors.\n- Inspect the actual node the user cares about, not a distant wrapper, unless wrappers are the suspected problem.\n- If `source` is null but `stack` exists, use the first useful stack frame rather than guessing.\n- If both `source` and `stack` are empty, report that the node could not be resolved and pick a nearby parent element instead.\n",{"name":5,"description":7},"main","08c084f718b2b842cd53622ce0b1a1fb2888ccef","test\u002Fcast-fixtures\u002Fcodex-cli\u002Fregression\u002F5chan\u002F.codex\u002Fskills\u002Finspect-elements",1,"https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta","https:\u002F\u002Fgithub.com\u002Ftamarillo-ai","2026-07-15 23:48:12",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add tamarillo-ai\u002Ftheta --skill inspect-elements",{"tool":37,"command":38},"bunx","bunx skills add tamarillo-ai\u002Ftheta --skill inspect-elements",{"tool":40,"command":41},"pnpm","pnpm dlx skills add tamarillo-ai\u002Ftheta --skill inspect-elements","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcodex-cli\u002Fregression\u002F5chan\u002F.codex\u002Fskills\u002Finspect-elements\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"agents\u002Fopenai.yaml","REFERENCE","参考文档",215,"https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcodex-cli\u002Fregression\u002F5chan\u002F.codex\u002Fskills\u002Finspect-elements\u002Fagents\u002Fopenai.yaml",[52,59,66,74,81,88],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M74FCAJ0RRFRJRQES26329E7","deploy-app","Deploy the application to staging or production environments.","https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcursor\u002Fskills\u002Fbasic\u002F.cursor\u002Fskills\u002Fdeploy-app\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M74FC8GPJGCS0KTGKS1CJZZS","deploy","Deploy the application to environments.","https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcursor\u002Fcombined\u002Ffull-config\u002F.cursor\u002Fskills\u002Fdeploy\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":70,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M74FC5RT3VTNZEK1F7NX5380","building-native-ui","Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs.","MIT","https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcopilot\u002Fskills\u002Fwith-references\u002F.github\u002Fskills\u002Fbuilding-native-ui\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M74FC1ZGP5R44HPGWWSW6P3B","create-section","Use when creating a new section for the AI Workshop presentation. Guides through title slide setup, layout choices, and content gathering. Activates when user wants to add a new topic section to the slideshow.","https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcopilot\u002Fskills\u002Fbasic\u002F.github\u002Fskills\u002Fcreate-section\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M74FBZXSZ7GVP0HCGNR1BVNH","ship-checker","Run a full pre-ship review for this repo. Use when asked if a change is ready to deploy, publish, or ship.","https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcopilot\u002Fcombined\u002Feverything\u002F.github\u002Fskills\u002Fship-checker\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M74FBY4N2E3ZERWBRM4S3DE6","lint-check","Run repository linters and report failures.","https:\u002F\u002Fgithub.com\u002Ftamarillo-ai\u002Ftheta\u002Fblob\u002Fmain\u002Ftest\u002Fcast-fixtures\u002Fcodex-cli\u002Fskills\u002Fagents-path\u002F.agents\u002Fskills\u002Flint-check\u002FSKILL.md",[],[]]