跳到正文
Skillpedia
安全22k · #10222

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/google/skills/blob/main/skills/cloud/assuredworkloads-frameworks-author/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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 gcloud is 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.admin and an active billing account.
  • Region & Availability Awareness: When inferring locations other than global, reference Google Cloud Locations for availability mappings.

Key Principles & Guardrails (MANDATORY)

  1. 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.

  2. 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-navigator skill. You are strictly forbidden from issuing API calls or discovery commands directly.
  3. 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.md and executing its scripts/db_resources_loader.py and scripts/db_output_match_analyzer.py scripts (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.
  4. 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.
  5. 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能