Agent Skills › zeabur-oss/zeabur › zeabur-oss-spec-work

zeabur-oss-spec-work

GitHub

基于规范文本实现或修改安全及协议相关行为,涵盖Kubernetes API、RBAC、OAuth等。要求严格引用来源、代码内文档化、失败关闭处理,并针对重放、篡改等场景进行对抗性测试,确保系统安全性与合规性。

.claude/skills/zeabur-oss-spec-work/SKILL.md zeabur-oss/zeabur

触发场景

需要依据RFC或W3C规范实现安全特性 需要修复涉及RBAC或认证协议的漏洞 需要为安全相关代码添加规范引用和对抗性测试

安装

npx skills add zeabur-oss/zeabur --skill zeabur-oss-spec-work -g -y
更多选项

非标准路径

npx skills add https://github.com/zeabur-oss/zeabur/tree/main/.claude/skills/zeabur-oss-spec-work -g -y

不安装直接使用

npx skills use zeabur-oss/zeabur@zeabur-oss-spec-work

指定 Agent (Claude Code)

npx skills add zeabur-oss/zeabur --skill zeabur-oss-spec-work -a claude-code -g -y

安装 repo 全部 skill

npx skills add zeabur-oss/zeabur --all -g -y

预览 repo 内 skill

npx skills add zeabur-oss/zeabur --list

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

  1. 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.
  2. 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 # References section (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 follow zeabur-oss-standards, section 1.
  3. 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 uid or resourceVersion preconditions) before anything is issued or applied.
  4. 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

同 Skill 集合

.claude/skills/zeabur-oss-ci/SKILL.md
.claude/skills/zeabur-oss-cluster-tests/SKILL.md
.claude/skills/zeabur-oss-dependencies/SKILL.md
.claude/skills/zeabur-oss-rust/SKILL.md
.claude/skills/zeabur-oss-workflow/SKILL.md
.claude/skills/zeabur-wording/SKILL.md
.claude/skills/zeabur-writing/SKILL.md
.claude/skills/zeabur-ci/SKILL.md
.claude/skills/zeabur-cluster-tests/SKILL.md
.claude/skills/zeabur-dependencies/SKILL.md
.claude/skills/zeabur-dev/SKILL.md
.claude/skills/zeabur-oss-standards/SKILL.md
.claude/skills/zeabur-spec-work/SKILL.md
.claude/skills/zeabur-workflow/SKILL.md

元信息

文件数
0
版本
e6ff195
Hash
8db6881a
收录时间
2026-11-02 08:50

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 04:26
浙ICP备14020137号-1