edit-build-spec
Author or update `.onedev-buildspec.yml` for OneDev CI/CD. Use when the user asks to create, configure, or modify a OneDev build spec.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Author or update `.onedev-buildspec.yml` for OneDev CI/CD. Use when the user asks to create, configure, or modify a OneDev build spec.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Work on a OneDev pull request. Use when the user asks to review, merge, resolve merge conflicts, approve, request changes, address feedback, investigate or fix a failed build, improve, or continue PR work.
Implement work for a OneDev issue. Use when the user asks to start, pick up, or continue issue work.
Submit completed work for a OneDev issue. Use when the user asks to submit, complete, or finish issue work.
Submit completed work for an existing OneDev pull request. Use when the user asks to submit, complete, or finish PR work.
Operate OneDev issues, pull requests, builds, and projects with `tod`. Use for general OneDev queries and actions not covered by a more specific skill.
Fix a prompt-specified failed OneDev build when the request has no issue or pull request context.
| name | edit-build-spec |
| description | Author or update `.onedev-buildspec.yml` for OneDev CI/CD. Use when the user asks to create, configure, or modify a OneDev build spec. |
Author or update .onedev-buildspec.yml for the current OneDev project.
tod is installed and configured..onedev-buildspec.yml belongs.tod build get-spec-schema
tod build check-spec
This both validates and upgrades the file to the latest version when
needed..onedev-buildspec.yml applying the user's instruction and the
rules below.tod build check-spec
Keep iterating until tod build check-spec succeeds.When writing or modifying .onedev-buildspec.yml:
tod build get-spec-schema first so the YAML you produce matches
the spec schema.command step is used, enable "run in container" unless the user
explicitly asks otherwise.cache step is used:
package.json, pom.xml, etc.):
UPLOAD_IF_NOT_HIT.tod build check-spec before editing an existing CI/CD spec to
make sure it is valid and up to date.tod build check-spec again after editing so the final spec is
confirmed valid.