Agent Skills
› zeabur-oss/zeabur
› zeabur-oss-spec-work
zeabur-oss-spec-work
GitHub基于规范文本实现或修改安全及协议相关行为,涵盖Kubernetes API、RBAC、OAuth等。要求严格引用来源、代码内文档化、失败关闭处理,并针对重放、篡改等场景进行对抗性测试,确保系统安全性与合规性。
触发场景
需要依据RFC或W3C规范实现安全特性
需要修复涉及RBAC或认证协议的漏洞
需要为安全相关代码添加规范引用和对抗性测试
安装
npx skills add zeabur-oss/zeabur --skill zeabur-oss-spec-work -g -y
SKILL.md
Frontmatter
{
"name": "zeabur-oss-spec-work",
"description": "Implement or change a security- or protocol-relevant behaviour in any zeabur-oss repository (Kubernetes API semantics, server-side apply, RBAC, admission, OAuth and OpenID Connect, WebAuthn, HTTP caching) from the specification text, with citations in rustdoc, fail-closed handling and adversarial tests. Use for any such feature or fix."
}
Zeabur OSS specification-driven work
The repository's spec-work skill names its protocols, its cluster-test skill and any extra step (a conformance table, a secret-handling rule).
- Read the source. Find the exact section of the RFC, W3C or OIDF specification, KEP, Kubernetes documentation revision or upstream source the behaviour depends on. Note MUST and SHOULD (RFC 2119, RFC 8174). For prior art, read the other project's code at a pinned tag or commit. Cite only what you have read, and never invent a section number, URL, author or date. A source you have not read is not cited at all; if it matters, note it in the internal docs or an issue.
- Cite the rule next to the code, decide in the docs. In rustdoc: the constraint the code
keeps (the spec rule or the invariant) and the citation as a markdown reference link; collect
several sources in a
# Referencessection (IEEE-like: authors, title, venue, date, URL/DOI). The decision and its reasons (the threat, the options) go in the repository's docs, stated as facts about the design, not as history. Comments otherwise followzeabur-oss-standards, section 1. - Fail closed. Ambiguous answers (from storage or the API server), unknown inputs and races
are errors or explicit outcomes, never silent success. A single-use thing (a code, a link, a
ceremony, a plan) is consumed or checked by one atomic step (create-once, compare-and-swap,
a write with
uidorresourceVersionpreconditions) before anything is issued or applied. - Test the attack, not just the happy path. Replays, tampered tokens, concurrent
redemption or applies (64 tasks behind a barrier, exactly one wins), forged or cross-site
requests, wrong audience, issuer or nonce, expiry, revoked permissions and disabled users,
privilege boundaries: the project's own service account must never gain a right its users
lack. Use the real kube-apiserver for anything RBAC or admission related
(
zeabur-oss-cluster-tests).
版本历史
- e6ff195 当前 2026-11-02 08:50


