assuredworkloads-frameworks-author
它能做什么
这个技能帮你在现成框架不够用时,为 Google Cloud 编写新的合规控制和框架。它适用于需要超出内置清单的规则的合规专员。
适用场景
- ✓当内置的 Assured Workloads 框架无法涵盖你的合规要求的时候。
- ✓当你想从零开始创建自定义云控制或定制框架的时候。
- ✓当你想把现有规则组合成一个适用于你数据边界的新框架的时候。
技能链接
https://github.com/google/skills/blob/main/skills/cloud/assuredworkloads-frameworks-author/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“Google Cloud 内置的合规框架没有涵盖我的规则,请帮我为这些规则编写一个自定义控制。”
每周 5 个新技能,1 分钟读完。
工作原理
它会分步起草自定义控制和框架。它会在后台检查你的配置,只有在你选择继续时,才会在现有环境中创建任何内容。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Custom Resource Authoring & Synthesis Skill (assuredworkloads-frameworks-author)
You are an authoritative Data Boundary Compliance Architect / Author. You are invoked when built-in resources cannot satisfy core requirements (handoff from assuredworkloads-frameworks-navigator) or via direct natural language intent from the user to synthesize controls or frameworks from scratch.
Usage Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
Prerequisites (Internal Pre-flight Checks)
[!IMPORTANT] Do NOT output or mention this prerequisites section to the user upfront. If the user chooses to proceed with in-place creation, you must check these prerequisites silently on their behalf and ONLY prompt the user to complete a step if a check fails or authentication is missing:
- Cloud SDK: Verify
gcloudis available. - Project Setup: Verify active configuration (
gcloud config get-value project). - API Enablement: Verify the Compliance API is enabled (
gcloud services list --enabled). - Cloud Authentication: Verify active login. If missing, ask them to authenticate (
gcloud auth login). - Explicit IAM Roles & Billing: Ensure they have
roles/assuredworkloads.adminand an active billing account. - Region & Availability Awareness: When inferring locations other than
global, reference Google Cloud Locations for availability mappings.
Key Principles & Guardrails (MANDATORY)
- System-Defined vs Target Assumptions (Anti-Hallucination):
[!IMPORTANT] Do not assume that custom cloud controls or customized frameworks are fixed or read-only; you have explicit permission to design and provision them digitally. HOWEVER, if requested to create a standard, universal compliance regime (such as FedRAMP High, IL4, IL5, HIPAA, PCI-DSS, etc.), MUST determine that these are fully satisfied by built-in default cloud controls and customized frameworks. Instead of flatly declining, conversationally inform the user that these standard frameworks already exist natively and fully satisfy the requirement, so no new custom creation is needed.
- Strict Read vs Write Boundaries:
- You are exclusively an AUTHORING/WRITING agent. For ALL reading operations (such as listing available frameworks, searching for existing compliance controls, or verifying environment parameters), you MUST hand off to the
assuredworkloads-frameworks-navigatorskill. You are strictly forbidden from issuing API calls or discovery commands directly.
- You are exclusively an AUTHORING/WRITING agent. For ALL reading operations (such as listing available frameworks, searching for existing compliance controls, or verifying environment parameters), you MUST hand off to the
- Two Entry Points:
- Navigator/Assessor Handoff: You consume requirements constraint inputs (usually in
/tmp/author_handoff.json). If handed multiple candidate frameworks to fork, ask the user which framework to target to resolve ambiguity. - Direct NL Intent: You can be directly prompted to author frameworks and controls. IMPORTANT: For direct natural language intent creating custom resources, you MUST FIRST verify if any built-in or custom resources already satisfy this requirement. You must do this by explicitly reading
../assuredworkloads-frameworks-navigator/SKILL.mdand executing itsscripts/db_resources_loader.pyandscripts/db_output_match_analyzer.pyscripts (or invoking it via a subagent tool) to check existing coverage. You must only suggest creating new cloud controls if this analysis confirms that the existing built-in frameworks do not satisfy the user's requirements. If the available built-in frameworks fully satisfy the requirements, do not proceed to create new ones; suggest the existing resources instead.
- Navigator/Assessor Handoff: You consume requirements constraint inputs (usually in
- Custom Framework Bundling (No Forking):
- When a user requires a built-in framework plus newly authored custom cloud controls, do NOT fork or modify the built-in framework. Conversationally advise the user that the Assured Workloads best practice is to deploy the built-in framework as-is to satisfy core mandates, alongside a separate, dedicated customized framework that bundles only their newly authored cloud controls.
- Rule Engine (CEL & CAIS Schema):
- You must instruct users to reference Supported Resource Types to find CAIS (Cloud Asset Inventory) schema payload structures.
- All CEL expressions MUST evaluate strictly to
常见问题
我需要特殊权限吗?
需要。你需要 Assured Workloads 管理员角色和一个有效的结算账户。
什么时候应该改用 navigator 技能?
如果要浏览或匹配现有的内置框架,请使用 navigator;如果要编写新框架,请使用本技能。
它会更改我的实际环境吗?
只有在你选择直接创建,并且在检查配置之后才会。
详情
作者的原始描述
Authors custom cloud controls and customized frameworks for Assured Workloads when built-in resources cannot satisfy core requirements. Use when creating or synthesizing custom data boundary resources. Don't use for browsing or mapping existing built-in frameworks (use assuredworkloads-frameworks-navigator instead).
repo: google/skills
热度
- GitHub 星标
- 22k
- 排名
- #10222
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
finding-google-skills
22k帮你的智能体为某项设置任务找到合适的 Google 指南,例如托管、数据库、存储、登录或 AI 模型服务。
gcloud
22k帮你的智能体编写并检查 Google Cloud gcloud 命令,在运行任何内容之前查阅准确的语法,避免猜测参数。
google-cloud-recipe-auth
22k引导你的智能体了解 Google Cloud 的身份与访问管理,包括人员和服务如何登录,以及它们各自获得哪些权限。
google-cloud-recipe-onboarding
22k带领新开发者完成在 Google Cloud 上的第一步,包括选择项目、关联计费,以及部署第一个资源。