[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79H7XJ7DTGAPZD3TB3QQKXT":3,"skill-same:01M79H7XJ7DTGAPZD3TB3QQKXT":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},"01M79H7XJ7DTGAPZD3TB3QQKXT","new-extension",null,"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.","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\u002Fnew-extension\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: new-extension\ndescription: 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.\n---\n\n# New extension — ship a package, not a patch\n\nDesign so `arch-review`'s docking question — a new file plus one registration\nline? — answers itself.\n\n## 1. Pick the docking port\n\n| Adding a… | Port | Registration |\n| --- | --- | --- |\n| Market data source | `FeedEvent` channel + `FeedCapabilities` | new `feed-*` crate; entry in `crates\u002Fapp\u002Fconfig\u002Ffeeds.toml` |\n| Bar\u002Faggregation type | engine aggregator trait | new `engine` module, one registration |\n| Indicator | `Indicator` trait (commit\u002Fpreview + rollback) | a `.pine` script (data only), else a native file under `crates\u002Findicators\u002Fsrc\u002Fnative\u002F` plus one `pub use` and one `NATIVES` entry (stable id like `native.sma`, the menu label printed verbatim, a `fn() -> Box\u003Cdyn Indicator>`) — nothing in `app` |\n| Chart layer \u002F overlay | layer registry (`QUANTICK_CHART_LAYERS`) | new layer module in `app` |\n| Panel \u002F dock tab | dock tab set | new `app` module, one tab registration |\n| Any UI surface (popup, toast, panel, chrome slot) — the default | `ui-model` `Model` + app `View` | model file in `crates\u002Fui-model\u002Fsrc\u002F`, view file in `crates\u002Fapp\u002Fsrc\u002Fsurfaces\u002F`, one `surface_catalog!` line |\n| Look \u002F preset | config (`bubbles.toml`, drawing presets) | data only |\n| Sim\u002Fbacktest behaviour | `sim` fill model + metrics | `sim`, consumed by chart and runner alike |\n\nPrefer a `.pine` script whenever the dialect can express the kernel. An id no\nbuild ships becomes an error slot naming it, never a substitute.\n\n**The shape to copy** — a surface: a model in `crates\u002Fui-model\u002Fsrc\u002F` owns\n`State`, `Intent`, `Effects` and a pure `update` (no egui, no clock); a dumb\n`View` in `crates\u002Fapp\u002Fsrc\u002Fsurfaces\u002F` paints state and emits intents; one entry\nin `crates\u002Fui-model\u002Fsrc\u002Fcatalog.rs` declares both, the slot and the effect\nconversion ([references\u002Fheadless-ui.md](references\u002Fheadless-ui.md)); a port: `TradingVenue` in\n`crates\u002Ftrading\u002Fsrc\u002Fvenue.rs`; a decision: the pure plan in\n`crates\u002Ffeed\u002Fsrc\u002Fohlcv_plan.rs` (inputs handed in, no clock or socket). Never a\nnew field, constructor line, `draw_frame` call or menu hotkey on `QuantickApp`\n— `crates\u002Fguards\u002Fsrc\u002Fsize.rs` fails that growth.\n\n**No port fits?** Carve it first (trait, registry or capability flag) as its own\nreviewable slice, then dock. Never inline now and abstract later. Name the\nsecond concrete implementation; if you cannot, the abstraction is speculative —\nkeep the feature local and small. `ChartLayer` and `DockTab` are closed enums:\nextend them only where they already apply, and read `arch-review` dimension 9\nbefore adding a second variant of anything new.\n\n## 2. Obey the frame\n\n`CLAUDE.md`'s dependency direction and *one engine* hold; a feature needing a\nreverse edge is in the wrong crate. Gate on capabilities (`FeedCapabilities`),\nnever identities — a consumer `match` arm on a source\u002Ftype enum means the port\nis broken.\n\n## 3. Additive by default\n\n- New options default to today's behaviour; existing files get registration\n  lines, not rewrites.\n- Config *presence* never activates anything — the user or an explicit hook\n  does.\n- Tunables are named config or unit-suffixed constants from birth (`_MS`,\n  `_PX`, `_TICKS`).\n- Blast radius before the PR: files added vs. edited **and lines added vs.\n  lines poured into existing files**. Mostly edits → a port was missed or needs\n  carving; say which in the PR body.\n\n## 4. Performance is part of the port\n\nDeclare the rate class at design time (per-trade, per-depth, per-frame, rare):\n\n- **Per-trade \u002F per-depth** — zero allocation, no locks, bounded work per\n  event; a per-tick allocation means redesign before code.\n- **Per-frame** — recompute only what changed; cache projections, invalidate\n  on event; batch into the existing meshes.\n- **Rare** — clarity wins.\n\nA hot-path package proves its budget before the PR (fixture bench or\n`APP_HEALTH_SUMMARY` vs. `main` under a dense tape). Feed arithmetic saturates,\nnever panics.\n\n## 5. Born testable, born drivable\n\n- A fake second implementation exercises the registration path.\n- Engine-adjacent work is test-first, golden-tested.\n- A visible surface registers its `QUANTICK_*` hook per `ui-harness` in the\n  same commit and passes its QA pass and `trader-ux-review` before the PR.\n- Whatever a trader can *do* meets `arch-review`'s *The second operator* (act,\n  read, discover) — read it there, not from a copy.\n\n## 6. Done\n\nPort named · registration the only edit to existing behaviour · defaults\npreserve today · capabilities not identities · rate class declared and budget\nproven · fake second implementation tested · golden test if determinism is\ntouchable · hook if visible · drivable without a mouse · four checks green ·\n`arch-review` clean.\n","# New extension — ship a package, not a patch\n\nDesign so `arch-review`'s docking question — a new file plus one registration\nline? — answers itself.\n\n## 1. Pick the docking port\n\n| Adding a… | Port | Registration |\n| --- | --- | --- |\n| Market data source | `FeedEvent` channel + `FeedCapabilities` | new `feed-*` crate; entry in `crates\u002Fapp\u002Fconfig\u002Ffeeds.toml` |\n| Bar\u002Faggregation type | engine aggregator trait | new `engine` module, one registration |\n| Indicator | `Indicator` trait (commit\u002Fpreview + rollback) | a `.pine` script (data only), else a native file under `crates\u002Findicators\u002Fsrc\u002Fnative\u002F` plus one `pub use` and one `NATIVES` entry (stable id like `native.sma`, the menu label printed verbatim, a `fn() -> Box\u003Cdyn Indicator>`) — nothing in `app` |\n| Chart layer \u002F overlay | layer registry (`QUANTICK_CHART_LAYERS`) | new layer module in `app` |\n| Panel \u002F dock tab | dock tab set | new `app` module, one tab registration |\n| Any UI surface (popup, toast, panel, chrome slot) — the default | `ui-model` `Model` + app `View` | model file in `crates\u002Fui-model\u002Fsrc\u002F`, view file in `crates\u002Fapp\u002Fsrc\u002Fsurfaces\u002F`, one `surface_catalog!` line |\n| Look \u002F preset | config (`bubbles.toml`, drawing presets) | data only |\n| Sim\u002Fbacktest behaviour | `sim` fill model + metrics | `sim`, consumed by chart and runner alike |\n\nPrefer a `.pine` script whenever the dialect can express the kernel. An id no\nbuild ships becomes an error slot naming it, never a substitute.\n\n**The shape to copy** — a surface: a model in `crates\u002Fui-model\u002Fsrc\u002F` owns\n`State`, `Intent`, `Effects` and a pure `update` (no egui, no clock); a dumb\n`View` in `crates\u002Fapp\u002Fsrc\u002Fsurfaces\u002F` paints state and emits intents; one entry\nin `crates\u002Fui-model\u002Fsrc\u002Fcatalog.rs` declares both, the slot and the effect\nconversion ([references\u002Fheadless-ui.md](references\u002Fheadless-ui.md)); a port: `TradingVenue` in\n`crates\u002Ftrading\u002Fsrc\u002Fvenue.rs`; a decision: the pure plan in\n`crates\u002Ffeed\u002Fsrc\u002Fohlcv_plan.rs` (inputs handed in, no clock or socket). Never a\nnew field, constructor line, `draw_frame` call or menu hotkey on `QuantickApp`\n— `crates\u002Fguards\u002Fsrc\u002Fsize.rs` fails that growth.\n\n**No port fits?** Carve it first (trait, registry or capability flag) as its own\nreviewable slice, then dock. Never inline now and abstract later. Name the\nsecond concrete implementation; if you cannot, the abstraction is speculative —\nkeep the feature local and small. `ChartLayer` and `DockTab` are closed enums:\nextend them only where they already apply, and read `arch-review` dimension 9\nbefore adding a second variant of anything new.\n\n## 2. Obey the frame\n\n`CLAUDE.md`'s dependency direction and *one engine* hold; a feature needing a\nreverse edge is in the wrong crate. Gate on capabilities (`FeedCapabilities`),\nnever identities — a consumer `match` arm on a source\u002Ftype enum means the port\nis broken.\n\n## 3. Additive by default\n\n- New options default to today's behaviour; existing files get registration\n  lines, not rewrites.\n- Config *presence* never activates anything — the user or an explicit hook\n  does.\n- Tunables are named config or unit-suffixed constants from birth (`_MS`,\n  `_PX`, `_TICKS`).\n- Blast radius before the PR: files added vs. edited **and lines added vs.\n  lines poured into existing files**. Mostly edits → a port was missed or needs\n  carving; say which in the PR body.\n\n## 4. Performance is part of the port\n\nDeclare the rate class at design time (per-trade, per-depth, per-frame, rare):\n\n- **Per-trade \u002F per-depth** — zero allocation, no locks, bounded work per\n  event; a per-tick allocation means redesign before code.\n- **Per-frame** — recompute only what changed; cache projections, invalidate\n  on event; batch into the existing meshes.\n- **Rare** — clarity wins.\n\nA hot-path package proves its budget before the PR (fixture bench or\n`APP_HEALTH_SUMMARY` vs. `main` under a dense tape). Feed arithmetic saturates,\nnever panics.\n\n## 5. Born testable, born drivable\n\n- A fake second implementation exercises the registration path.\n- Engine-adjacent work is test-first, golden-tested.\n- A visible surface registers its `QUANTICK_*` hook per `ui-harness` in the\n  same commit and passes its QA pass and `trader-ux-review` before the PR.\n- Whatever a trader can *do* meets `arch-review`'s *The second operator* (act,\n  read, discover) — read it there, not from a copy.\n\n## 6. Done\n\nPort named · registration the only edit to existing behaviour · defaults\npreserve today · capabilities not identities · rate class declared and budget\nproven · fake second implementation tested · golden test if determinism is\ntouchable · hook if visible · drivable without a mouse · four checks green ·\n`arch-review` clean.\n",{"name":5,"description":7},"main","9fcba12b244e73c4cf4d189fd8910457989a3f17",".claude\u002Fskills\u002Fnew-extension",9,"https:\u002F\u002Fgithub.com\u002Fmilocaetano\u002Fquantick","https:\u002F\u002Fgithub.com\u002Fmilocaetano","2026-11-15 05:34:37",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add milocaetano\u002Fquantick --skill new-extension",{"tool":37,"command":38},"bunx","bunx skills add milocaetano\u002Fquantick --skill new-extension",{"tool":40,"command":41},"pnpm","pnpm dlx skills add milocaetano\u002Fquantick --skill new-extension","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmilocaetano\u002Fquantick\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fnew-extension\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Fheadless-ui.md","REFERENCE","参考文档",1751,"https:\u002F\u002Fgithub.com\u002Fmilocaetano\u002Fquantick\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fnew-extension\u002Freferences\u002Fheadless-ui.md",[52,58,65,72,79,86],{"skillNo":53,"name":54,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M79H8CMSYHG3RC9MAZVDTSF1","ui-harness","https:\u002F\u002Fgithub.com\u002Fmilocaetano\u002Fquantick\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fui-harness\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"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":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"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":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"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":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"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":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"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",[],[]]