[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79H8CMSYHG3RC9MAZVDTSF1":3,"skill-same:01M79H8CMSYHG3RC9MAZVDTSF1":54},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M79H8CMSYHG3RC9MAZVDTSF1","ui-harness",null,"milocaetano\u002Fquantick","milocaetano","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F55043263?v=4","01M79H5WZQKKY0J2EZD9YM574A","Camilo Caetano","01M79H5X0C4F4PSQ5A6Y9HK2TX",51,"MIT","https:\u002F\u002Fgithub.com\u002Fmilocaetano\u002Fquantick\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fui-harness\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ui-harness\ndescription: Drive, observe and visually QA quantick without clicks: env hooks for every UI surface, launch\u002Fcapture workflow, live control plane, state matrix, defect checklist and evidenced PASS\u002FFAIL. Use for app validation, screenshots, new UI surfaces, UI changes, \"how does it look\", or trader-ux-review.\n---\n\n# UI harness — drive, observe and QA the app without a mouse\n\n> **Every user-visible surface (panel, layer, tab, popup, demo flow) is\n> reachable from a fresh launch by environment hooks alone — zero clicks.**\n\nA missing surface hook is a Should-fix. `QUANTICK_\u003CSURFACE>_AUTOSTART=1`\ndefaults off and reuses the manual toggle path.\n\n## Hooks\n\n**Grep** `references\u002Fhook-registry.md` (one row per hook) for the surface you\nneed; read it whole only for an inventory or coverage audit:\n\n```sh\ngrep -i 'heatmap\\|book' .claude\u002Fskills\u002Fui-harness\u002Freferences\u002Fhook-registry.md\n```\n\nGuards require `declare_hooks!` and `docs\u002Fui-harness\u002Fhook-prose.md`. Edit\nprose only; regenerate with\n`cargo run -p quantick-app --features harness -- --dump-hook-registry`.\n*Declared in* locates hooks; `app\u002Flaunch_hooks.rs` documents launch order.\n\n**Hooks require a harness feature.** `--features harness` enables all four\nfamilies (`scenario-`, `control-`, `drawing-`, `quick-range-harness`). Default\nbuilds read only operator config captured by `crates\u002Fapp\u002Fsrc\u002Flaunch.rs`.\nUnregistered `QUANTICK_*` logs `UNKNOWN_HOOK` and disables session saving\n(`SAVES OFF` in the status line).\n\n**Adding one** — a new surface gets its hook in the same commit: read the var,\ncall the manual toggle's function, default off; add the name to that module's\n`crate::hooks::declare_hooks![…]` and a row to `hook-prose.md`; regenerate.\nRead ownership:\n\n- a hook the window owns (menu opened, pointer parked, demo staged, history\n  page asked, a frame budget) → `crates\u002Fapp\u002Fsrc\u002Fharness.rs`: one `Harness`\n  field, one `Harness::capture` line, one accessor named for its purpose;\n- a floating surface's hook → that surface's module under\n  `crates\u002Fapp\u002Fsrc\u002Fsurfaces\u002F`, as an `apply_env_hook` the registry calls\n  (`size.rs` fails one added to the trunk);\n- stateless setters and control\u002Ftab\u002Freplay\u002Fworkspace clusters stay in\n  `app\u002Flaunch_hooks.rs`; stateful hooks needing only their own parsed value\n  belong in their owner.\n\n`main` captures declared names once; owners use `crate::hooks::captured::var`,\nnever `std::env::var`.\n\nExtend an existing hook with a defaulting struct field (`DrawingsDemo`,\n`FrvpDemo`, `DrawingDraft`), never a new enum variant.\n\n## Launch and capture\n\nRaw captures stay outside Git; results and artifact links go in the PR.\n\n1. **Own target dir with free space**: `CARGO_TARGET_DIR=D:\\quantick-agent-target`,\n   to avoid locking the user's exe. First check `Get-PSDrive -PSProvider FileSystem`\n   for space; ENOSPC resembles a compile error.\n2. **Fresh exe, proven**: run `cargo build -p quantick-app --features harness`\n   before capture; compare `LastWriteTime` to the last edit. Tests do not rebuild it.\n3. **Launch with PowerShell `Start-Process`**, hooks set, `RUST_LOG=quantick=info`,\n   stderr logged. Bash background jobs produce white captures.\n4. **Capture by PID**, never window title: `tools\u002Fcapture_window.ps1`\n   (PrintWindow, PW_RENDERFULLCONTENT) filtered to your PID.\n5. **Gate on health**: `APP_HEALTH_SUMMARY` every 2 s. `fps≈59 \u002F\n   frame_avg≈16.7` is real; `fps≈19 \u002F frame_avg≈52 \u002F frame_cpu≈3` is an\n   occluded or idle desktop — wait for fps ≥ 50 and recapture. A blank capture\n   is environment; run a `main` control build before blaming the change.\n6. **Verify by pixel** where the eye is fooled (counting marks, dash\n   signatures, colours, frame diffs) — e.g. `System.Drawing`;\n   `readable_min_radius` in `config\u002Fbubbles.toml` is the \"too small\" reference.\n7. **Be a guest**: minimized window or an active mouse (`GetLastInputInfo`\n   idle ≈ 0) means stop and keep your evidence. No `SendInput`. Never bind a\n   second MT5 listener on port 9100 — `QUANTICK_CONFIG` with another\n   `listen_addr`. Close every instance you opened.\n\n## Ask the app, then look\n\nPrefer structured answers when available; screenshots assess clipping, font,\ncomposition and readability. Launch `--features harness` with\n`QUANTICK_CONTROL_ACCESS=1` and\nthe scopes, then use `quantick_get_scene` (controls by name, `selected`, the\ncoded reason one cannot be operated), `quantick_get_diagnostics` (frame and\ntape numbers), and `quantick_capture_evidence` with `screenshot` (scene,\nhealth, market and image at one revision, with `control_regions` per control).\nFor the manual client, PowerShell stdin trap and bundle fields, read\n`references\u002Fcontrol-plane.md`.\n\n## QA\n\n1. **Scope** — every affected surface, including splitters moved by dock tabs\n   or popups covering tape; include uncertain surfaces.\n2. **State matrix** — each surface: default open (BTC dense tape preset);\n   hook-enabled; popup\u002Fmenu over live data; empty session\u002Ffills\u002Fdepth; dense\n   replay\u002Fbook; narrow (~1000 px) and normal windows; disabled states with\n   visible reasons. Prefer replay (`QUANTICK_REPLAY_*`, WINJ26 sessions) for\n   reproducibility and `config\u002Fbubbles.toml` presets, never bare defaults.\n3. **Read scene, then captures** — answer each check; rendering alone is no verdict:\n   - **Integrity** — nothing clipped, overlapping or off-window; splitters and\n     neighbours intact.\n   - **Readability** — text at the app's own readable size; contrast on the\n     dark canvas; no truncated numbers (`1234…` on a price fails).\n   - **Occlusion** — nothing covers live price, tape or forming bar.\n   - **State honesty** — explain disabled\u002Fempty states; label inferred data.\n   - **Motion** — two captures ~1.2 s apart in one PowerShell call: flow\n     advanced, no layout jump, the live region never frozen.\n   - **Consistency** — the existing chip\u002Fbutton language; no one-off widget.\n   - **Performance** — dense data: fps ≥ ~59, no change-induced\n     `APP_SLOW_FRAMES` bursts. After ruling out occlusion, feature fps in the\n     50s against ~59 on `main` (same hooks and tape) is FAIL.\n   - Scene\u002Fimage disagreement is FAIL; identify the credible half.\n4. **Report** one verdict per surface × state, most severe first. **FAIL**:\n   screenshot path, one-sentence defect, crop\u002Fcoordinates and scene control ID\n   where available. **PASS**: screenshot path and any structured reading\n   (scene entry, diagnostics figure, evidence ID); without evidence, not run.\n   **BLOCKED**: what was unobservable and what was validated; never PASS.\n   PR: verdicts, surfaces, IDs, measurements and optional artifact link. Never\n   put raw evidence under `.claude\u002Fevidence\u002F` or `docs\u002Fworkflow\u002Fevidence\u002F`.\n   Fix FAILs and re-run only failed cells. Keep a before\u002Fafter pair outside Git\n   only if another reviewer needs it. Finish when every cell is PASS or an\n   accepted defect recorded in the PR body.\n","# UI harness — drive, observe and QA the app without a mouse\n\n> **Every user-visible surface (panel, layer, tab, popup, demo flow) is\n> reachable from a fresh launch by environment hooks alone — zero clicks.**\n\nA missing surface hook is a Should-fix. `QUANTICK_\u003CSURFACE>_AUTOSTART=1`\ndefaults off and reuses the manual toggle path.\n\n## Hooks\n\n**Grep** `references\u002Fhook-registry.md` (one row per hook) for the surface you\nneed; read it whole only for an inventory or coverage audit:\n\n```sh\ngrep -i 'heatmap\\|book' .claude\u002Fskills\u002Fui-harness\u002Freferences\u002Fhook-registry.md\n```\n\nGuards require `declare_hooks!` and `docs\u002Fui-harness\u002Fhook-prose.md`. Edit\nprose only; regenerate with\n`cargo run -p quantick-app --features harness -- --dump-hook-registry`.\n*Declared in* locates hooks; `app\u002Flaunch_hooks.rs` documents launch order.\n\n**Hooks require a harness feature.** `--features harness` enables all four\nfamilies (`scenario-`, `control-`, `drawing-`, `quick-range-harness`). Default\nbuilds read only operator config captured by `crates\u002Fapp\u002Fsrc\u002Flaunch.rs`.\nUnregistered `QUANTICK_*` logs `UNKNOWN_HOOK` and disables session saving\n(`SAVES OFF` in the status line).\n\n**Adding one** — a new surface gets its hook in the same commit: read the var,\ncall the manual toggle's function, default off; add the name to that module's\n`crate::hooks::declare_hooks![…]` and a row to `hook-prose.md`; regenerate.\nRead ownership:\n\n- a hook the window owns (menu opened, pointer parked, demo staged, history\n  page asked, a frame budget) → `crates\u002Fapp\u002Fsrc\u002Fharness.rs`: one `Harness`\n  field, one `Harness::capture` line, one accessor named for its purpose;\n- a floating surface's hook → that surface's module under\n  `crates\u002Fapp\u002Fsrc\u002Fsurfaces\u002F`, as an `apply_env_hook` the registry calls\n  (`size.rs` fails one added to the trunk);\n- stateless setters and control\u002Ftab\u002Freplay\u002Fworkspace clusters stay in\n  `app\u002Flaunch_hooks.rs`; stateful hooks needing only their own parsed value\n  belong in their owner.\n\n`main` captures declared names once; owners use `crate::hooks::captured::var`,\nnever `std::env::var`.\n\nExtend an existing hook with a defaulting struct field (`DrawingsDemo`,\n`FrvpDemo`, `DrawingDraft`), never a new enum variant.\n\n## Launch and capture\n\nRaw captures stay outside Git; results and artifact links go in the PR.\n\n1. **Own target dir with free space**: `CARGO_TARGET_DIR=D:\\quantick-agent-target`,\n   to avoid locking the user's exe. First check `Get-PSDrive -PSProvider FileSystem`\n   for space; ENOSPC resembles a compile error.\n2. **Fresh exe, proven**: run `cargo build -p quantick-app --features harness`\n   before capture; compare `LastWriteTime` to the last edit. Tests do not rebuild it.\n3. **Launch with PowerShell `Start-Process`**, hooks set, `RUST_LOG=quantick=info`,\n   stderr logged. Bash background jobs produce white captures.\n4. **Capture by PID**, never window title: `tools\u002Fcapture_window.ps1`\n   (PrintWindow, PW_RENDERFULLCONTENT) filtered to your PID.\n5. **Gate on health**: `APP_HEALTH_SUMMARY` every 2 s. `fps≈59 \u002F\n   frame_avg≈16.7` is real; `fps≈19 \u002F frame_avg≈52 \u002F frame_cpu≈3` is an\n   occluded or idle desktop — wait for fps ≥ 50 and recapture. A blank capture\n   is environment; run a `main` control build before blaming the change.\n6. **Verify by pixel** where the eye is fooled (counting marks, dash\n   signatures, colours, frame diffs) — e.g. `System.Drawing`;\n   `readable_min_radius` in `config\u002Fbubbles.toml` is the \"too small\" reference.\n7. **Be a guest**: minimized window or an active mouse (`GetLastInputInfo`\n   idle ≈ 0) means stop and keep your evidence. No `SendInput`. Never bind a\n   second MT5 listener on port 9100 — `QUANTICK_CONFIG` with another\n   `listen_addr`. Close every instance you opened.\n\n## Ask the app, then look\n\nPrefer structured answers when available; screenshots assess clipping, font,\ncomposition and readability. Launch `--features harness` with\n`QUANTICK_CONTROL_ACCESS=1` and\nthe scopes, then use `quantick_get_scene` (controls by name, `selected`, the\ncoded reason one cannot be operated), `quantick_get_diagnostics` (frame and\ntape numbers), and `quantick_capture_evidence` with `screenshot` (scene,\nhealth, market and image at one revision, with `control_regions` per control).\nFor the manual client, PowerShell stdin trap and bundle fields, read\n`references\u002Fcontrol-plane.md`.\n\n## QA\n\n1. **Scope** — every affected surface, including splitters moved by dock tabs\n   or popups covering tape; include uncertain surfaces.\n2. **State matrix** — each surface: default open (BTC dense tape preset);\n   hook-enabled; popup\u002Fmenu over live data; empty session\u002Ffills\u002Fdepth; dense\n   replay\u002Fbook; narrow (~1000 px) and normal windows; disabled states with\n   visible reasons. Prefer replay (`QUANTICK_REPLAY_*`, WINJ26 sessions) for\n   reproducibility and `config\u002Fbubbles.toml` presets, never bare defaults.\n3. **Read scene, then captures** — answer each check; rendering alone is no verdict:\n   - **Integrity** — nothing clipped, overlapping or off-window; splitters and\n     neighbours intact.\n   - **Readability** — text at the app's own readable size; contrast on the\n     dark canvas; no truncated numbers (`1234…` on a price fails).\n   - **Occlusion** — nothing covers live price, tape or forming bar.\n   - **State honesty** — explain disabled\u002Fempty states; label inferred data.\n   - **Motion** — two captures ~1.2 s apart in one PowerShell call: flow\n     advanced, no layout jump, the live region never frozen.\n   - **Consistency** — the existing chip\u002Fbutton language; no one-off widget.\n   - **Performance** — dense data: fps ≥ ~59, no change-induced\n     `APP_SLOW_FRAMES` bursts. After ruling out occlusion, feature fps in the\n     50s against ~59 on `main` (same hooks and tape) is FAIL.\n   - Scene\u002Fimage disagreement is FAIL; identify the credible half.\n4. **Report** one verdict per surface × state, most severe first. **FAIL**:\n   screenshot path, one-sentence defect, crop\u002Fcoordinates and scene control ID\n   where available. **PASS**: screenshot path and any structured reading\n   (scene entry, diagnostics figure, evidence ID); without evidence, not run.\n   **BLOCKED**: what was unobservable and what was validated; never PASS.\n   PR: verdicts, surfaces, IDs, measurements and optional artifact link. Never\n   put raw evidence under `.claude\u002Fevidence\u002F` or `docs\u002Fworkflow\u002Fevidence\u002F`.\n   Fix FAILs and re-run only failed cells. Keep a before\u002Fafter pair outside Git\n   only if another reviewer needs it. Finish when every cell is PASS or an\n   accepted defect recorded in the PR body.\n",{},"main","5407c395e4a2e316deca1dd7f32c0c11bf8b8aea",".claude\u002Fskills\u002Fui-harness",9,"https:\u002F\u002Fgithub.com\u002Fmilocaetano\u002Fquantick","https:\u002F\u002Fgithub.com\u002Fmilocaetano","2026-11-15 05:34:37",{"source":7,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add milocaetano\u002Fquantick --skill ui-harness",{"tool":36,"command":37},"bunx","bunx skills add milocaetano\u002Fquantick --skill ui-harness",{"tool":39,"command":40},"pnpm","pnpm dlx skills add milocaetano\u002Fquantick --skill ui-harness","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmilocaetano\u002Fquantick\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fui-harness\u002FSKILL.md",true,[44,50],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"references\u002Fcontrol-plane.md","REFERENCE","参考文档",3939,"https:\u002F\u002Fgithub.com\u002Fmilocaetano\u002Fquantick\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fui-harness\u002Freferences\u002Fcontrol-plane.md",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fhook-registry.md",71963,"https:\u002F\u002Fgithub.com\u002Fmilocaetano\u002Fquantick\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fui-harness\u002Freferences\u002Fhook-registry.md",[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M79H87S0JSJK97VXPP3Z5T49","trader-ux-review","Review a feature or flow through the eyes of the traders who use quantick — fixed personas, order-flow-specific heuristics, and trader-severity ratings. Answers \"can a trader actually operate with this?\", not \"does it render?\" (that is ui-harness's QA pass). Use for any change a trader touches mid-session — panels, popups, hotkeys, trading actions, chart interactions — or when the user asks for a UX review.","https:\u002F\u002Fgithub.com\u002Fmilocaetano\u002Fquantick\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftrader-ux-review\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M79H84CC4PKNJDCQT4PPG7QY","ship","Verify and deliver a Quantick branch through independent reviews and green CI. Prepare main PRs for the user; merge only into an explicitly authorized campaign branch.","https:\u002F\u002Fgithub.com\u002Fmilocaetano\u002Fquantick\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fship\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M79H8354XMVMSBH3Q9N370PS","quantick-score","Score Quantick for sustainable growth, scalability and AI readiness; use ai-review for diffs.","https:\u002F\u002Fgithub.com\u002Fmilocaetano\u002Fquantick\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fquantick-score\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M79H810E0WHDQEWNTCCYVA35","outside-score","Score Quantick as an outside architect would, apart from quantick-score, and show where they disagree.","https:\u002F\u002Fgithub.com\u002Fmilocaetano\u002Fquantick\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Foutside-score\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M79H7XJ7DTGAPZD3TB3QQKXT","new-extension","Recipe for adding a new capability to quantick as an additive package — a new feed, bar type, indicator, chart layer, panel or crate that docks via a port instead of surgery on existing code. Use when a goal adds a capability, when scaffolding a new module, or when deciding where a new feature should live. Turns arch-review's docking test from a review gate into a build recipe.","https:\u002F\u002Fgithub.com\u002Fmilocaetano\u002Fquantick\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fnew-extension\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M79H7VDXRGV9NTPBEG5E38DZ","mission","Define and enforce a tiered Quantick mission with a source-based ledger, acceptance criteria, applicable gates and delivery evidence. Use for \u002Fmission or a session goal. Campaign children return control to their coordinator.","https:\u002F\u002Fgithub.com\u002Fmilocaetano\u002Fquantick\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmission\u002FSKILL.md",[],[]]