Skip to content

Commit 1d7f519

Browse files
author
CodeBuddy Attribution Bot
committed
fix(attribution): HTTP 云函数 Skill 缺少路径映射和网关路径处理的关键说明 (issue_mo1hkx69_frhv2z)
1 parent c92a55c commit 1d7f519

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

config/source/skills/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ alwaysApply: true
3131
- Web app execution -> `./web-development/SKILL.md`
3232
- Web auth provider readiness -> `./auth-tool/SKILL.md`
3333
- Web auth implementation -> `./auth-web/SKILL.md`
34+
- Cloud Functions, including HTTP Functions and browser-facing endpoints -> `./cloud-functions/SKILL.md`
3435
- Browser-side document database CRUD -> `./no-sql-web-sdk/SKILL.md`
3536
- Browser-side file upload -> `./cloud-storage-web/SKILL.md`
3637
- Platform overview only when capability selection is still unclear -> `./cloudbase-platform/SKILL.md`
@@ -39,6 +40,7 @@ alwaysApply: true
3940

4041
- If the same path fails 2-3 times, stop retrying and reroute. Check platform skill, auth domain, runtime, and permission model before editing more code.
4142
- Always specify `EnvId` explicitly in code, configuration, and command examples when initializing CloudBase clients or manager operations. Do not rely on the current CLI-selected environment or implicit defaults.
43+
- For HTTP Functions, keep the public gateway path and the in-function router path as separate layers. Do not write prefixes such as `/api/httpDemo` into the router itself; create gateway access separately when the task actually needs an external path, then verify function permissions before treating the URL as usable.
4244

4345
### Do NOT use this as
4446

0 commit comments

Comments
 (0)