Refactor project name from "Open Claude Design" to "Open Design" (#1)
* Refactor project name from "Open Claude Design" to "Open Design" - Updated project name in package.json, package-lock.json, and README files. - Changed CLI commands and references from "ocd" to "od". - Adjusted file structure references in documentation and code to reflect new naming conventions. - Enhanced .gitignore to include new runtime data files. - Updated metadata in LICENSE file to match new project name. * Add contributing guidelines in English and Chinese - Introduced CONTRIBUTING.md and CONTRIBUTING.zh-CN.md to provide clear instructions for contributors. - Outlined contribution types, local setup instructions, and merging criteria for skills and design systems. - Enhanced README files to reference the new contributing guidelines.
This commit is contained in:
@@ -8,7 +8,7 @@ triggers:
|
||||
- "saas landing"
|
||||
- "marketing page"
|
||||
- "product landing"
|
||||
ocd:
|
||||
od:
|
||||
mode: prototype
|
||||
preview:
|
||||
type: html
|
||||
@@ -83,7 +83,7 @@ Output a single self-contained `index.html` with:
|
||||
- System font fallbacks if DESIGN.md fonts aren't loadable from Google Fonts etc.
|
||||
- No external JS.
|
||||
- Semantic HTML (`<header>`, `<main>`, `<section>`, `<footer>`).
|
||||
- Each editable element tagged with `data-ocd-id="<unique-slug>"` so the host app's comment mode can target it.
|
||||
- Each editable element tagged with `data-od-id="<unique-slug>"` so the host app's comment mode can target it.
|
||||
|
||||
## 5. Self-check
|
||||
|
||||
@@ -112,9 +112,9 @@ saas-landing-skill/
|
||||
```
|
||||
|
||||
Things to notice:
|
||||
- The `ocd:` front-matter block is optional for Claude-Code-only compatibility, but adding it lights up OCD's typed inputs, sliders, preview metadata, and capability gating.
|
||||
- The `od:` front-matter block is optional for Claude-Code-only compatibility, but adding it lights up OD's typed inputs, sliders, preview metadata, and capability gating.
|
||||
- The workflow below the front-matter is plain Markdown that the agent reads as its system prompt.
|
||||
- DESIGN.md is treated as a collaborator, not an override. The skill gives the agent authority to override when the brief conflicts, but never to invent new tokens.
|
||||
- `data-ocd-id` tagging is how we wire elements to comment mode. Skills that want comment-mode compatibility must annotate their output.
|
||||
- `data-od-id` tagging is how we wire elements to comment mode. Skills that want comment-mode compatibility must annotate their output.
|
||||
|
||||
See [`../../skills-protocol.md`](../../skills-protocol.md) for the full protocol.
|
||||
|
||||
Reference in New Issue
Block a user