od-contribute 是什么?
One-click contribution flow for OpenDesign (nexu-io/open-design) — even for non-coders. Pick one of four cards (ship a Skill or Design System you made with OD; translate docs; fix a typo / write a blog; report a bug), the agent validates and opens a PR (or issue) for you. Trigger words contribute to open design, ship my OD skill, ship my OD design system, translate OD docs, report an OD bug, od-contribute.
以上为来源原文,中文用途说明尚待整理。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
od-contribute,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。
展开并复制给 Codex 的安装指令
安装并检查 od-contribute
请在 Codex 的当前工作环境中安装并检查 od-contribute 这个 Skill。
项目身份:nexu-io/open-design / od-contribute
来源:https://github.com/nexu-io/open-design/blob/e033aad1d15a9d4084316e5223f2c6597fd32619/.claude/skills/od-contribute/SKILL.md
已定位的源文件:.claude/skills/od-contribute/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 od-contribute
请在 Claude Code 的当前工作环境中安装并检查 od-contribute 这个 Skill。
项目身份:nexu-io/open-design / od-contribute
来源:https://github.com/nexu-io/open-design/blob/e033aad1d15a9d4084316e5223f2c6597fd32619/.claude/skills/od-contribute/SKILL.md
已定位的源文件:.claude/skills/od-contribute/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 od-contribute
请在 Cursor Agent 的当前工作环境中安装并检查 od-contribute 这个 Skill。
项目身份:nexu-io/open-design / od-contribute
来源:https://github.com/nexu-io/open-design/blob/e033aad1d15a9d4084316e5223f2c6597fd32619/.claude/skills/od-contribute/SKILL.md
已定位的源文件:.claude/skills/od-contribute/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 od-contribute
请在 当前 Agent 的当前工作环境中安装并检查 od-contribute 这个 Skill。
项目身份:nexu-io/open-design / od-contribute
来源:https://github.com/nexu-io/open-design/blob/e033aad1d15a9d4084316e5223f2c6597fd32619/.claude/skills/od-contribute/SKILL.md
已定位的源文件:.claude/skills/od-contribute/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。来源原文与资料状态
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-21T19:32:09.269Z
- 中文使用说明
- 尚待整理,保留英文来源内容
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料
.claude/skills/od-contribute/SKILL.md · 抓取时间 2026-11-21T19:32:09.269Z
以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。
抓取成功不代表已完成安装或任务测试。
One-click contribution flow for OpenDesign (nexu-io/open-design) — even for non-coders. Pick one of four cards (ship a Skill or Design System you made with OD; translate docs; fix a typo / write a blog; report a bug), the agent validates and opens a PR (or issue) for you. Trigger words contribute to open design, ship my OD skill, ship my OD design system, translate OD docs, report an OD bug, od-contribute.
查看源文件章节 / Source sections
- 原文:od-contribute — first-contribution flow for OpenDesign
- 原文:Language
- 原文:Step 1 — Prereq check (always first)
- 原文:Step 2 — Pick contribution type
- 原文:Step 3a — OD product submission (Skill / Design System)
- 原文:Step 3b — i18n translation
- 原文:Step 3c — Docs / blog / typo
- 原文:Step 3d — Bug report (issue path, no PR)
- 原文:Step 7 — Preview + confirm (shared, PR branches only)
- 原文:Step 8 — Push & open PR
- 原文:Safety rails (mandatory)
- 原文:When NOT to use this skill
原文:od-contribute — first-contribution flow for OpenDesign
Locked to `nexu-io/open-design`. Branches by **contribution type**, not by issue. Replaces the dev-loop with type-specific no-code validators. Designed so a product user with zero coding background can ship a real PR.
原文:Language
Mirror the user's language in every user-facing message — `AskUserQuestion` labels and descriptions, status updates, error explanations. Detect from their first message; when uncertain, default to English. **Generated artifacts (PR titles, commit messages, PR/issue body files, branch names) MUST be English** regardless of the user's chat language. GitHub conventions, maintainer review, and search all assume English. The templates under `templates/` are already English — keep them that way when rendering. Scripts live under `scripts/`. Source the shared helpers from any script: ```bash source "$(dirname "$0")/config.sh" ``` `SKILL_DIR` below = the directory that contains this `SKILL.md`. ---
原文:Step 1 — Prereq check (always first)
```bash bash "$SKILL_DIR/scripts/check-prereqs.sh" ``` - Exit 0: capture `GH_USER=<login>` from stdout. Default `TARGET_FORK="${GH_USER}/open-design"`. - Exit 2: surface the printed install / auth hint **verbatim** and stop. Do not attempt token workarounds. If `gh repo view "$TARGET_FORK"` fails, ask the user (one `AskUserQuestion`) whether to fork now via `gh repo fork nexu-io/open-design --clone=false`. Default to yes.
原文:Step 2 — Pick contribution type
Single `AskUserQuestion` (header: "Contribution", multiSelect: false), four options. Translate option labels/descriptions into the user's chat language; the branch routing is unchanged. 1. **🎨 Ship something I made with OD** — _a Skill, Design System, HyperFrame, or template I want to contribute upstream_ → branch `3a` 2. **🌍 Translate OD docs** — _README / QUICKSTART / CONTRIBUTING into a new language_ → branch `3b` 3. **📝 Fix docs / write a blog / fix a typo** — _typo fix, dead link, use-case writeup_ → branch `3c` 4. **🐛 Report a bug** — _something broke; I'll help turn it into a high-quality issue_ → branch `3d` (issue path, no PR) Each branch below is self-contained. Steps 7–8 (preview + push) are shared across branches `3a`/`3b`/`3c`. Branch `3d` skips them entirely. ---
原文:Step 3a — OD product submission (Skill / Design System)
**3a.1** Ask user: "What's the local path to the artifact you want to ship?" (single free-text, translated into the user's chat language). Common: a folder path (Skill) or a single `DESIGN.md` file (Design System). **3a.2** Sniff type: ```bash # Skill: folder containing SKILL.md with frontmatter. # Design System: file matching DESIGN.md anatomy. ``` If ambiguous, ask the user to confirm. **3a.3** Run setup: ```bash bash "$SKILL_DIR/scripts/setup-workspace.sh" skill <slug> # or bash "$SKILL_DIR/scripts/setup-workspace.sh" design-system <slug> ``` `<slug>` is `od::slugify` of the Skill `name` frontmatter field or of the brand name. Capture `WORKDIR` from stdout. **3a.4** Copy artifact into workspace at the right target dir: - Skill → `$WORKDIR/skills/<slug>/` - Design System → `$WORKDIR/design-systems/<brand-slug>/DESIGN.md` (+ any sibling assets in the same folder) **3a.5** Validate: ```bash bash "$SKILL_DIR/scripts/validate-skill-submission.sh" "$WORKDIR/skills/<slug>" # or, with 1-2 reference DESIGN.md files passed in: bash "$SKILL_DIR/scripts/validate-design-system.sh" \ "$WORKDIR/design-systems/<slug>/DESIGN.md" \ --reference "$WORKDIR/design-systems/airbnb/DESIGN.md" \ --reference "$WORKDIR/design-systems/apple/DESIGN.md" ``` If validation fails, surface the FAIL lines verbatim, ask the user to fix, retry. **Never push a failing artifact.** **3a.6** Ask 3 short questions via `AskUserQuestion` (translate the labels into the user's chat language): - "What name should we credit you under in the PR?" — free-text - "One-line pitch for this Skill / Design System?" — free-text - "Path to a screenshot (optional)?" — free-text
本段为节选,完整内容见源文件。
原文:Step 3b — i18n translation
**3b.1** Setup workspace (slug = `translate-<doc>-<lang>` if known, else `translate`): ```bash bash "$SKILL_DIR/scripts/setup-workspace.sh" i18n translate # capture WORKDIR ``` **3b.2** Discover gaps: ```bash bash "$SKILL_DIR/scripts/discover-i18n-gaps.sh" "$WORKDIR" > /tmp/od-i18n-gaps.json ``` Each line is JSON. Rank by: - `status: "missing"` first (missing language is highest leverage) - then `status: "stale"` ordered by `english_commits_since_translation` desc - README family before QUICKSTART before CONTRIBUTING **3b.3** Take the top 3–4 gaps and present via `AskUserQuestion` (header: "Translation target"). Each option label like: `README → 한국어 (Korean)` / `QUICKSTART (zh-CN) refresh — 12 commits behind`. Translate the header text into the user's chat language but keep the option labels descriptive (the language names belong in their native script). **3b.4** Once user picks, **rename branch** to be specific: ```bash git -C "$WORKDIR" branch -m "od-contrib/i18n/<doc>-<lang>-<date>" ``` (or pre-set the slug in step 3b.1 if the user confirmed earlier.) **3b.5** Translate. Read the English source. Translate **structure-preserving**: - Code blocks: leave untranslated - Brand / product names: leave untranslated - Filenames in inline code: leave untranslated - Image / link targets: leave untranslated; if a localized version of a linked doc exists, swap the link to the localized file - Headings: translate, keep the heading depth identical - Tables: translate cell text only, keep alignment / pipes Write the result to `$WORKDIR/<TRANSLATED_PATH>` (e.g. `QUICKSTART.es.md`). Show user a unified diff vs. the English source for visual sanity-check (line-count delta within ±15% is a healthy signal). **3b.6** Validate the translated file against the English source. The `--reference` flag tells the validator to ignore relative refs that were already broken in the source — OD docs frequently link to website route slugs (e.g. `skills/blog-post/`) that aren't files on disk; we don't want a structure-preserving translation to fail because of pre-existing dead refs.
本段为节选,完整内容见源文件。
文件 SHA256:3abb007bcdd4d632cc17c131995f49931e0d03c27ea09bf083fadfc0c4b648c4
仓库许可证记录:Apache-2.0;repository-license-recorded-scope-unverified,查看来源。
One-click contribution flow for OpenDesign (nexu-io/open-design) — even for non-coders. Pick one of four cards (ship a Skill or Design System you made with OD; translate docs; fix a typo / write a blog; report a bug), the agent validates and opens a PR (or issue) for you. Trigger words contribute to open design, ship my OD skill, ship my OD design system, translate OD docs, report an OD bug, od-contribute.
历史收录数据
| 来源仓库 | nexu-io/open-design |
|---|---|
| Skill源路径 | .claude/skills/od-contribute/SKILL.md |
安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。
