[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BT5V4YZWX1YRMJEB98VK45":3,"skill-same:01M6BT5V4YZWX1YRMJEB98VK45":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":17,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M6BT5V4YZWX1YRMJEB98VK45","add-theme","dotfiles 主题包添加","Add a theme pack or match a wallpaper to an existing theme in the dotfiles theme system (bin\u002Ftheme). Use when the user pastes a theme repo URL or image, says \"add this theme\", \"new theme pack\", or wants another entry for theme next to cycle.","在 dotfiles 主题系统（bin\u002Ftheme）中添加主题包，或让壁纸与现有主题相匹配。当用户粘贴主题仓库 URL 或图片、说“add this theme”“new theme pack”，或希望在 theme next to cycle 中增加一个条目时使用。","nicknisi\u002Fdotfiles","nicknisi","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F293805?v=4","01M6BT5NF4B0Y276T2BEDQN2A0","Nick Nisi","01M6BT5NKR88AVZ1VWD1MGV87N",3004,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fnicknisi\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002F.pi\u002Fagent\u002Fskills\u002Fadd-theme\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"theme","add","add theme","new","pack","user","match","entry","next","URL","when","Existing","use","system","cycle","repo","for","theme system","image","dotfiles","2026-11-10 10:12:30",false,"---\nname: add-theme\ndescription: Add a theme pack or match a wallpaper to an existing theme in the dotfiles theme system (bin\u002Ftheme). Use when the user pastes a theme repo URL or image, says \"add this theme\", \"new theme pack\", or wants another entry for theme next to cycle.\n---\n\n# Add a theme pack\n\nOne command themes everything: `bin\u002Ftheme \u003Cname>` renders the pack into\n`~\u002F.local\u002Fstate\u002Ftheme\u002Fcurrent\u002Ftheme\u002F` and nudges every consumer. A pack is\n`themes\u002F\u003Cname>\u002F` and needs only:\n\n- `colors.toml` — the contract. Either style:\n  semantic (`mode`, `accent`, `background`, `foreground`, `muted`, `red`,\n  `bright_red`, `dark_background`, ...) or ANSI (`accent`, `background`,\n  `foreground`, `color0`-`color15`). `bin\u002Ftheme-color -f colors.toml --all`\n  shows the full set after aliasing and derivation; anything missing is\n  mixed from what is there.\n- `backgrounds\u002F` — images. `theme \u003Cname> [N]` picks the Nth (sorted by\n  name), `theme bg next` cycles. Name them `\u003Cindex>-\u003Cdescription>.\u003Cext>`;\n  the fzf picker previews the filename.\n- `theme.conf` — `TAGLINE=\"one line of whimsy\"` (printed on switch, shown\n  in the tmux cheat sheet). Optional but every pack has one.\n- `icons.theme` — optional, a GTK icon theme name (Yaru-* is common);\n  applied on Linux only if that icon set is installed.\n\nEvery app file (ghostty, kitty, wezterm, tmux, nvim, btop, starship, pi,\nclaude, hyprland borders, hyprlock, wofi, slack) is\nrendered from `themes\u002Ftemplates\u002F*.tpl`. A pack may ship a file under the\nsame name to hand-tune one app (`hyprland.lua` for a gradient border,\n`btop.theme`, ...); it wins over the template. Do NOT hand-author the rest.\n\nWork directly in the repo (subagent worktrees don't see uncommitted\ntheme files and have flipped the user's live theme by running theme from\nthe wrong tree — do NOT run theme for validation until told, and never\nfrom a worktree).\n\n## Sources\n\n- **An existing theme repo** (any `themes\u002F\u003Cname>\u002F` laid out as above):\n  copy `colors.toml`, `backgrounds\u002F`,\n  `icons.theme`. Skip `neovim.lua`, `vscode.json`, `preview*.png`,\n  `unlock.png`, `shell*.toml`, `keyboard.rgb`, `chromium.theme`. Keep a\n  shipped `btop.theme`; keep a shipped `hyprland.lua` only if it is plain\n  `hl.config` (the `o.window(...)` helper style some repos use does not\n  exist here). An\n  older theme with only `alacritty.toml` and no `colors.toml`: transcribe\n  its `[colors.*]` into ANSI-style `colors.toml`.\n- **Just a wallpaper**: first run `bin\u002Ftheme adopt \u003Cimage>`. It compares the\n  extracted palette with every existing pack and, when the closest score is\n  60 or lower, copies the image into that pack's `backgrounds\u002F` with the next\n  numeric prefix. A weaker match changes nothing and prints the three closest\n  packs. Then use `bin\u002Ftheme from-image \u003Cname> \u003Cimage>` to create a new pack;\n  it writes `colors.toml` + `backgrounds\u002F` + an empty `theme.conf`. Both\n  commands use heuristic hue mapping, so eyeball the result.\n\nThen write `theme.conf` with a TAGLINE in the house style (see\n`themes\u002F*\u002Ftheme.conf`: short, lower-case, a little wry).\n\n## Validate (no theme run)\n\n```\nbin\u002Ftheme-color -f themes\u002F\u003Cname>\u002Fcolors.toml --all        # no error, sane mode\nbin\u002Ftheme-color -f themes\u002F\u003Cname>\u002Fcolors.toml --name \u003Cname> --render \u002Ftmp\u002Fx themes\u002Ftemplates\u002F*.tpl\njq empty \u002Ftmp\u002Fx\u002F*.json; bash -n \u002Ftmp\u002Fx\u002F*.sh\nghostty +validate-config --config-file=\u002Ftmp\u002Fx\u002Fghostty.conf\n```\nA rendered file containing `{{` means a template names a key the resolver\ndoes not produce; fix the template, not the pack.\n\n## Hand verification to the user or ask before switching\n\n`theme \u003Cname> [N]`, then: `tmux show-option -gqv @thm_pink` == accent;\n`cat ~\u002F.local\u002Fstate\u002Ftheme\u002Fcurrent\u002Fmode`; `jq -r .theme ~\u002F.claude\u002Fsettings.json`\n== `custom:\u003Cname>`. Linux: `hyprctl getoption general:col.active_border`,\n`gsettings get org.gnome.desktop.interface color-scheme`. macOS:\nwallpaper after a few seconds. Pi applies on next launch.\n\n## Commit on the active theme branch and push.\n\n## Removing a theme\n\n`git rm -r themes\u002F\u003Cname>\u002F`, then `theme \u003Cother>`. The rendered\n`~\u002F.pi\u002Fagent\u002Fthemes\u002F\u003Cname>.json` and `~\u002F.claude\u002Fthemes\u002F\u003Cname>.json` can go\ntoo.\n","# Add a theme pack\n\nOne command themes everything: `bin\u002Ftheme \u003Cname>` renders the pack into\n`~\u002F.local\u002Fstate\u002Ftheme\u002Fcurrent\u002Ftheme\u002F` and nudges every consumer. A pack is\n`themes\u002F\u003Cname>\u002F` and needs only:\n\n- `colors.toml` — the contract. Either style:\n  semantic (`mode`, `accent`, `background`, `foreground`, `muted`, `red`,\n  `bright_red`, `dark_background`, ...) or ANSI (`accent`, `background`,\n  `foreground`, `color0`-`color15`). `bin\u002Ftheme-color -f colors.toml --all`\n  shows the full set after aliasing and derivation; anything missing is\n  mixed from what is there.\n- `backgrounds\u002F` — images. `theme \u003Cname> [N]` picks the Nth (sorted by\n  name), `theme bg next` cycles. Name them `\u003Cindex>-\u003Cdescription>.\u003Cext>`;\n  the fzf picker previews the filename.\n- `theme.conf` — `TAGLINE=\"one line of whimsy\"` (printed on switch, shown\n  in the tmux cheat sheet). Optional but every pack has one.\n- `icons.theme` — optional, a GTK icon theme name (Yaru-* is common);\n  applied on Linux only if that icon set is installed.\n\nEvery app file (ghostty, kitty, wezterm, tmux, nvim, btop, starship, pi,\nclaude, hyprland borders, hyprlock, wofi, slack) is\nrendered from `themes\u002Ftemplates\u002F*.tpl`. A pack may ship a file under the\nsame name to hand-tune one app (`hyprland.lua` for a gradient border,\n`btop.theme`, ...); it wins over the template. Do NOT hand-author the rest.\n\nWork directly in the repo (subagent worktrees don't see uncommitted\ntheme files and have flipped the user's live theme by running theme from\nthe wrong tree — do NOT run theme for validation until told, and never\nfrom a worktree).\n\n## Sources\n\n- **An existing theme repo** (any `themes\u002F\u003Cname>\u002F` laid out as above):\n  copy `colors.toml`, `backgrounds\u002F`,\n  `icons.theme`. Skip `neovim.lua`, `vscode.json`, `preview*.png`,\n  `unlock.png`, `shell*.toml`, `keyboard.rgb`, `chromium.theme`. Keep a\n  shipped `btop.theme`; keep a shipped `hyprland.lua` only if it is plain\n  `hl.config` (the `o.window(...)` helper style some repos use does not\n  exist here). An\n  older theme with only `alacritty.toml` and no `colors.toml`: transcribe\n  its `[colors.*]` into ANSI-style `colors.toml`.\n- **Just a wallpaper**: first run `bin\u002Ftheme adopt \u003Cimage>`. It compares the\n  extracted palette with every existing pack and, when the closest score is\n  60 or lower, copies the image into that pack's `backgrounds\u002F` with the next\n  numeric prefix. A weaker match changes nothing and prints the three closest\n  packs. Then use `bin\u002Ftheme from-image \u003Cname> \u003Cimage>` to create a new pack;\n  it writes `colors.toml` + `backgrounds\u002F` + an empty `theme.conf`. Both\n  commands use heuristic hue mapping, so eyeball the result.\n\nThen write `theme.conf` with a TAGLINE in the house style (see\n`themes\u002F*\u002Ftheme.conf`: short, lower-case, a little wry).\n\n## Validate (no theme run)\n\n```\nbin\u002Ftheme-color -f themes\u002F\u003Cname>\u002Fcolors.toml --all        # no error, sane mode\nbin\u002Ftheme-color -f themes\u002F\u003Cname>\u002Fcolors.toml --name \u003Cname> --render \u002Ftmp\u002Fx themes\u002Ftemplates\u002F*.tpl\njq empty \u002Ftmp\u002Fx\u002F*.json; bash -n \u002Ftmp\u002Fx\u002F*.sh\nghostty +validate-config --config-file=\u002Ftmp\u002Fx\u002Fghostty.conf\n```\nA rendered file containing `{{` means a template names a key the resolver\ndoes not produce; fix the template, not the pack.\n\n## Hand verification to the user or ask before switching\n\n`theme \u003Cname> [N]`, then: `tmux show-option -gqv @thm_pink` == accent;\n`cat ~\u002F.local\u002Fstate\u002Ftheme\u002Fcurrent\u002Fmode`; `jq -r .theme ~\u002F.claude\u002Fsettings.json`\n== `custom:\u003Cname>`. Linux: `hyprctl getoption general:col.active_border`,\n`gsettings get org.gnome.desktop.interface color-scheme`. macOS:\nwallpaper after a few seconds. Pi applies on next launch.\n\n## Commit on the active theme branch and push.\n\n## Removing a theme\n\n`git rm -r themes\u002F\u003Cname>\u002F`, then `theme \u003Cother>`. The rendered\n`~\u002F.pi\u002Fagent\u002Fthemes\u002F\u003Cname>.json` and `~\u002F.claude\u002Fthemes\u002F\u003Cname>.json` can go\ntoo.\n",{"name":5,"description":7},"main","1d609e058a2d8ee1a70227a281fe89984b60d6d8","home\u002F.pi\u002Fagent\u002Fskills\u002Fadd-theme",371,"https:\u002F\u002Fgithub.com\u002Fnicknisi\u002Fdotfiles","https:\u002F\u002Fgithub.com\u002Fnicknisi","https:\u002F\u002Fnicknisi.com","Developer and Agent Experiences at @WorkOS","2026-11-14 03:07:16",{"source":9,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add nicknisi\u002Fdotfiles --skill add-theme",{"tool":71,"command":72},"bunx","bunx skills add nicknisi\u002Fdotfiles --skill add-theme",{"tool":74,"command":75},"pnpm","pnpm dlx skills add nicknisi\u002Fdotfiles --skill add-theme","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnicknisi\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002F.pi\u002Fagent\u002Fskills\u002Fadd-theme\u002FSKILL.md",true,[],[80],{"skillNo":81,"name":82,"nameZh":83,"description":84,"descriptionZh":85,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":86,"categories":87,"keywords":94,"publishedAt":51},"01M6BT5R6279G47X0QPMEZDPY6","source-drafting","源材料文档起草","Use when drafting documents, reports, posts, presentations, or review comments from source materials, or conducting research across provided documents. Enforces read-first drafting, a source map for every claim, agent verification, and separation of verified from unverified claims.","当基于源材料起草文档、报告、帖子、演示文稿或审阅意见，或对所提供的文档开展研究时使用。强制执行先读后写、为每项论断建立来源映射、进行智能体核验，并将已验证论断与未验证论断区分开。","https:\u002F\u002Fgithub.com\u002Fnicknisi\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002F.claude\u002Fskills\u002Fsource-drafting\u002FSKILL.md",[88,91],{"categoryNo":89,"categoryName":90,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TK1MPB82068236GSXDE","文档处理",{"categoryNo":92,"categoryName":93,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TRAEZFJ43R95HPEBJYG","知识工作者",[95,96,97,98,41,99,100,47,101,102,103,104,105,106,107,43,108,109,110,111,112],"drafting","source","source drafting","map","source map","materials","claims","posts","comments","across","review","claim","reports","first","verification","presentations","documents","research"]