[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E5BHCR3ANHDJJM3NMBYKC7":3,"skill-same:01M7E5BHCR3ANHDJJM3NMBYKC7":63},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":14,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M7E5BHCR3ANHDJJM3NMBYKC7","tui-design-systems",null,"Design system for Ratatui terminal UIs - theme tokens, background integrity, layout and hit-testing, glyph fallbacks and deterministic screenshot gates. Use when building a new Ratatui dashboard or redesigning an existing TUI's visuals.","w0rxbend\u002Fdot-agents","w0rxbend","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8176996?v=4","01M7E4XY3Y871Z2NFBXF3H3T8F","Oleksandr B.","01M7E4XY51E6NSG05FXR36H9RV",0,"MIT","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Ftui-design-systems\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Ftui-design-systems\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tui-design-systems\ndescription: Design system for Ratatui terminal UIs - theme tokens, background integrity, layout and hit-testing, glyph fallbacks and deterministic screenshot gates. Use when building a new Ratatui dashboard or redesigning an existing TUI's visuals.\nversion: 1.0.0\nauthor: Hermes Agent\nlicense: MIT\nmetadata:\n  hermes:\n    tags: [ratatui, tui, theming, design-system, terminal-ui]\n    related_skills: [rust-linux-apps]\n---\n\n# TUI design systems (Ratatui)\n\nRules for new or overhauled Ratatui TUI visuals without breaking interaction model. For this user's Rust terminal dashboards; pair with repo-local app instructions.\n\n## When to Use\n\n- New Ratatui dashboard visual layer (themes, panels, badges, meters, tabs).\n- Redesigning\u002Frestyling existing Ratatui TUI, especially with multiple themes, live theme picker, mouse hit-testing or deterministic screenshot gate in CI.\n\n## Token architecture\n\n- Keep palettes flat, const, few: one semantic-role struct per theme, swapped by pointer. Derive every *layered or blended* colour as token from those roles with one RGB `blend()`: `surface` and `surface_hi` (panel, overlay fills), `track` (empty bar end), `fade` (colour dimmed toward background), `gradient` (accent run), `on_color` (readable badge text, picked by luminance). New palette then restyles every component at once, as live theme picker needs.\n- Widgets never name literal `Color`, only theme tokens.\n- Guard `blend()` against non-RGB endpoints: ANSI colours have no channels, so snap to nearer endpoint, do not invent one.\n\n## Background-less themes\n\n- Theme with `Color::Reset` background (mono\u002FTTY palette) must degrade every fill: surfaces fall to `Reset`, badges become bracketed coloured text, empty bar ends use border colour, not derived track (that is `Reset`, renders as terminal default foreground). Test it paints only `Reset` and selection highlight.\n\n## Background integrity\n\n- Sweep every view × overlay with cell-buffer test: each cell background must be in theme-provided whitelist (`is_background` token list), not hardcoded colour list. Hardcoded list needs edit per new token and gets forgotten.\n- `Clear` resets cells without repainting; whatever draws after it must restyle background. Fill overlays with raised surface so they float above panels.\n- ratatui's `Chart` paints plot area via `Canvas` whose background defaults to `Color::Reset`. In tinted panel, set chart background to *panel's* fill, not page's: page colour inside surface-coloured card is same hole, one level up.\n\n## Layout-coupled hit testing\n\n- If mouse hit-testing mirrors drawn layout (tab strips, segmented bars, status fields), change drawing and mirror math in same edit. Prefer render-driven tests locating each label by drawn column; hand-written rect assertions pass while real layout puts widget elsewhere.\n- Adding or widening list highlight symbol shifts every row's text. Clickable row regions must be full-width or recomputed to match.\n\n## Glyphs\n\n- Sub-cell meter precision uses eighth blocks (U+258F..U+2589), Block Elements: Unicode path only; ASCII fallback fills whole cells. Braille charts and sparklines too: supply ASCII substitute, do not leak box-drawing into `--ascii` mode.\n- Aligned-column icons must be single-width BMP symbols. Emoji are double-width, silently shifting every later column in row.\n\n## Verification\n\n- Redesign: change styles first, text second. Rendering tests assert text content, so untouched strings keep suite green while look changes.\n- Visual gate: project's deterministic screenshot generator (fixed frame counter, no wall-clock, no RNG). Text-dump mode is fastest layout review. Commit regenerated images with source change so CI's no-drift check passes.\n- Check backgrounds on cell buffer, not rendered image: image writer resolving `Color::Reset` to theme background hides exactly the holes buffer sweep catches.\n- Keep frame-counter-driven animation (pulses, blinks) deterministic for reproducible screenshots.\n","# TUI design systems (Ratatui)\n\nRules for new or overhauled Ratatui TUI visuals without breaking interaction model. For this user's Rust terminal dashboards; pair with repo-local app instructions.\n\n## When to Use\n\n- New Ratatui dashboard visual layer (themes, panels, badges, meters, tabs).\n- Redesigning\u002Frestyling existing Ratatui TUI, especially with multiple themes, live theme picker, mouse hit-testing or deterministic screenshot gate in CI.\n\n## Token architecture\n\n- Keep palettes flat, const, few: one semantic-role struct per theme, swapped by pointer. Derive every *layered or blended* colour as token from those roles with one RGB `blend()`: `surface` and `surface_hi` (panel, overlay fills), `track` (empty bar end), `fade` (colour dimmed toward background), `gradient` (accent run), `on_color` (readable badge text, picked by luminance). New palette then restyles every component at once, as live theme picker needs.\n- Widgets never name literal `Color`, only theme tokens.\n- Guard `blend()` against non-RGB endpoints: ANSI colours have no channels, so snap to nearer endpoint, do not invent one.\n\n## Background-less themes\n\n- Theme with `Color::Reset` background (mono\u002FTTY palette) must degrade every fill: surfaces fall to `Reset`, badges become bracketed coloured text, empty bar ends use border colour, not derived track (that is `Reset`, renders as terminal default foreground). Test it paints only `Reset` and selection highlight.\n\n## Background integrity\n\n- Sweep every view × overlay with cell-buffer test: each cell background must be in theme-provided whitelist (`is_background` token list), not hardcoded colour list. Hardcoded list needs edit per new token and gets forgotten.\n- `Clear` resets cells without repainting; whatever draws after it must restyle background. Fill overlays with raised surface so they float above panels.\n- ratatui's `Chart` paints plot area via `Canvas` whose background defaults to `Color::Reset`. In tinted panel, set chart background to *panel's* fill, not page's: page colour inside surface-coloured card is same hole, one level up.\n\n## Layout-coupled hit testing\n\n- If mouse hit-testing mirrors drawn layout (tab strips, segmented bars, status fields), change drawing and mirror math in same edit. Prefer render-driven tests locating each label by drawn column; hand-written rect assertions pass while real layout puts widget elsewhere.\n- Adding or widening list highlight symbol shifts every row's text. Clickable row regions must be full-width or recomputed to match.\n\n## Glyphs\n\n- Sub-cell meter precision uses eighth blocks (U+258F..U+2589), Block Elements: Unicode path only; ASCII fallback fills whole cells. Braille charts and sparklines too: supply ASCII substitute, do not leak box-drawing into `--ascii` mode.\n- Aligned-column icons must be single-width BMP symbols. Emoji are double-width, silently shifting every later column in row.\n\n## Verification\n\n- Redesign: change styles first, text second. Rendering tests assert text content, so untouched strings keep suite green while look changes.\n- Visual gate: project's deterministic screenshot generator (fixed frame counter, no wall-clock, no RNG). Text-dump mode is fastest layout review. Commit regenerated images with source change so CI's no-drift check passes.\n- Check backgrounds on cell buffer, not rendered image: image writer resolving `Color::Reset` to theme background hides exactly the holes buffer sweep catches.\n- Keep frame-counter-driven animation (pulses, blinks) deterministic for reproducible screenshots.\n",{"name":5,"author":25,"license":15,"version":26,"metadata":27,"description":7},"Hermes Agent","1.0.0",{"hermes":28},{"tags":29,"related_skills":35},[30,31,32,33,34],"ratatui","tui","theming","design-system","terminal-ui",[36],"rust-linux-apps","main","101d0f67250256ca5d80dc3f95767cad7b541457","skills\u002Ffrontend\u002Ftui-design-systems","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents","https:\u002F\u002Fgithub.com\u002Fw0rxbend","https:\u002F\u002Freadme.worxbend.com\u002F","Fluent in Backend-ese (microservices, distributed systems, you know the drill)\r\nFunctional Programming Fanatic...","2026-11-14 14:44:12",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add w0rxbend\u002Fdot-agents --skill tui-design-systems",{"tool":51,"command":52},"bunx","bunx skills add w0rxbend\u002Fdot-agents --skill tui-design-systems",{"tool":54,"command":55},"pnpm","pnpm dlx skills add w0rxbend\u002Fdot-agents --skill tui-design-systems","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Ffrontend\u002Ftui-design-systems\u002FSKILL.md",true,[59],{"path":60,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":16},"LICENSE","许可证",1280,[64,71,78,86,93,100],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":20},"01M7E6TS1SW1ZSXN748N0RBGHT","wiki-builder","Create and maintain a local Markdown research wiki (sources with provenance, compiled concept\u002Fsource pages, index, maintenance log) driven by a per-wiki config. Use when the user wants to start a wiki or knowledge base, ingest sources into one, or query and update it; use wiki-page-writer for a single code deep-dive page.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fwiki-builder\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":20},"01M7E6S8ARS0VQR85H4FEC390B","refactoring-guru","Diagnose a named code smell and apply the smallest behavior-preserving refactoring, with verification before and after and an explicit stop condition. Use for structural refactors (extract, move, consolidate, change ownership), not for feature or bug work; for readability cleanup of recent changes use code-simplification.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Frefactoring-guru\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":82,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":20},"01M7E6RRXCYGSHA0ZBFX3YZP7Y","legacy-seams","When changing untested legacy code, pin the observed results with characterization tests and open the smallest seam that substitutes only the blocking dependency, separate from any later logic change. Use when a clock, random source, I\u002FO, global, or hidden constructor blocks a test or a safe edit. Use test-driven-development for a new behavior or a bug, refactoring-guru for one named structural refactor after the seam exists, and code-refactoring-tech-debt to choose which legacy to replace.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Flegacy-seams\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Flegacy-seams\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":20},"01M7E6QZ11XWSNHCBGYK8HH97C","idea-refine","Refine a raw idea into a one-page brief (problem statement, recommended direction, assumptions to validate, MVP scope, not-doing list) through divergent then convergent thinking. Use when an idea is still vague or you want options and a stress test before committing; use interview-me when the goal itself is unclear and spec-driven-development once the direction is chosen.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fidea-refine\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":20},"01M7E6N2N7BYW7BA5XGM0QD3B4","code-review-and-quality","Review rubric and approval standard for any change before merge, including code written by you, another agent, or a human: five axes (correctness, readability, architecture, security, performance), change sizing, structural remedies, severity labels, and feedback technique. Use to judge whether a change is fit to merge; use code-review to run a PR or diff review end to end.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fcode-review-and-quality\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":104,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":20},"01M7E6MNCZPTRD77Z419X755HQ","code-perfection","Smell and style gate for code you write or change. Bans known code smells (long method, large class, primitive obsession, long parameter list, data clumps, duplicate code, dead code, feature envy, shotgun surgery, flag arguments, message chains) and enforces behavior-preserving structure. On Scala files, enforces worxbend style. Use while implementing, reviewing a diff for smells, or when a smell or style violation is suspected. Routine construction stays with code-complete. SOLID and DRY stay with clean-code-guard. One named structural refactor stays with refactoring-guru.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fcode-perfection\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fcode-perfection\u002FSKILL.md",[],[]]