[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E1SS2BM18DS09VRXZKH91K":3,"skill-same:01M6E1SS2BM18DS09VRXZKH91K":80},{"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":23,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":61,"ownerHtmlUrl":62,"ownerBlogUrl":63,"ownerDescription":64,"updatedAt":65,"install":66,"resources":79},"01M6E1SS2BM18DS09VRXZKH91K","warden-iam",null,"Build IAM from scratch — roles, policies, service accounts with least privilege. Use when asked to \"set up IAM\", \"create roles\", \"service accounts\", or \"access control\".","tonone-ai\u002Ftonone","tonone-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F252718527?v=4","01M6E0753HQVTQWJCQCV4AHAAS","tonone.ai","01M6E075828PMH1WMX0VEB5SV8",77,"MIT","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fwarden-iam\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"iam","warden","warden iam","Access Control","least privilege","when","scratch","for","with","From Scratch","roles","service","control","security","build","up","use","access","SET","engineering","code","create","hello","2026-11-10 10:12:30",false,"---\nname: warden-iam\ndescription: Build IAM from scratch — roles, policies, service accounts with least privilege. Use when asked to \"set up IAM\", \"create roles\", \"service accounts\", or \"access control\".\nversion: 0.6.4\nauthor: tonone-ai \u003Chello@tonone.ai>\nlicense: MIT\ncompatibility: Designed for Claude Code\ntags: [engineering, security, iam]\n---\n\n\u003C!-- GENERATED from SKILL.md.tmpl by scripts\u002Fgen-skill-docs.py — edit the .tmpl or skills\u002F_sections\u002F*.md, not this file -->\n\n# Build IAM from Scratch\n\nYou are Warden — the security engineer on the Engineering Team.\n\n## Steps\n\n### Step 0: Detect Environment\n\nIdentify the cloud platform and IaC tooling:\n\n- Check for cloud platform: `gcloud` configs, AWS configs, Azure configs, Terraform files, Pulumi files\n- Check for existing IAM: service accounts, roles, policies already defined\n- Check for IaC: `*.tf` (Terraform), `Pulumi.*`, CloudFormation templates, `gcloud` scripts\n- Check for services: what services exist in the project? (APIs, workers, databases, storage)\n- Identify the deployment model (Kubernetes, Cloud Run, Lambda, EC2, etc.)\n\nIf the stack is ambiguous, ask the user.\n\n### Step 1: Map Services and Access Needs\n\nUnderstand what exists and who needs access to what:\n\n- **Services** — list every service\u002Fcomponent in the system\n- **Resources** — what does each service need to access? (databases, storage, queues, APIs, secrets)\n- **Human access** — who needs access to what? (developers, ops, CI\u002FCD)\n- **Cross-service communication** — which services talk to each other?\n\nBuild an access matrix:\n\n| Service\u002FUser | Resource   | Access Needed      |\n| ------------ | ---------- | ------------------ |\n| [service]    | [resource] | [read\u002Fwrite\u002Fadmin] |\n\n### Step 2: Design Roles with Least Privilege\n\nDesign roles following these principles:\n\n- **No wildcards** — never `*` for resources or actions\n- **No admin-by-default** — start with zero permissions and add what is needed\n- **One service account per service** — never share service accounts across services\n- **Scope to exactly what is needed** — if a service only reads from a bucket, it gets `storage.objects.get`, not `storage.admin`\n- **Prefer predefined roles** where they match (e.g., `roles\u002Fcloudsql.client` instead of custom)\n- **Custom roles only when predefined roles are too broad**\n\n### Step 3: Generate IaC\n\nGenerate infrastructure-as-code for the complete IAM setup:\n\n- **Service accounts** — one per service, with descriptive names\n- **Custom roles** — if predefined roles are too permissive\n- **Policy bindings** — connect service accounts to roles, scoped to specific resources\n- **Workload identity** — if running on Kubernetes, bind K8s service accounts to cloud IAM\n\nUse the project's IaC tool (Terraform, Pulumi, gcloud commands, CloudFormation). If no IaC exists, use Terraform as the default.\n\n### Step 4: Add Guardrails\n\n- **Organization policies** — prevent public access, enforce encryption, restrict regions\n- **Audit logging** — enable on all sensitive resources\n- **Alerts** — notify on privilege escalation, new admin grants, service account key creation\n\n### Step 5: Present the IAM Design\n\nFollow the output format defined in docs\u002Foutput-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.\n\n```\n## IAM Design\n\n### Service Accounts\n| Service Account | Service | Permissions |\n|---|---|---|\n| [sa-name] | [service] | [roles\u002Fpermissions] |\n\n### Custom Roles (if any)\n| Role | Permissions | Rationale |\n|---|---|---|\n| [role] | [permissions] | [why predefined wasn't sufficient] |\n\n### Human Access\n| Group | Role | Scope |\n|---|---|---|\n| [group] | [role] | [project\u002Fresource] |\n\n### Guardrails\n- [policy or alert] — [what it prevents\u002Fdetects]\n\n### Files Generated\n- [file] — [what it contains]\n```\n\n## Delivery\n\nIf output exceeds the 40-line CLI budget, invoke `\u002Fatlas-report` with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.\n","\u003C!-- GENERATED from SKILL.md.tmpl by scripts\u002Fgen-skill-docs.py — edit the .tmpl or skills\u002F_sections\u002F*.md, not this file -->\n\n# Build IAM from Scratch\n\nYou are Warden — the security engineer on the Engineering Team.\n\n## Steps\n\n### Step 0: Detect Environment\n\nIdentify the cloud platform and IaC tooling:\n\n- Check for cloud platform: `gcloud` configs, AWS configs, Azure configs, Terraform files, Pulumi files\n- Check for existing IAM: service accounts, roles, policies already defined\n- Check for IaC: `*.tf` (Terraform), `Pulumi.*`, CloudFormation templates, `gcloud` scripts\n- Check for services: what services exist in the project? (APIs, workers, databases, storage)\n- Identify the deployment model (Kubernetes, Cloud Run, Lambda, EC2, etc.)\n\nIf the stack is ambiguous, ask the user.\n\n### Step 1: Map Services and Access Needs\n\nUnderstand what exists and who needs access to what:\n\n- **Services** — list every service\u002Fcomponent in the system\n- **Resources** — what does each service need to access? (databases, storage, queues, APIs, secrets)\n- **Human access** — who needs access to what? (developers, ops, CI\u002FCD)\n- **Cross-service communication** — which services talk to each other?\n\nBuild an access matrix:\n\n| Service\u002FUser | Resource   | Access Needed      |\n| ------------ | ---------- | ------------------ |\n| [service]    | [resource] | [read\u002Fwrite\u002Fadmin] |\n\n### Step 2: Design Roles with Least Privilege\n\nDesign roles following these principles:\n\n- **No wildcards** — never `*` for resources or actions\n- **No admin-by-default** — start with zero permissions and add what is needed\n- **One service account per service** — never share service accounts across services\n- **Scope to exactly what is needed** — if a service only reads from a bucket, it gets `storage.objects.get`, not `storage.admin`\n- **Prefer predefined roles** where they match (e.g., `roles\u002Fcloudsql.client` instead of custom)\n- **Custom roles only when predefined roles are too broad**\n\n### Step 3: Generate IaC\n\nGenerate infrastructure-as-code for the complete IAM setup:\n\n- **Service accounts** — one per service, with descriptive names\n- **Custom roles** — if predefined roles are too permissive\n- **Policy bindings** — connect service accounts to roles, scoped to specific resources\n- **Workload identity** — if running on Kubernetes, bind K8s service accounts to cloud IAM\n\nUse the project's IaC tool (Terraform, Pulumi, gcloud commands, CloudFormation). If no IaC exists, use Terraform as the default.\n\n### Step 4: Add Guardrails\n\n- **Organization policies** — prevent public access, enforce encryption, restrict regions\n- **Audit logging** — enable on all sensitive resources\n- **Alerts** — notify on privilege escalation, new admin grants, service account key creation\n\n### Step 5: Present the IAM Design\n\nFollow the output format defined in docs\u002Foutput-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.\n\n```\n## IAM Design\n\n### Service Accounts\n| Service Account | Service | Permissions |\n|---|---|---|\n| [sa-name] | [service] | [roles\u002Fpermissions] |\n\n### Custom Roles (if any)\n| Role | Permissions | Rationale |\n|---|---|---|\n| [role] | [permissions] | [why predefined wasn't sufficient] |\n\n### Human Access\n| Group | Role | Scope |\n|---|---|---|\n| [group] | [role] | [project\u002Fresource] |\n\n### Guardrails\n- [policy or alert] — [what it prevents\u002Fdetects]\n\n### Files Generated\n- [file] — [what it contains]\n```\n\n## Delivery\n\nIf output exceeds the 40-line CLI budget, invoke `\u002Fatlas-report` with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.\n",{"name":5,"tags":52,"author":53,"license":15,"version":54,"description":7,"compatibility":55},[43,37,24],"tonone-ai \u003Chello@tonone.ai>","0.6.4","Designed for Claude Code","main","d5998d31415790d88781b1eebf9bd0694f7c5d93","bundle\u002Ftonone-core\u002Fskills\u002Fwarden-iam",11,"https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone","https:\u002F\u002Fsecond.tonone.ai","https:\u002F\u002Fgithub.com\u002Ftonone-ai","https:\u002F\u002Ftonone.ai","Founded by @thisisfatih","2026-11-11 05:05:57",{"source":8,"skillName":5,"commands":67,"prompt":77,"zipAvailable":78},[68,71,74],{"tool":69,"command":70},"npx","npx skills add tonone-ai\u002Ftonone --skill warden-iam",{"tool":72,"command":73},"bunx","bunx skills add tonone-ai\u002Ftonone --skill warden-iam",{"tool":75,"command":76},"pnpm","pnpm dlx skills add tonone-ai\u002Ftonone --skill warden-iam","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fwarden-iam\u002FSKILL.md",true,[],[81,89,96,103,110,117],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":88},"01M7451MJNZW81Y6PWDK32PBR1","tonone-doctor","Read-only health report for tonone state — corrupt .tonone\u002F files, hook wiring, drift between skills, mirror, bundles and index. Use when asked to \"run tonone doctor\", \"check tonone health\", \"why is tonone broken\", or \"diagnose my setup\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Ftonone-doctor\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":88},"01M7451A88EVFJJASWTTWT26YG","prism-harden","Make UI survive real data — overflow, i18n, empty\u002Ferror\u002Floading states, extreme values. Use when asked to \"harden this UI\", \"handle edge cases\", or \"make it production-ready\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fprism-harden\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":88},"01M74517FB11SCPTJ32C9A5TMX","prism-extract","Extract repeated values and markup into design tokens and components. Use when asked to \"extract tokens\", \"dedupe components\", \"consolidate styles\", or \"clean up repeated UI\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fprism-extract\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":88},"01M7450P0X19MTYVTFKDG3MBXZ","apex-skillify","Turn a flow that just worked in this session into a reusable skill. Use when asked to \"skillify this\", \"make this a skill\", or \"save this workflow\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fapex-skillify\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":88},"01M7450FYBRZ9BNTFBC5ENTPCX","apex-retro","Weekly engineering retrospective from git history. Use when asked to \"retro\", \"what did we ship this week\", or \"weekly retrospective\".","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fbundle\u002Ftonone-core\u002Fskills\u002Fapex-retro\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":124},"01M72R4DFY3VK3ZQEQ147XB9JC","prism-redesign","Fix an existing UI in a bounded scan, diagnose, fix, re-lint loop. Use when asked to \"redesign this UI\", \"clean up this screen\", \"fix the AI slop\", or \"make this look less generic\". Lint-driven, max 3 loops, never changes brand direction silently.","https:\u002F\u002Fgithub.com\u002Ftonone-ai\u002Ftonone\u002Fblob\u002Fmain\u002Fteam\u002Fprism\u002Fskills\u002Fprism-redesign\u002FSKILL.md",[],[],"2026-11-10 22:39:42"]