[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DEQZPVYVQC05A38SN4J7CZ":3,"skill-same:01M7DEQZPVYVQC05A38SN4J7CZ":46},{"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":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7DEQZPVYVQC05A38SN4J7CZ","dotslash",null,"Use when adding, updating, or troubleshooting DotSlash binaries in bin\u002F — covers file creation, Rakefile integration, and the dotslash CLI helpers","kejadlen\u002Fdotfiles","kejadlen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8639?v=4","01M7DEPV4SN2WBW50SBF2KG7D1","Alpha Chen","01M7DEPV5FBX0YWCBKEVHKT8E2",10,"MIT","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fdotslash\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: dotslash\ndescription: Use when adding, updating, or troubleshooting DotSlash binaries in bin\u002F — covers file creation, Rakefile integration, and the dotslash CLI helpers\n---\n\n# DotSlash Binaries\n\nThis repo uses [DotSlash](https:\u002F\u002Fdotslash-cli.com) to manage binaries in `bin\u002F`. DotSlash files are lightweight JSON wrappers that lazily fetch, verify, cache, and run executables. Each file covers `macos-aarch64`, `linux-aarch64`, and `linux-x86_64`, minus any platform upstream doesn't publish. Run `dotslash --help` for the full CLI; `create-url-entry` is the only subcommand these workflows use.\n\n## Adding a new DotSlash binary\n\nThe `update_dotslash_release` helper in `Rakefile` generates the file for you — you rarely hand-write the JSON.\n\n### 1. Add a Rake task\n\nIn the `dotslash` namespace, add a task that calls the helper, then list `\u003Cname>` in the `all` task. The helper resolves the latest tag with `gh release view`, runs `create-url-entry`, and writes `bin\u002F\u003Cname>`:\n\n```ruby\ndesc \"Update jj\"\ntask(:jj) do\n  update_dotslash_release(name: \"jj\", repo: \"jj-vcs\u002Fjj\") do |tag|\n    {\n      \"macos-aarch64\" => \"jj-#{tag}-aarch64-apple-darwin.tar.gz\",\n      \"linux-aarch64\" => \"jj-#{tag}-aarch64-unknown-linux-musl.tar.gz\",\n      \"linux-x86_64\" => \"jj-#{tag}-x86_64-unknown-linux-musl.tar.gz\",\n    }\n  end\nend\n```\n\nThe block receives the resolved tag and returns a hash of DotSlash platform to asset filename. Ignore the tag when the names are fixed, or interpolate it (as above). Leave out a platform upstream doesn't publish. On Linux, prefer a `musl` asset over `gnu` when both exist, since it's statically linked and runs regardless of the host's glibc.\n\nPass `path:` when the executable sits inside an archive subdirectory; it defaults to `name`, which is correct when the archive holds a single file at its root. When the subdirectory varies by platform or version (e.g. `cq-0.11.0-aarch64-apple-darwin\u002Fcq`), pass `path:` a proc — it receives each asset filename, so the generated `path` stays correct across platforms and release bumps:\n\n```ruby\npath: ->(asset) { \"#{asset.delete_suffix(\".tar.gz\")}\u002Fcq\" }\n```\n\n### 2. Generate and verify\n\n```bash\nrake dotslash:\u003Cname>\nchmod +x bin\u002F\u003Cname>\nbin\u002F\u003Cname> --help   # or whatever smoke test is appropriate\n```\n\n### Hand-writing the file (fallback)\n\nPrefer extending `update_dotslash_release` over hand-writing JSON. Reserve hand-writing for cases the helper can't reach — a non-GitHub host, an unusual URL scheme, or a repo with no Rakefile to hold the helper (`Gusto\u002Fclaude-code` ships DotSlash launchers inside plugins and has none):\n\n1. Find the asset with `gh release view --repo owner\u002Frepo --json tagName,assets` and pick the asset for each platform (e.g. `darwin-arm64`, `linux-arm64`, `linux-amd64`).\n2. Run `dotslash -- create-url-entry URL`. It computes size and hash and infers `format` from the URL suffix; you fill in `path`.\n   On a private repo it can't do this — it fetches the URL with no auth and gets a 404. Download the asset instead (`gh release download \u003Ctag> --repo owner\u002Frepo --pattern '\u003Casset>'`), then take `size` from `ls -l` and `digest` from `shasum -a 256`, and set `\"hash\": \"sha256\"` to match.\n3. Determine `path`: for a bare binary, the filename to save as (e.g. `\"jq\"`, omit `format`); for an archive, the executable's relative path inside it (list contents with `curl -sL URL | tar tzf -`, or `tar tzf \u003Cfile>` on the copy you downloaded above).\n4. Write `bin\u002F\u003Cname>` with the structure below, then `chmod +x`:\n\n```\n#!\u002Fusr\u002Fbin\u002Fenv dotslash\n\n{\n  \"name\": \"\u003Cname>\",\n  \"platforms\": {\n    \"macos-aarch64\": {\n      \"size\": \u003Csize>,\n      \"hash\": \"blake3\",\n      \"digest\": \"\u003Cdigest>\",\n      \"format\": \"\u003Cformat>\",          \u002F\u002F omit for bare binaries\n      \"path\": \"\u003Cpath>\",\n      \"providers\": [\n        {\n          \"url\": \"\u003Curl>\"\n        },\n        {\n          \"type\": \"github-release\",\n          \"repo\": \"https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo\",\n          \"tag\": \"\u003Ctag>\",\n          \"name\": \"\u003Casset-filename>\"\n        }\n      ]\n    },\n    \"linux-aarch64\": { ... },\n    \"linux-x86_64\": { ... }\n  }\n}\n```\n\nInclude both an HTTP provider (direct URL, tried first) and a GitHub Release provider (uses `gh` CLI, works with private repos). On a private repo, omit the HTTP provider — `releases\u002Fdownload\u002F...` needs auth the bare `url` provider never sends, so it is a dead entry that masks the real error when the fallback breaks.\n\n## Updating existing binaries\n\nRun:\n\n```bash\nrake dotslash:all       # every binary\nrake dotslash:\u003Cname>    # a single binary\n```\n\n## Key details\n\n- Use `blake3` (preferred) or `sha256` for the hash. The `create-url-entry` helper defaults to blake3.\n- The `format` field must be a recognized value: `tar.gz`, `tar.zst`, `tar.xz`, `tar.bz2`, `tar`, `zip`, `gz`, `zst`, `xz`, `bz2`. `tgz` is not valid; use `tar.gz`.\n- The `path` must be a normalized relative UNIX path: no leading `.\u002F`, no `..`, no trailing `\u002F`, no backslashes.\n- Release tags containing `+` (e.g. `v2026-07-01+564c15b`) work unescaped in the provider URL — GitHub's download endpoint accepts them raw.\n","# DotSlash Binaries\n\nThis repo uses [DotSlash](https:\u002F\u002Fdotslash-cli.com) to manage binaries in `bin\u002F`. DotSlash files are lightweight JSON wrappers that lazily fetch, verify, cache, and run executables. Each file covers `macos-aarch64`, `linux-aarch64`, and `linux-x86_64`, minus any platform upstream doesn't publish. Run `dotslash --help` for the full CLI; `create-url-entry` is the only subcommand these workflows use.\n\n## Adding a new DotSlash binary\n\nThe `update_dotslash_release` helper in `Rakefile` generates the file for you — you rarely hand-write the JSON.\n\n### 1. Add a Rake task\n\nIn the `dotslash` namespace, add a task that calls the helper, then list `\u003Cname>` in the `all` task. The helper resolves the latest tag with `gh release view`, runs `create-url-entry`, and writes `bin\u002F\u003Cname>`:\n\n```ruby\ndesc \"Update jj\"\ntask(:jj) do\n  update_dotslash_release(name: \"jj\", repo: \"jj-vcs\u002Fjj\") do |tag|\n    {\n      \"macos-aarch64\" => \"jj-#{tag}-aarch64-apple-darwin.tar.gz\",\n      \"linux-aarch64\" => \"jj-#{tag}-aarch64-unknown-linux-musl.tar.gz\",\n      \"linux-x86_64\" => \"jj-#{tag}-x86_64-unknown-linux-musl.tar.gz\",\n    }\n  end\nend\n```\n\nThe block receives the resolved tag and returns a hash of DotSlash platform to asset filename. Ignore the tag when the names are fixed, or interpolate it (as above). Leave out a platform upstream doesn't publish. On Linux, prefer a `musl` asset over `gnu` when both exist, since it's statically linked and runs regardless of the host's glibc.\n\nPass `path:` when the executable sits inside an archive subdirectory; it defaults to `name`, which is correct when the archive holds a single file at its root. When the subdirectory varies by platform or version (e.g. `cq-0.11.0-aarch64-apple-darwin\u002Fcq`), pass `path:` a proc — it receives each asset filename, so the generated `path` stays correct across platforms and release bumps:\n\n```ruby\npath: ->(asset) { \"#{asset.delete_suffix(\".tar.gz\")}\u002Fcq\" }\n```\n\n### 2. Generate and verify\n\n```bash\nrake dotslash:\u003Cname>\nchmod +x bin\u002F\u003Cname>\nbin\u002F\u003Cname> --help   # or whatever smoke test is appropriate\n```\n\n### Hand-writing the file (fallback)\n\nPrefer extending `update_dotslash_release` over hand-writing JSON. Reserve hand-writing for cases the helper can't reach — a non-GitHub host, an unusual URL scheme, or a repo with no Rakefile to hold the helper (`Gusto\u002Fclaude-code` ships DotSlash launchers inside plugins and has none):\n\n1. Find the asset with `gh release view --repo owner\u002Frepo --json tagName,assets` and pick the asset for each platform (e.g. `darwin-arm64`, `linux-arm64`, `linux-amd64`).\n2. Run `dotslash -- create-url-entry URL`. It computes size and hash and infers `format` from the URL suffix; you fill in `path`.\n   On a private repo it can't do this — it fetches the URL with no auth and gets a 404. Download the asset instead (`gh release download \u003Ctag> --repo owner\u002Frepo --pattern '\u003Casset>'`), then take `size` from `ls -l` and `digest` from `shasum -a 256`, and set `\"hash\": \"sha256\"` to match.\n3. Determine `path`: for a bare binary, the filename to save as (e.g. `\"jq\"`, omit `format`); for an archive, the executable's relative path inside it (list contents with `curl -sL URL | tar tzf -`, or `tar tzf \u003Cfile>` on the copy you downloaded above).\n4. Write `bin\u002F\u003Cname>` with the structure below, then `chmod +x`:\n\n```\n#!\u002Fusr\u002Fbin\u002Fenv dotslash\n\n{\n  \"name\": \"\u003Cname>\",\n  \"platforms\": {\n    \"macos-aarch64\": {\n      \"size\": \u003Csize>,\n      \"hash\": \"blake3\",\n      \"digest\": \"\u003Cdigest>\",\n      \"format\": \"\u003Cformat>\",          \u002F\u002F omit for bare binaries\n      \"path\": \"\u003Cpath>\",\n      \"providers\": [\n        {\n          \"url\": \"\u003Curl>\"\n        },\n        {\n          \"type\": \"github-release\",\n          \"repo\": \"https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo\",\n          \"tag\": \"\u003Ctag>\",\n          \"name\": \"\u003Casset-filename>\"\n        }\n      ]\n    },\n    \"linux-aarch64\": { ... },\n    \"linux-x86_64\": { ... }\n  }\n}\n```\n\nInclude both an HTTP provider (direct URL, tried first) and a GitHub Release provider (uses `gh` CLI, works with private repos). On a private repo, omit the HTTP provider — `releases\u002Fdownload\u002F...` needs auth the bare `url` provider never sends, so it is a dead entry that masks the real error when the fallback breaks.\n\n## Updating existing binaries\n\nRun:\n\n```bash\nrake dotslash:all       # every binary\nrake dotslash:\u003Cname>    # a single binary\n```\n\n## Key details\n\n- Use `blake3` (preferred) or `sha256` for the hash. The `create-url-entry` helper defaults to blake3.\n- The `format` field must be a recognized value: `tar.gz`, `tar.zst`, `tar.xz`, `tar.bz2`, `tar`, `zip`, `gz`, `zst`, `xz`, `bz2`. `tgz` is not valid; use `tar.gz`.\n- The `path` must be a normalized relative UNIX path: no leading `.\u002F`, no `..`, no trailing `\u002F`, no backslashes.\n- Release tags containing `+` (e.g. `v2026-07-01+564c15b`) work unescaped in the provider URL — GitHub's download endpoint accepts them raw.\n",{"name":5,"description":7},"main","54400d2fb3ebb925baf35311c647aaa31e7a5222","ai\u002Fskills\u002Fdotslash",0,"https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles","https:\u002F\u002Fgithub.com\u002Fkejadlen","https:\u002F\u002Fkejadlen.dev","2026-11-14 03:39:37",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add kejadlen\u002Fdotfiles --skill dotslash",{"tool":38,"command":39},"bunx","bunx skills add kejadlen\u002Fdotfiles --skill dotslash",{"tool":41,"command":42},"pnpm","pnpm dlx skills add kejadlen\u002Fdotfiles --skill dotslash","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fdotslash\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7DEVM19CB8GSCZV56PHA594","zoekt","Use when searching code across repositories — prefer zoekt over grep\u002Fripgrep for indexed code search. Covers indexing repos, search syntax, and query patterns.","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fzoekt\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7DEVF10JKR56RSX30PZ8BNH","writing-for-accessibility","Use when writing documentation, alt text, diagrams, or any content that should be accessible to people with disabilities. Covers alt text, color contrast, inclusive language, and accessible visuals. Also use when reviewing documents for accessibility.","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fwriting-for-accessibility\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7DEVA0Q63VMQWG32VN18XYB","writing-error-messages","Use when writing, reviewing, or improving error messages in code, CLI tools, APIs, or UIs. Covers identifying the cause, explaining the fix, and setting the right tone. Also use when error messages are vague, unactionable, or confusing.","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fwriting-error-messages\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7DEV6GGF2H3FW3YCPWXRRT6","working-in-the-open","Use when making design decisions during implementation — routes rationale to the right venue (commits, task comments, code comments, or documentation) based on how durable the context needs to be","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fworking-in-the-open\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7DEV2XTM37B9S0QV8X9SNSW","web-standards","Use when writing or reviewing HTML, CSS, or browser JavaScript — covers semantic markup, native platform features over libraries, Baseline browser support, accessibility and APCA contrast, and optional validation with vnu, axe, and Lighthouse","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fweb-standards\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7DETYVQNPNGXC094DT0PTDF","web-design","Use when designing or building web UI, frontends, or styling — covers personal web design preferences, fluid layout, and Alpine.js","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fweb-design\u002FSKILL.md",[],[]]