workspace-settings
它能做什么
这个技能说明如何把 Windmill 工作区的设置作为一份文档读取和更新,以及如何在应用更改之前预览。适合工作区管理员。
适用场景
- ✓当你想通过智能体读取或修改工作区设置页面时。
- ✓当你需要在保存设置更改之前,查看它会产生什么效果时。
- ✓当你希望把工作区设置保存在与项目同步的设置文件中时。
技能链接
https://github.com/windmill-labs/windmill/blob/main/system_prompts/auto-generated/skills/workspace-settings/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请先以试运行的方式,展示我 Windmill 工作区的设置,以及如果我修改颜色会发生什么变化。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能把应用设置描述为一份文档,其中只有所列的键会被更改;试运行则列出修改前后的值,而不保存任何内容。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Workspace settings
Everything an admin sets on the Workspace settings page is one document: a mapping of top-level
keys, the same layout as the settings.yaml file wmill sync keeps. Only a workspace admin can
read or change it.
Applying a document
- A partial document changes only the keys it states; every key it omits is left as it is.
- Each key is replaced whole, so read its current value and send it back edited: a nested object given with one field replaces the stored object with that one field.
- A key set to
nullclears that setting; an on/off switch cleared this way reads asfalse. - Each setting is written through the same path the settings page uses, with the same validation and audit log. The writes are not one transaction: when one fails the apply stops, and the error says what was already written.
- A dry run reports the changes, as
before/afterper key, without writing anything. nameis never applied: rename a workspace on the settings page.coloris applied only when set to a value, sonulldoes not clear it.- A key the server does not know is ignored and named in the warnings: check them, since a typo otherwise reads as "nothing to change".
- A setting this edition does not offer (Enterprise only) is refused, by the dry run too.
Secrets
slack_oauth_client_secret is the one secret. A read shows __SENSITIVE_AND_UNCHANGED__ in place
of a set secret; sending that placeholder back keeps the stored value. A value starting with
$encrypted: is decrypted with the workspace key, and one encrypted with another workspace's key
is left unchanged with a warning; any other value is taken as plaintext. Never
write a secret you were not given: keep the placeholder.
Keys
| Key | Value |
|---|---|
auto_invite |
{ enabled, mode: invite | add, operator, instance_groups?, instance_groups_roles? }. The instance groups are managed only when instance_groups is stated; clearing a group removes the members it added. |
error_handler / success_handler |
{ path, extra_args?, muted_on_cancel?, muted_on_user_path? }, path being script/<path> or flow/<path>. |
error_handler_fallback_to_instance_alerts |
Report failures to the instance critical alert channels when no error handler is set. |
webhook |
URL POSTed a JSON event on every change to the workspace's items. |
ai_config |
Providers, default and completion models, custom prompts, copilot_disabled. |
large_file_storage |
Workspace object storage: { type, s3_resource_path | azure_blob_resource_path | gcs_resource_path, public_resource?, secondary_storage?, advanced_permissions? }. |
git_sync |
{ repositories: [...] }, each with git_repo_resource_path, script_path and settings (include/exclude paths and types). Server-owned fields (webhook secrets, sync state, credentials) are never read nor written. |
datatable |
{ datatables: { <name>: { database: { resource_type, resource_path } } } }, both required: resource_type: postgresql with resource_path a Postgres resource's path, or instance, or external_instance (Enterprise only), with resource_path the name of a database a superadmin set up. A fork's entry can instead be { reference: { workspace_id, datatable } }, pointing at its parent's data table; keep it as is. main is the one scripts use by default. Role permissions are datatable_permissions. |
datatable_permissions |
{ <data table>: { default_role, roles: { <role>: [tenants] } } }: who may connect to each data table as which role. Tenants are u/<user>, g/<group>, f/<folder> or *; admin is always a role, and default_role: null means no default. A data table the value omits is no longer under roles. Only a data table on a cluster Windmill manages can be. |
protection_rules |
{ <rule name>: { rules: [...], bypass_groups: [...], bypass_users: [...], fork_role_mapping?: { <role here>: <role in its forks> } } }, rules among DisableDirectDeployment, DisableWorkspaceForking, RestrictDeployToDeployers, RestrictAnonymousAppDeployment, RestrictPublicRunSharing, RestrictGuestAppDeployment, RequireIsolatedForks. A rule the value omits is deleted. The dev workspace lock is not listed and cannot be set here. |
ducklake |
{ ducklakes: { <name>: { catalog, storage, ... } } }. |
dbt_warehouses |
dbt warehouse connections. |
default_app |
Path of the app shown as the workspace home. |
default_scripts |
`{ order |
常见问题
谁可以读取或修改这些设置?
只有工作区管理员可以读取或修改。
如果我拼错了某个键会怎样?
未知的键会被忽略,并在警告中指出,因此每次应用后都应检查警告。
试运行会被保存吗?
不会。试运行只以修改前后的值报告更改,不写入任何内容。
详情
作者的原始描述
MUST use when reading or changing workspace settings, or the settings.yaml file `wmill sync` keeps.
repo: windmill-labs/windmill
热度
- GitHub 星标
- 18k
- 排名
- #10631
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …