You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/.claude/skills/cloudbase-platform/SKILL.md
+42Lines changed: 42 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,9 @@ Keep local `references/...` paths for files that ship with the current skill dir
48
48
- Staying here after the correct implementation skill is already clear.
49
49
- Mixing platform overview with platform-specific API shapes or SDK details.
50
50
- Using this overview skill as a detour in an existing application where the active auth, storage, and data files are already obvious.
51
+
-**Confusing security domains with custom domains**: These are two completely different tools for different purposes:
52
+
-`envDomainManagement` (action: create/delete) = Security domains (安全域名) for CORS/request source validation - used for browser upload whitelisting. Does NOT accept certificateId.
53
+
-`manageGateway(action="bindCustomDomain")` = Custom domains (自定义域名) for public HTTPS access with SSL certificates - requires domain and certificateId parameters.
51
54
52
55
## When to use this skill
53
56
@@ -93,6 +96,45 @@ Use this skill for **CloudBase platform knowledge** when you need to:
93
96
94
97
# CloudBase Platform Knowledge
95
98
99
+
### Domain Management Tools: Clear Distinction
100
+
101
+
When working with domain-related tasks, use the correct tool based on the requirement:
102
+
103
+
| Requirement | Tool | Parameters | Purpose |
104
+
|-------------|------|------------|---------|
105
+
|**Security Domain (安全域名)**|`envDomainManagement`|`action`, `domains` (array of host:port strings) | CORS/request source validation for browser uploads. No certificate involved. |
106
+
|**Custom Domain (自定义域名)**|`manageGateway(action="bindCustomDomain")`|`domain` (string), `certificateId` (string) | Public HTTPS access with SSL certificate. Requires certId from SSL console. |
0 commit comments