[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CNPZJPV543TJJ4JYKKCQYC":3,"skill-same:01M7CNPZJPV543TJJ4JYKKCQYC":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":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7CNPZJPV543TJJ4JYKKCQYC","security-guard",null,"Application security and defensive coding guardrails. Prevents hardcoded secrets, injection flaws, and OWASP vulnerabilities.","arbasyaa\u002Fmy-pi-setup","arbasyaa","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F233517565?v=4","01M7CNHFSZRYGVHAPH9HAD7YF0","Arbasya Anandito","01M7CNHFTN4QAT1R8NRS4XRYTP",3,"MIT","https:\u002F\u002Fgithub.com\u002Farbasyaa\u002Fmy-pi-setup\u002Fblob\u002Fmain\u002Fskills\u002Fsecurity-guard\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: security-guard\ndescription: \"Application security and defensive coding guardrails. Prevents hardcoded secrets, injection flaws, and OWASP vulnerabilities.\"\n---\n\n# Security & Defensive Coding Guardrails\n\n> Security is not an afterthought. AI coding agents often take shortcuts that leave critical vulnerabilities or leak secrets. Enforce these mandatory security gates across all code.\n\n---\n\n## 1. Zero Hardcoded Secrets (Non-Negotiable)\n- **NEVER** hardcode API keys, tokens, passwords, database credentials, JWT secrets, or private keys in source code.\n- Always load secrets via environment variables (`process.env`, `os.environ`, etc.) or secure vaults.\n- If a new environment variable is introduced, add it with a dummy placeholder to `.env.example` immediately.\n- Never commit `.env` or sensitive credential files. Verify `.gitignore` covers them.\n\n## 2. Injection Defense\n- **SQL \u002F NoSQL Injection:**\n  - Always use parameterized queries or ORM\u002Fquery builder bindings.\n  - **FORBIDDEN:** String concatenation or template literals in raw queries (e.g. `` `SELECT * FROM users WHERE id = ${id}` `` is strictly banned).\n- **Command Injection:**\n  - Never pass raw user inputs into shell execution functions (`exec()`, `system()`, `child_process.exec()`).\n  - Use structured array arguments with `execFile()` or `spawn()` with shell disabled (`shell: false`).\n- **Cross-Site Scripting (XSS):**\n  - Treat all user-supplied data as untrusted.\n  - Avoid raw HTML rendering (`dangerouslySetInnerHTML`, `v-html`, `innerHTML`) without verified, robust sanitization (e.g., DOMPurify).\n\n## 3. Boundary Input Validation & Type Safety\n- Validate all incoming data at the system boundary (API routes, webhooks, CLI arguments, file uploads) using schemas (Zod, Pydantic, TypeBox, Valibot, etc.).\n- Enforce strict size limits and MIME type checking on file uploads.\n- Never rely solely on frontend validation; backend validation is mandatory.\n\n## 4. Authentication & Authorization Guardrails\n- **IDOR Prevention:** Always verify that the authenticated user owns or has explicit permission to access\u002Fmodify the requested resource ID. Never trust client-supplied user IDs.\n- **Timing Attacks:** Use constant-time string comparisons (e.g., `crypto.timingSafeEqual`) when validating API tokens or signatures.\n- **Cookie Security:** Auth cookies must always have `HttpOnly; Secure; SameSite=Lax\u002FStrict`.\n- **No Wildcard CORS:** Never set `Access-Control-Allow-Origin: *` together with `Access-Control-Allow-Credentials: true`.\n","# Security & Defensive Coding Guardrails\n\n> Security is not an afterthought. AI coding agents often take shortcuts that leave critical vulnerabilities or leak secrets. Enforce these mandatory security gates across all code.\n\n---\n\n## 1. Zero Hardcoded Secrets (Non-Negotiable)\n- **NEVER** hardcode API keys, tokens, passwords, database credentials, JWT secrets, or private keys in source code.\n- Always load secrets via environment variables (`process.env`, `os.environ`, etc.) or secure vaults.\n- If a new environment variable is introduced, add it with a dummy placeholder to `.env.example` immediately.\n- Never commit `.env` or sensitive credential files. Verify `.gitignore` covers them.\n\n## 2. Injection Defense\n- **SQL \u002F NoSQL Injection:**\n  - Always use parameterized queries or ORM\u002Fquery builder bindings.\n  - **FORBIDDEN:** String concatenation or template literals in raw queries (e.g. `` `SELECT * FROM users WHERE id = ${id}` `` is strictly banned).\n- **Command Injection:**\n  - Never pass raw user inputs into shell execution functions (`exec()`, `system()`, `child_process.exec()`).\n  - Use structured array arguments with `execFile()` or `spawn()` with shell disabled (`shell: false`).\n- **Cross-Site Scripting (XSS):**\n  - Treat all user-supplied data as untrusted.\n  - Avoid raw HTML rendering (`dangerouslySetInnerHTML`, `v-html`, `innerHTML`) without verified, robust sanitization (e.g., DOMPurify).\n\n## 3. Boundary Input Validation & Type Safety\n- Validate all incoming data at the system boundary (API routes, webhooks, CLI arguments, file uploads) using schemas (Zod, Pydantic, TypeBox, Valibot, etc.).\n- Enforce strict size limits and MIME type checking on file uploads.\n- Never rely solely on frontend validation; backend validation is mandatory.\n\n## 4. Authentication & Authorization Guardrails\n- **IDOR Prevention:** Always verify that the authenticated user owns or has explicit permission to access\u002Fmodify the requested resource ID. Never trust client-supplied user IDs.\n- **Timing Attacks:** Use constant-time string comparisons (e.g., `crypto.timingSafeEqual`) when validating API tokens or signatures.\n- **Cookie Security:** Auth cookies must always have `HttpOnly; Secure; SameSite=Lax\u002FStrict`.\n- **No Wildcard CORS:** Never set `Access-Control-Allow-Origin: *` together with `Access-Control-Allow-Credentials: true`.\n",{"name":5,"description":7},"main","a77e29f9fe4e5a5ee9cc856535ba243064ce91eb","skills\u002Fsecurity-guard",0,"https:\u002F\u002Fgithub.com\u002Farbasyaa\u002Fmy-pi-setup","https:\u002F\u002Fgithub.com\u002Farbasyaa","Mahasiswa Teknik Informatika politeknik Negeri Cilacap","2026-10-29 12:35:34",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add arbasyaa\u002Fmy-pi-setup --skill security-guard",{"tool":38,"command":39},"bunx","bunx skills add arbasyaa\u002Fmy-pi-setup --skill security-guard",{"tool":41,"command":42},"pnpm","pnpm dlx skills add arbasyaa\u002Fmy-pi-setup --skill security-guard","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Farbasyaa\u002Fmy-pi-setup\u002Fblob\u002Fmain\u002Fskills\u002Fsecurity-guard\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},"01M7CNSESD7DRZ47PPA5Y59J8W","writing-shape","Writing, exploit: shape raw material into an article, paragraph by paragraph.","https:\u002F\u002Fgithub.com\u002Farbasyaa\u002Fmy-pi-setup\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-shape\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},"01M7CNSD0Y1KH71ZYSQY4ZP2PY","writing-fragments","Writing, explore: mine raw fragments, no structure yet.","https:\u002F\u002Fgithub.com\u002Farbasyaa\u002Fmy-pi-setup\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-fragments\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},"01M7CNSAWBPKXE2C0DBE0HE5YT","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Farbasyaa\u002Fmy-pi-setup\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\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},"01M7CNS93FZ4H60TYTNDVK0KH5","writing-beats","Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.","https:\u002F\u002Fgithub.com\u002Farbasyaa\u002Fmy-pi-setup\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-beats\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},"01M7CNS65S73NJ7GE8Y6YD4JEF","wizard","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","https:\u002F\u002Fgithub.com\u002Farbasyaa\u002Fmy-pi-setup\u002Fblob\u002Fmain\u002Fskills\u002Fwizard\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},"01M7CNS3XM180RKP39NMMXBET3","wayfinder","Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002Farbasyaa\u002Fmy-pi-setup\u002Fblob\u002Fmain\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[]]