[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7579DPP9BWFWF33ZS73M5Z8":3,"skill-same:01M7579DPP9BWFWF33ZS73M5Z8":77},{"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":34,"commitSha":35,"skillDirectory":36,"forksCount":14,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":6,"updatedAt":40,"install":41,"resources":54},"01M7579DPP9BWFWF33ZS73M5Z8","xdg-spec-compliance",null,"Audit and fix XDG Base Directory compliance in a repo (data\u002Fconfig\u002Fcache\u002Fstate paths, 0700 dirs, 0600 secrets, precedence). Use when the app resolves paths with `expanduser`\u002F`Path.home`, writes logs outside `$XDG_STATE_HOME`, or ships world-readable secrets.","rakaarwaky\u002Fagents-arwaky","rakaarwaky","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F245127434?v=4","01M7574QFJB21S6PPNCK78WX68","Raka Arwaky","01M7574QG54PRT44Q4KMQFXY6B",0,"MIT","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fxdg-spec-compliance\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: xdg-spec-compliance\ndescription: \"Audit and fix XDG Base Directory compliance in a repo (data\u002Fconfig\u002Fcache\u002Fstate paths, 0700 dirs, 0600 secrets, precedence). Use when the app resolves paths with `expanduser`\u002F`Path.home`, writes logs outside `$XDG_STATE_HOME`, or ships world-readable secrets.\"\nwhen-to-use: \"Use when auditing a repo's path resolution against the XDG Base Directory spec: relative\u002Ftilde rejection, precedence (shell env > XDG file > .env), dir and file permissions, and vendor subdirs.\"\nargument-hint: \"[\u003Crepo-root>]\"\nmetadata:\n  tags:\n    - linux\n    - xdg\n    - packaging\n    - security\n    - python\n    - bash\n---\n\n# XDG Base Directory Compliance\n\nAudit and fix a repo's path resolution against the XDG Base Directory spec: run the four-step audit order, check the seven rules projects break, and fix the installer, tests, and provisioner where each rule fails.\n\n## Global Rules\n\n- **Quote the spec, don't reason from memory.** The authoritative text is v0.8 at https:\u002F\u002Fspecifications.freedesktop.org\u002Fbasedir\u002Flatest\u002F — three rules are routinely guessed wrong; the rules reference is the single home.\n- **Reproduce before claiming.** Relative\u002Ftilde env values and mkdir umask inheritance are invisible to reading alone; the audit order reference ends in a repro step, and no claim rests on reading alone.\n- **Clean up probe junk.** Any file the repro dumps into the repo is removed before the run is done; `git status` must be clean at the end.\n\n## Routing\n\n| Step | Reference | Purpose |\n| ---- | --------- | ------- |\n| Audit order | [`references\u002Faudit-order.md`](references\u002Faudit-order.md) | The four cheapest-signal-first checks: path grep, LOG\u002Fstate location, write\u002Fread split, repro. |\n| The rules projects break | [`references\u002Frules.md`](references\u002Frules.md) | The seven spec rules: absolute-only, empty\u002Funset default, 0700 dirs, 0600 secrets, precedence, vendor subdir, `XDG_RUNTIME_DIR`. |\n| Bash installer | [`references\u002Fbash-installer.md`](references\u002Fbash-installer.md) | Installer rules: absoluteness helper, 0700 tree, venv install, entry points. |\n| Test it without touching the user's home | [`references\u002Ftesting-sandbox.md`](references\u002Ftesting-sandbox.md) | The import-time sandbox, the asserts, the fake-green guards, and the lazy log handler. |\n| Destructive provisioning | [`references\u002Fdestructive-provisioning.md`](references\u002Fdestructive-provisioning.md) | Stale-dir rename instead of `rmtree`, and the symlink exfiltration rule. |\n","# XDG Base Directory Compliance\n\nAudit and fix a repo's path resolution against the XDG Base Directory spec: run the four-step audit order, check the seven rules projects break, and fix the installer, tests, and provisioner where each rule fails.\n\n## Global Rules\n\n- **Quote the spec, don't reason from memory.** The authoritative text is v0.8 at https:\u002F\u002Fspecifications.freedesktop.org\u002Fbasedir\u002Flatest\u002F — three rules are routinely guessed wrong; the rules reference is the single home.\n- **Reproduce before claiming.** Relative\u002Ftilde env values and mkdir umask inheritance are invisible to reading alone; the audit order reference ends in a repro step, and no claim rests on reading alone.\n- **Clean up probe junk.** Any file the repro dumps into the repo is removed before the run is done; `git status` must be clean at the end.\n\n## Routing\n\n| Step | Reference | Purpose |\n| ---- | --------- | ------- |\n| Audit order | [`references\u002Faudit-order.md`](references\u002Faudit-order.md) | The four cheapest-signal-first checks: path grep, LOG\u002Fstate location, write\u002Fread split, repro. |\n| The rules projects break | [`references\u002Frules.md`](references\u002Frules.md) | The seven spec rules: absolute-only, empty\u002Funset default, 0700 dirs, 0600 secrets, precedence, vendor subdir, `XDG_RUNTIME_DIR`. |\n| Bash installer | [`references\u002Fbash-installer.md`](references\u002Fbash-installer.md) | Installer rules: absoluteness helper, 0700 tree, venv install, entry points. |\n| Test it without touching the user's home | [`references\u002Ftesting-sandbox.md`](references\u002Ftesting-sandbox.md) | The import-time sandbox, the asserts, the fake-green guards, and the lazy log handler. |\n| Destructive provisioning | [`references\u002Fdestructive-provisioning.md`](references\u002Fdestructive-provisioning.md) | Stale-dir rename instead of `rmtree`, and the symlink exfiltration rule. |\n",{"name":5,"metadata":24,"description":7,"when-to-use":32,"argument-hint":33},{"tags":25},[26,27,28,29,30,31],"linux","xdg","packaging","security","python","bash","Use when auditing a repo's path resolution against the XDG Base Directory spec: relative\u002Ftilde rejection, precedence (shell env > XDG file > .env), dir and file permissions, and vendor subdirs.","[\u003Crepo-root>]","main","e0708985ab2d620bc6e8fe741eaa4ec1960269e3","skills\u002Fdevops\u002Fxdg-spec-compliance","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky","https:\u002F\u002Fgithub.com\u002Frakaarwaky","https:\u002F\u002Fbuymeacoffee.com\u002Frakaarwaky","2026-11-15 04:28:37",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add rakaarwaky\u002Fagents-arwaky --skill xdg-spec-compliance",{"tool":47,"command":48},"bunx","bunx skills add rakaarwaky\u002Fagents-arwaky --skill xdg-spec-compliance",{"tool":50,"command":51},"pnpm","pnpm dlx skills add rakaarwaky\u002Fagents-arwaky --skill xdg-spec-compliance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fxdg-spec-compliance\u002FSKILL.md",true,[55,61,65,69,73],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Faudit-order.md","REFERENCE","参考文档",1472,"https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fxdg-spec-compliance\u002Freferences\u002Faudit-order.md",{"path":62,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fbash-installer.md",802,"https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fxdg-spec-compliance\u002Freferences\u002Fbash-installer.md",{"path":66,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fdestructive-provisioning.md",971,"https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fxdg-spec-compliance\u002Freferences\u002Fdestructive-provisioning.md",{"path":70,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Frules.md",1918,"https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fxdg-spec-compliance\u002Freferences\u002Frules.md",{"path":74,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Ftesting-sandbox.md",1381,"https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fdevops\u002Fxdg-spec-compliance\u002Freferences\u002Ftesting-sandbox.md",[78,86,93,100,107,114],{"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":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":85},"01M78SFXSH86CW16Z5FEXMSJXH","github-workflow","Umbrella for GitHub auth, repo management, issues, PRs, Mergify, and releases. Subsumes github-auth and repo-manager.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fgit\u002Fgithub-workflow\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"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":85},"01M78SF81R7NVSCXAT8YQ255HM","brave-automation","baa CLI: Brave profiles, Google sessions, credentials.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fbrave-automation\u002Fbrave-automation\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":85},"01M78SEY7TS908JM8KVPBM6HBN","aes","AES docs, layers, rule fixes, and legacy migration.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Farchitechture\u002Faes\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":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M757HBGFCMTJTQB45JQFXCC0","pretext","Build creative browser demos with DOM-free text layout.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fweb-design\u002Fpretext\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M757H8K38ETN8F4ANBBRWY4G","popular-web-designs","54 real design systems (Stripe, Linear, Vercel) as HTML\u002FCSS.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fweb-design\u002Fpopular-web-designs\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M757H5DM7QPN9H391572NH5B","p5js","p5.js sketches: gen art, shaders, interactive, 3D.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fweb-design\u002Fp5js\u002FSKILL.md",[],[]]