mirror of
https://github.com/nexu-io/open-design.git
synced 2026-05-31 19:04:39 +07:00
* feat: general-purpose skills with @-mention composition and user import
Lift skills from "one mode-bound skill per project" to a generic capability
the user can compose per turn:
- Daemon: scan multiple skill roots (user-skills under runtime data, then
the bundled `skills/`); user-imported skills can shadow built-ins by id.
- New `POST /api/skills/import` and `DELETE /api/skills/:id` endpoints,
with CONFLICT/BAD_REQUEST/NOT_FOUND error codes and built-in delete
protection.
- ChatRequest gains `skillIds: string[]`; the chat run concatenates each
picked skill's body (and merges craftRequires) into the system prompt
for that turn only — the project's persistent `skillId` is untouched.
- Web composer: `@` popover now lists skills alongside project files;
picks render as removable chips above the textarea and ride along with
the request as `skillIds`.
- Settings → Library: import form (name/description/triggers/body),
per-card delete for user skills, "user" origin badge.
* chore(web): drop welcome pet teaser + add ds→prompt-template mapping util
- SettingsDialog: remove the inline pet adoption teaser from the welcome
panel so the first-run modal stays focused on configuration.
- New `inferPromptTemplateCategoriesForDs(ds)` helper that maps a design
system's authored metadata to prompt-template gallery categories.
Imported by the design-system gallery wiring on a sibling branch; no
callers in this branch yet.
* feat: split skills/design-templates and add finalize-design API
Phase 0 of the skills/design-templates refactor (specs/current/
skills-and-design-templates.md):
- Move ~104 rendering catalogue entries from skills/ to design-templates/
and keep skills/ for the small set of functional skills that *do work*
on user input (utilities, briefs, packagers).
- Add design-templates/AGENTS.md and skills/AGENTS.md describing the
contract, and a brand-agnostic craft/ surface for opt-in craft rules.
- Daemon: add DESIGN_TEMPLATES_DIR / USER_DESIGN_TEMPLATES_DIR roots and
an /api/design-templates surface mirroring /api/skills. Asset/example
routes still span both registries so existing srcdoc URLs keep
resolving across the rename.
- Web: split LibrarySection into SkillsSection + DesignSystemsSection,
rename the EntryView "Examples" tab to "Templates", and update locales
+ the New-project picker accordingly.
Adds the finalize-design endpoint:
- New apps/daemon/src/finalize-design.ts and packages/contracts/src/api/
finalize.ts — one-shot synthesis of a project's transcript + active
design system + current artifact into <projectDir>/DESIGN.md via the
Anthropic Messages API. Per-project .finalize.lock mirrors the
transcript-export hygiene from PR #493; provider credentials are not
persisted by the daemon.
Other supporting changes:
- README + AGENTS.md updates to document the new directory split and
craft/ surface, plus i18n strings across 13 locales.
- Test refactors and new coverage (finalize-design, runs, sidecar
server, plus refreshed daemon integration tests).
- .gitignore: scope the *.exe ignore to /OpenDesign.exe so legitimate
vendor binaries are no longer hidden.
* fix(merge): move clinical-case-report to design-templates/
Origin/main added the clinical-case-report skill under skills/ before
the skills/design-templates split landed. Its od.mode is prototype, so
per specs/current/skills-and-design-templates.md it is a design template
and belongs alongside the other rendering catalogue entries — not under
the slimmed-down functional skills/ root. Moving it keeps the EntryView
Templates tab consistent with origin/main's intent.
* feat(skills): curated design/creative catalogue + collapsible Settings rows
Seed ~100 curated design/creative skill stubs under skills/ sourced from
awesome-claude-skills (ComposioHQ) and awesome-agent-skills (VoltAgent).
Each stub carries an od.category tag so the new filter pill row in
Settings -> Skills can group them. The seed script
(scripts/seed-curated-design-skills.ts, pnpm seed:curated-design-skills)
is idempotent: it only creates folders that don't already exist, so
hand-edited stubs are never overwritten.
- Daemon: parse and surface od.category on SkillInfo with a strict slug
normaliser; mirror the field on SkillSummary in @open-design/contracts.
Category is purely a UI hint — system-prompt composition is unchanged.
- Web: rewrite SkillsSection from a left-list / right-detail grid into a
vertical stack of collapsible rows mirroring the External MCP panel
(header always visible with name + mode/source/category pills + per-row
enable toggle; SKILL.md preview, file tree and inline edit form expand
on demand). Add a Category filter row above the list. Reorder Settings
nav so Skills + External MCP sit above the Composio/MCP cluster. Update
composer placeholder/hint across 17 locales to advertise '@ files or
skills · / for commands'.
- Docs: extend skills/AGENTS.md with the curated catalogue rules
(idempotency, category vocabulary, no upstream vendoring).
Co-authored-by: Cursor <cursoragent@cursor.com>
* test(skills): teach localized-content + system-prompt tests about the skills/design-templates split
mrcfps blocking review on PR #955: the skills/design-templates split
(b5993385) moved ~110 SKILL.md entries out of `skills/` and into
`design-templates/`, but two repo-level tests still hard-coded the
single-root layout, so CI gates went red on the merged branch:
- `e2e/tests/localized-content.test.ts` only scanned `<repo>/skills`
while the locale `skillCopy` map keeps id-keyed entries spanning
both roots (ExamplesTab/Templates uses one lookup regardless of
origin). Teach the helper to read both `skills/` and
`design-templates/`, deduplicating ids so the union matches the
localized claim.
- `apps/daemon/tests/prompts/system.test.ts` read
`skills/live-artifact/SKILL.md`, which now lives under
`design-templates/live-artifact/`. Update the absolute path so
composeSystemPrompt's coverage of the live-artifact preamble is
exercised again.
Also enroll the curated design/creative catalogue (PR #955, ~91
stubs sourced from awesome-claude-skills / awesome-agent-skills) in
the DE / FR / RU `_SKILL_IDS_WITH_EN_FALLBACK` lists. The stubs are
English-only by design (frontmatter advertises an upstream URL); the
fallback list is exactly the place to acknowledge "we know this id
exists, English copy is fine here" so the localized-content coverage
gate passes without forcing a translation task per locale.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(skills): always quote frontmatter name so importUserSkill round-trips numeric / boolean ids
mrcfps PR #955 review: `buildSkillMarkdown` emitted `name:
${escapeYamlString(name)}` without quotes, so YAML coerced names
like `123`, `true`, `false`, or `null` into non-string scalars on
re-parse. listSkills() then read `data.name` as a number/boolean
and the import flow's follow-up `findSkillById(skills, result.id)`
missed it, falling into `/api/skills/import`'s "imported skill
could not be re-read" 500 path for those ids.
Switch the emitter to a quoted scalar (`name: "..."`) — the
double-escape already in `escapeYamlString` makes the quoted form
safe — and add a round-trip test covering `123`, `true`, `false`,
`null`, and `0` to lock in the contract.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web): drop staged-skill chips when the matching @<id> token leaves the draft
mrcfps PR #955 review: `submit()` always forwarded every id in
`stagedSkills`, but that state was only mutated on picker click and
chip removal. Hand-deleting an `@<id>` token from the textarea left
the chip staged, so the request still carried `skillIds: [<id>]` and
the daemon composed a skill the prompt no longer referenced.
Sync the chips with the draft inside `handleChange()` by pruning
`stagedSkills` whenever the new value no longer contains the
`@<id>` token (using the same whitespace boundary as
`removeStagedSkill`'s strip regex). Comment explains why this
prune does not run for `staged` file attachments — users frequently
add files via the upload button without leaving an `@<path>` token,
so a symmetric prune there would erase legitimate uploads.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(daemon): stage @-composed skills' side files alongside the active skill
codex PR #955 review: composing a per-turn `@`-picked skill into the
system prompt appended its body (with the `withSkillRootPreamble`
guidance pointing at relative paths under `<cwd>/.od-skills/<folder>/`)
but never staged the actual folder. `startChatRun` only copied
`activeSkillDir`, so when the project's primary skill was different
(or absent) the composed skill's references/, examples/, and scripts/
files lived only at their absolute repo path — agents that honour
the cwd-relative form (or that don't get `--add-dir`, e.g. Codex with
allowlisted gpt-image projects) couldn't reach them.
Thread the composed skills' dirs out of `composeDaemonSystemPrompt`
as `extraSkillDirs` and stage each one through the same
`stageActiveSkill` API used for the primary skill. Dedupe by folder
basename so a project whose primary skill is also `@`-composed isn't
copied twice. Each preamble already advertises its own folder, so the
prompt and the staged tree stay aligned without further changes.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(web): respect the Library disable toggle in the project @-mention picker
codex PR #955 review: only `EntryView` received `enabledSkills`
(filtered against `config.disabledSkills`); active projects still
got `skills={skills}` raw, so a skill the user disabled in Settings
kept appearing in the project's `@`-mention popover and could ride
along to the daemon via `skillIds`. That broke the Library toggle
for any project opened on the post-split branch.
Compute a functional-skills-only enabled subset
(`enabledFunctionalSkills`) and pass it into `<ProjectView>` instead.
Templates stay separate — design-templates are filtered through their
own `enabledDesignTemplates` memo for the Templates gallery — so
ProjectView's chat composer still only sees skills, never templates,
matching the pre-split prop surface.
Co-authored-by: Cursor <cursoragent@cursor.com>
* test(e2e): mock /api/design-templates for example-use-prompt flow
The Templates tab in EntryView fetches from /api/design-templates after
the skills/design-templates split (specs/current/skills-and-design-templates.md).
The example-use-prompt Playwright scenario only mocked /api/skills, so the
gallery card never appeared and the test timed out waiting on
example-card-warm-utility-example. Serve the same fixture summary on both
endpoints so the templates gallery renders the card the test clicks.
Co-authored-by: Cursor <cursoragent@cursor.com>
* test(tools-pack): create design-templates fixture for resources test
The packaging resources copy now bundles the new design-templates tree
alongside skills (see resources.ts BUNDLED_RESOURCE_TREES). The
copyBundledResourceTrees fixture only created skills, design-systems,
craft, etc., so the recursive copy crashed with ENOENT on
design-templates before it could check the prompt-templates assertion.
Add the missing fixture directory so the test exercises the same set
of resource trees the packaged build does.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(skills): clone built-in side files into the shadow on first edit
mrcfps PR #955 review: editing a built-in skill wrote a USER_SKILLS_DIR
shadow folder that contained only a new SKILL.md. The next listSkills()
pass surfaced the shadow as the active dir, but every side-file resolver
(/api/skills/:id/files, /example, /assets/*, the system-prompt preamble,
and the per-turn cwd staging) reads through skill.dir. With nothing but
SKILL.md in the shadow, the bundled assets/, references/, scripts/, and
examples/ disappeared the moment the user hit save — a built-in like
last30days or live-artifact would break immediately after edit instead
of just having its body overridden.
Teach updateUserSkill() to take a `sourceDir` and clone every entry
except SKILL.md / dotfiles into the shadow on the very first edit. The
shadow stays self-contained, so all the resolvers keep working without
fallback bookkeeping. Subsequent edits detect the existing shadow and
skip the clone, so user tweaks under the side tree survive a re-save.
Wire `sourceDir: skill.dir` from server.ts's PUT /api/skills/:id handler
and add two regression tests:
- 'clones built-in side files into the shadow on the first edit' walks
the file tree after save and asserts assets/template.html, references/
notes.md, and scripts/helper.sh all round-trip from the built-in.
- 'preserves user-edited side files on subsequent edits' edits the
staged assets/template.html, re-saves, and confirms the user content
is still there.
Co-authored-by: Cursor <cursoragent@cursor.com>
* test(e2e): rename home tab from Examples to Templates
The Examples tab was renamed to Templates in EntryView (b5993385's
skills/design-templates split — entry.tabExamples became entry.tabTemplates
and the tab value moved from 'examples' to 'templates'), but
entry-chrome-flows still asserted the old label and testId. Update both.
* fix(skills+web): preserve template body in API mode and dir-based skill delete
Two follow-ups from PR #955 review:
1. ProjectView only received `enabledFunctionalSkills`, but
`composedSystemPrompt()` still resolved `project.skillId` through that
prop and `fetchSkill()`. Projects created from the new
`/api/design-templates` surface keep a template id in `project.skillId`,
so opening one in API mode dropped the template body from the system
prompt and the upstream request ran without the project's primary
template instructions. Now ProjectView takes a separate
`designTemplates` prop (the unfiltered template list, so a
later-disabled template still loads for projects already created from
it) and `composedSystemPrompt()` plus the metadata / `isDeck` lookups
fall back to that list, with `fetchDesignTemplate()` as the body-fetch
fallback to `fetchSkill()`. The chat composer's `@`-picker keeps
receiving only the enabled functional skills.
2. `DELETE /api/skills/:id` used `deleteUserSkill(USER_SKILLS_DIR, skill.id)`
which re-slugified the frontmatter id and removed
`<userSkillsDir>/<slug>/`. That matched the import shape but missed the
install shape — `installFromTarget` writes the folder at
`sanitizeRepoName(url)` (GitHub) or `path.basename(realpath)` (local
symlink), neither of which is guaranteed to equal the slugified
frontmatter `name`. A duplicate `app.delete('/api/skills/:id', ...)`
handler at the install routes never fired because Express resolved the
earlier registration first, leaving the install/uninstall path without
working teardown. The handler now removes `skill.dir` (the absolute
path listSkills already discovered) under a USER_SKILLS_DIR safety
check, using `lstat` + `unlinkSync` so symlinked local installs unlink
cleanly without recursing into the user's source tree. The dead
duplicate handler is removed; `deleteUserSkill` is dropped from the
server.ts import set (still exported and unit-tested in skills.ts).
Regression coverage in `apps/daemon/tests/skills-delete-route.test.ts`
pins both shapes plus the symlink-preserves-source case.
* test(daemon): point hyperframes system-prompt test at design-templates
The merge with main brought in a hyperframes system-prompt test that
reads `skills/hyperframes/SKILL.md`, but this branch's split moved
`hyperframes` into `design-templates/` (same migration as `live-artifact`
already handled above in this file). CI was failing with ENOENT on the
old path.
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
473 lines
25 KiB
HTML
473 lines
25 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>open-design — GitHub Dashboard</title>
|
|
<style>
|
|
:root {
|
|
--canvas: #f2f2f0;
|
|
--surface: #ffffff;
|
|
--surface-muted: #fafaf9;
|
|
--border: #ececea;
|
|
--border-strong: #e2e2df;
|
|
--text-primary: #0a0a0a;
|
|
--text-secondary: #6b6b6b;
|
|
--text-tertiary: #9a9a95;
|
|
--active-bg: #e6f4ea;
|
|
--active-fg: #1f8a4c;
|
|
--pending-bg: #fff6d6;
|
|
--pending-fg: #9a7b12;
|
|
--feature-bg: #dcebff;
|
|
--feature-fg: #2f66c9;
|
|
--danger-bg: #fdecec;
|
|
--danger-fg: #c0392b;
|
|
--green: #34a853;
|
|
--amber: #e8a23a;
|
|
--red: #d94a3d;
|
|
--shadow: 0 1px 2px rgba(10, 10, 10, .04), 0 1px 1px rgba(10, 10, 10, .02);
|
|
--radius-card: 16px;
|
|
--radius-tile: 12px;
|
|
--radius-control: 8px;
|
|
font-family: Geist, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
font-feature-settings: "tnum", "lnum";
|
|
}
|
|
* { box-sizing: border-box; }
|
|
body { margin: 0; background: var(--canvas); color: var(--text-primary); }
|
|
.shell { min-height: 100vh; padding: 16px; display: grid; grid-template-columns: 256px 1fr; gap: 16px; }
|
|
.sidebar, .main { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow); }
|
|
.sidebar { padding: 16px; display: flex; flex-direction: column; gap: 22px; }
|
|
.brand { height: 48px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
|
|
.logo { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #2f66c9, #5a8ded); color: white; display: grid; place-items: center; font-size: 18px; font-weight: 600; }
|
|
.group-label { display: flex; align-items: center; gap: 8px; color: var(--text-tertiary); font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 8px; margin-top: 4px; }
|
|
.dot-ring { width: 14px; height: 14px; border: 1.5px dashed var(--text-tertiary); border-radius: 999px; flex: none; }
|
|
.nav { display: grid; gap: 4px; }
|
|
.nav-item { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: var(--radius-control); padding: 8px 10px; color: var(--text-secondary); font-size: 13px; text-decoration: none; transition: all .15s; }
|
|
.nav-item:hover { background: var(--surface-muted); }
|
|
.nav-item.active { background: var(--surface-muted); color: var(--text-primary); font-weight: 500; }
|
|
.count { border-radius: 999px; padding: 2px 8px; background: var(--surface-muted); color: var(--text-secondary); font-size: 11px; font-weight: 500; }
|
|
.main { overflow: hidden; }
|
|
.topbar { height: 48px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; font-size: 14px; }
|
|
.topbar-title { display: flex; align-items: center; gap: 10px; }
|
|
.topbar-icon { width: 20px; height: 20px; opacity: .7; }
|
|
.content { padding: 24px 28px 32px; display: grid; gap: 24px; }
|
|
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
|
|
h1 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.005em; }
|
|
.subtitle { margin-top: 6px; color: var(--text-secondary); font-size: 14px; line-height: 1.4; }
|
|
.actions { display: flex; gap: 8px; align-items: center; }
|
|
button, .button { border: 1px solid var(--border-strong); background: var(--surface); border-radius: var(--radius-control); padding: 8px 14px; color: var(--text-primary); font: inherit; font-size: 12px; cursor: pointer; transition: all .15s; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
|
|
button:hover, .button:hover { background: var(--surface-muted); }
|
|
button.primary, .button.primary { background: var(--text-primary); color: #fff; border-color: var(--text-primary); }
|
|
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow); padding: 20px; }
|
|
.tabs { display: inline-flex; background: var(--surface-muted); border-radius: 12px; padding: 4px; gap: 4px; }
|
|
.tab { padding: 6px 12px; border-radius: var(--radius-control); color: var(--text-secondary); font-size: 12px; cursor: pointer; transition: all .15s; border: 1px solid transparent; text-decoration: none; }
|
|
.tab.active { background: var(--surface); color: var(--text-primary); border: 1px solid var(--border); box-shadow: var(--shadow); }
|
|
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
|
|
.kpi { min-height: 84px; border: 1px solid var(--border); border-radius: var(--radius-tile); background: var(--surface-muted); padding: 14px; display: flex; flex-direction: column; }
|
|
.kpi-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
|
|
.glyph { width: 28px; height: 28px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); display: inline-grid; place-items: center; box-shadow: var(--shadow); font-size: 14px; flex: none; }
|
|
.kpi-label { color: var(--text-secondary); font-size: 13px; }
|
|
.kpi-num { font-size: 28px; font-weight: 600; line-height: 1.1; margin-top: auto; }
|
|
.kpi-trend { font-size: 12px; color: var(--green); margin-top: 4px; font-weight: 500; }
|
|
.kpi-trend.down { color: var(--text-tertiary); }
|
|
.grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
|
|
.grid-full { display: grid; grid-template-columns: 1fr; gap: 16px; }
|
|
.card-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
|
|
.tick-rule { height: 24px; margin: 8px 0 16px; background: repeating-linear-gradient(90deg, var(--border) 0 1px, transparent 1px 8px); }
|
|
table { width: 100%; border-collapse: collapse; font-size: 13px; }
|
|
.table-scroll { overflow-x: auto; }
|
|
.table-scroll table { min-width: 760px; }
|
|
th { text-align: left; padding: 10px 12px; color: var(--text-tertiary); font-size: 11px; font-weight: 500; letter-spacing: .01em; background: var(--surface-muted); text-transform: uppercase; }
|
|
td { padding: 14px 12px; border-top: 1px solid var(--border); color: var(--text-secondary); }
|
|
td strong { color: var(--text-primary); font-weight: 500; }
|
|
.mono { font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace; font-size: 12px; }
|
|
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 500; }
|
|
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
|
|
.active-pill { background: var(--active-bg); color: var(--active-fg); }
|
|
.pending-pill { background: var(--pending-bg); color: var(--pending-fg); }
|
|
.feature-pill { background: var(--feature-bg); color: var(--feature-fg); }
|
|
.danger-pill { background: var(--danger-bg); color: var(--danger-fg); }
|
|
.avatar { width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--border); background: linear-gradient(135deg, #dcecff, #f8eadb); display: inline-grid; place-items: center; color: var(--text-secondary); font-size: 11px; font-weight: 500; margin-right: 8px; overflow: hidden; flex: none; }
|
|
.avatar img { width: 100%; height: 100%; object-fit: cover; }
|
|
.contrib { display: grid; gap: 10px; }
|
|
.person { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--border); border-radius: 12px; padding: 12px; background: var(--surface-muted); }
|
|
.person-info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
|
|
.person-name { font-weight: 500; font-size: 13px; color: var(--text-primary); }
|
|
.person-role { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
|
|
.chart-container { position: relative; height: 180px; margin-top: 16px; }
|
|
.chart { width: 100%; height: 100%; }
|
|
.chart-bars { display: flex; align-items: flex-end; justify-content: space-between; height: 100%; gap: 8px; }
|
|
.bar { flex: 1; background: linear-gradient(180deg, var(--green) 0%, #2d8a47 100%); border-radius: 4px 4px 0 0; min-height: 4px; position: relative; transition: all .2s; }
|
|
.bar:hover { opacity: .85; }
|
|
.bar-label { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--text-tertiary); white-space: nowrap; }
|
|
.trend-line { display: flex; align-items: flex-end; height: 100%; gap: 2px; }
|
|
.trend-point { flex: 1; background: var(--feature-fg); border-radius: 2px 2px 0 0; min-height: 2px; }
|
|
.issue-row { display: flex; align-items: start; gap: 12px; padding: 14px 12px; border-top: 1px solid var(--border); }
|
|
.issue-row:first-child { border-top: none; }
|
|
.issue-icon { width: 20px; height: 20px; border-radius: 999px; background: var(--active-bg); color: var(--active-fg); display: grid; place-items: center; font-size: 11px; flex: none; margin-top: 2px; }
|
|
.issue-icon.pr { background: var(--feature-bg); color: var(--feature-fg); }
|
|
.issue-content { flex: 1; min-width: 0; }
|
|
.issue-title { font-size: 14px; font-weight: 500; color: var(--text-primary); margin-bottom: 4px; }
|
|
.issue-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--text-tertiary); margin-top: 6px; }
|
|
.issue-meta span { display: flex; align-items: center; gap: 4px; }
|
|
.provenance-note { color: var(--text-tertiary); font-size: 12px; line-height: 1.5; padding: 4px 2px; }
|
|
@media (max-width: 980px) {
|
|
.shell { grid-template-columns: 1fr; }
|
|
.kpis { grid-template-columns: repeat(2, 1fr); }
|
|
.grid { grid-template-columns: 1fr; }
|
|
.sidebar { min-height: auto; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="shell">
|
|
<aside class="sidebar" data-od-id="sidebar">
|
|
<div class="brand">
|
|
<div class="logo">OD</div>
|
|
<span>open-design</span>
|
|
</div>
|
|
|
|
<section>
|
|
<div class="group-label"><span class="dot-ring"></span> Repository</div>
|
|
<div class="nav">
|
|
<a href="#overview" class="nav-item active">Overview</a>
|
|
<a href="#activity" class="nav-item">Activity <span class="count">5</span></a>
|
|
<a href="#contributors" class="nav-item">Contributors <span class="count">87</span></a>
|
|
<a href="#community" class="nav-item">Community</a>
|
|
</div>
|
|
</section>
|
|
|
|
<section>
|
|
<div class="group-label"><span class="dot-ring"></span> Metrics</div>
|
|
<div class="nav">
|
|
<a href="#growth-chart" class="nav-item">Stars Growth</a>
|
|
<a href="#fork-trend" class="nav-item">Fork Activity</a>
|
|
<a href="#activity" class="nav-item">Issue Trends</a>
|
|
<a href="#activity" class="nav-item">PR Velocity</a>
|
|
</div>
|
|
</section>
|
|
|
|
<section>
|
|
<div class="group-label"><span class="dot-ring"></span> Quick Links</div>
|
|
<div class="nav">
|
|
<a href="https://github.com/nexu-io/open-design" class="nav-item">GitHub Repository</a>
|
|
<a href="https://github.com/nexu-io/open-design#readme" class="nav-item">Documentation</a>
|
|
<a href="https://github.com/nexu-io/open-design/discussions" class="nav-item">Discussions</a>
|
|
</div>
|
|
</section>
|
|
</aside>
|
|
|
|
<main class="main">
|
|
<div class="topbar" data-od-id="topbar">
|
|
<div class="topbar-title">
|
|
<svg class="topbar-icon" fill="currentColor" viewBox="0 0 16 16">
|
|
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/>
|
|
</svg>
|
|
<span>open-design Dashboard</span>
|
|
</div>
|
|
<div class="actions">
|
|
<button>May 6, 2026</button>
|
|
<button>⟳ Refresh</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<header class="page-head" data-od-id="repo-header" id="overview">
|
|
<div>
|
|
<h1>nexu-io/open-design</h1>
|
|
<div class="subtitle">Local-first, open-source alternative to Anthropic's Claude Design. 19 Skills · 71 brand-grade Design Systems · Generate web/desktop/mobile prototypes · slides · images · videos</div>
|
|
</div>
|
|
<div class="actions">
|
|
<a class="button" href="https://github.com/nexu-io/open-design">View on GitHub →</a>
|
|
</div>
|
|
</header>
|
|
|
|
<section class="card">
|
|
<div class="tabs" role="tablist" aria-label="Dashboard sections">
|
|
<a href="#overview" class="tab active" role="tab">Metrics</a>
|
|
<a href="#activity" class="tab" role="tab">Activity</a>
|
|
<a href="#contributors" class="tab" role="tab">Contributors</a>
|
|
<a href="#community" class="tab" role="tab">Community</a>
|
|
</div>
|
|
|
|
<div class="kpis" style="margin-top:16px" data-od-id="kpi-strip">
|
|
<div class="kpi">
|
|
<div class="kpi-top">
|
|
<span class="glyph">⭐</span>
|
|
<span class="kpi-label">Stars</span>
|
|
</div>
|
|
<div class="kpi-num">29,070</div>
|
|
<div class="kpi-trend">+2,847 this week</div>
|
|
</div>
|
|
|
|
<div class="kpi">
|
|
<div class="kpi-top">
|
|
<span class="glyph">⑂</span>
|
|
<span class="kpi-label">Forks</span>
|
|
</div>
|
|
<div class="kpi-num">3,167</div>
|
|
<div class="kpi-trend">+218 this week</div>
|
|
</div>
|
|
|
|
<div class="kpi">
|
|
<div class="kpi-top">
|
|
<span class="glyph">◎</span>
|
|
<span class="kpi-label">Contributors</span>
|
|
</div>
|
|
<div class="kpi-num">87</div>
|
|
<div class="kpi-trend">12 active</div>
|
|
</div>
|
|
|
|
<div class="kpi">
|
|
<div class="kpi-top">
|
|
<span class="glyph">◌</span>
|
|
<span class="kpi-label">Open Issues</span>
|
|
</div>
|
|
<div class="kpi-num">230</div>
|
|
<div class="kpi-trend down">450 total</div>
|
|
</div>
|
|
|
|
<div class="kpi">
|
|
<div class="kpi-top">
|
|
<span class="glyph">↑</span>
|
|
<span class="kpi-label">Pull Requests</span>
|
|
</div>
|
|
<div class="kpi-num">5</div>
|
|
<div class="kpi-trend down">653 total</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="grid">
|
|
<div class="card" data-od-id="growth-chart" id="growth-chart">
|
|
<div class="card-title"><span class="dot-ring"></span> Star Growth (Last 30 Days)</div>
|
|
<div class="chart-container">
|
|
<div class="chart-bars">
|
|
<div class="bar" style="height: 45%;">
|
|
<span class="bar-label">W1</span>
|
|
</div>
|
|
<div class="bar" style="height: 62%;">
|
|
<span class="bar-label">W2</span>
|
|
</div>
|
|
<div class="bar" style="height: 78%;">
|
|
<span class="bar-label">W3</span>
|
|
</div>
|
|
<div class="bar" style="height: 100%;">
|
|
<span class="bar-label">W4</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<aside class="card" data-od-id="contributors" id="contributors">
|
|
<div class="card-title"><span class="dot-ring"></span> Top Contributors</div>
|
|
<div class="tick-rule"></div>
|
|
<div class="contrib">
|
|
<div class="person">
|
|
<div class="person-info">
|
|
<div class="avatar">
|
|
<img src="https://avatars.githubusercontent.com/u/26423749?v=4" alt="pftom" />
|
|
</div>
|
|
<div>
|
|
<div class="person-name">pftom</div>
|
|
<div class="person-role">26 contributions</div>
|
|
</div>
|
|
</div>
|
|
<span class="pill pending-pill">26</span>
|
|
</div>
|
|
<div class="person">
|
|
<div class="person-info">
|
|
<div class="avatar">
|
|
<img src="https://avatars.githubusercontent.com/u/20859779?v=4" alt="lefarcen" />
|
|
</div>
|
|
<div>
|
|
<div class="person-name">lefarcen</div>
|
|
<div class="person-role">18 contributions</div>
|
|
</div>
|
|
</div>
|
|
<span class="pill pending-pill">18</span>
|
|
</div>
|
|
<div class="person">
|
|
<div class="person-info">
|
|
<div class="avatar">
|
|
<img src="https://avatars.githubusercontent.com/u/201593046?v=4" alt="Sid-Qin" />
|
|
</div>
|
|
<div>
|
|
<div class="person-name">Sid-Qin</div>
|
|
<div class="person-role">17 contributions</div>
|
|
</div>
|
|
</div>
|
|
<span class="pill pending-pill">17</span>
|
|
</div>
|
|
<div class="person">
|
|
<div class="person-info">
|
|
<div class="avatar">
|
|
<img src="https://avatars.githubusercontent.com/u/3953668?v=4" alt="nettee" />
|
|
</div>
|
|
<div>
|
|
<div class="person-name">nettee</div>
|
|
<div class="person-role">10 contributions</div>
|
|
</div>
|
|
</div>
|
|
<span class="pill pending-pill">10</span>
|
|
</div>
|
|
<div class="person">
|
|
<div class="person-info">
|
|
<div class="avatar">
|
|
<img src="https://avatars.githubusercontent.com/u/56862773?v=4" alt="alchemistklk" />
|
|
</div>
|
|
<div>
|
|
<div class="person-name">alchemistklk</div>
|
|
<div class="person-role">9 contributions</div>
|
|
</div>
|
|
</div>
|
|
<span class="pill pending-pill">9</span>
|
|
</div>
|
|
</div>
|
|
</aside>
|
|
</section>
|
|
|
|
<section class="grid-full">
|
|
<div class="card" data-od-id="activity" id="activity">
|
|
<div class="card-title"><span class="dot-ring"></span> Recent Activity</div>
|
|
<div class="table-scroll">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 50px;">Type</th>
|
|
<th>Title</th>
|
|
<th style="width: 120px;">Status</th>
|
|
<th style="width: 140px;">Author</th>
|
|
<th style="width: 100px;">Updated</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<span class="issue-icon pr">PR</span>
|
|
</td>
|
|
<td><strong>Add Alipay merchant onboarding skill</strong></td>
|
|
<td>
|
|
<span class="pill feature-pill">feature</span>
|
|
</td>
|
|
<td>
|
|
<div style="display: flex; align-items: center;">
|
|
<span class="avatar" style="margin-right: 8px;">
|
|
<img src="https://avatars.githubusercontent.com/u/238133142?v=4" alt="leilei926524-tech" />
|
|
</span>
|
|
<span>leilei926524-tech</span>
|
|
</div>
|
|
</td>
|
|
<td class="mono" style="color: var(--text-tertiary);">2 hours ago</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="issue-icon issue">ISSUE</span></td>
|
|
<td><strong>Add clear success feedback after saving API keys in Settings</strong></td>
|
|
<td><span class="pill danger-pill">bug</span></td>
|
|
<td>
|
|
<div style="display: flex; align-items: center;">
|
|
<span class="avatar" style="margin-right: 8px;"><img src="https://avatars.githubusercontent.com/u/237175303?v=4" alt="shangxinyu1" /></span>
|
|
<span>shangxinyu1</span>
|
|
</div>
|
|
</td>
|
|
<td class="mono" style="color: var(--text-tertiary);">2 hours ago</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="issue-icon issue">ISSUE</span></td>
|
|
<td><strong>hermes json-rpc id 2: Invalid params</strong></td>
|
|
<td><span class="pill danger-pill">bug</span></td>
|
|
<td>
|
|
<div style="display: flex; align-items: center;">
|
|
<span class="avatar" style="margin-right: 8px;"><img src="https://avatars.githubusercontent.com/u/42241934?v=4" alt="zlpawn" /></span>
|
|
<span>zlpawn</span>
|
|
</div>
|
|
</td>
|
|
<td class="mono" style="color: var(--text-tertiary);">3 hours ago</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="issue-icon pr">PR</span></td>
|
|
<td><strong>fix: 修复0.4.0版本聊天窗口宽度溢出问题</strong></td>
|
|
<td><span class="pill active-pill">bug-fix</span></td>
|
|
<td>
|
|
<div style="display: flex; align-items: center;">
|
|
<span class="avatar" style="margin-right: 8px;"><img src="https://avatars.githubusercontent.com/u/12208097?v=4" alt="1119302165" /></span>
|
|
<span>1119302165</span>
|
|
</div>
|
|
</td>
|
|
<td class="mono" style="color: var(--text-tertiary);">4 hours ago</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="issue-icon issue">ISSUE</span></td>
|
|
<td><strong>Fix Open Design not reading the latest model list from Codex CLI</strong></td>
|
|
<td><span class="pill danger-pill">bug</span></td>
|
|
<td>
|
|
<div style="display: flex; align-items: center;">
|
|
<span class="avatar" style="margin-right: 8px;"><img src="https://avatars.githubusercontent.com/u/237175303?v=4" alt="shangxinyu1" /></span>
|
|
<span>shangxinyu1</span>
|
|
</div>
|
|
</td>
|
|
<td class="mono" style="color: var(--text-tertiary);">5 hours ago</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="grid">
|
|
<div class="card" id="fork-trend">
|
|
<div class="card-title"><span class="dot-ring"></span> Fork Trend (Last 30 Days)</div>
|
|
<div class="chart-container">
|
|
<div class="trend-line">
|
|
<div class="trend-point" style="height: 35%;"></div>
|
|
<div class="trend-point" style="height: 42%;"></div>
|
|
<div class="trend-point" style="height: 48%;"></div>
|
|
<div class="trend-point" style="height: 55%;"></div>
|
|
<div class="trend-point" style="height: 61%;"></div>
|
|
<div class="trend-point" style="height: 68%;"></div>
|
|
<div class="trend-point" style="height: 74%;"></div>
|
|
<div class="trend-point" style="height: 82%;"></div>
|
|
<div class="trend-point" style="height: 88%;"></div>
|
|
<div class="trend-point" style="height: 95%;"></div>
|
|
<div class="trend-point" style="height: 100%;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card">
|
|
<div class="card-title"><span class="dot-ring"></span> Repository Stats</div>
|
|
<div class="tick-rule"></div>
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td><strong>Primary Language</strong></td>
|
|
<td style="text-align: right;">TypeScript</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>License</strong></td>
|
|
<td style="text-align: right;">Apache-2.0</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>Created</strong></td>
|
|
<td style="text-align: right;">Apr 28, 2026</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>Last Updated</strong></td>
|
|
<td style="text-align: right;">May 6, 2026</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>Repository Size</strong></td>
|
|
<td style="text-align: right;">112 MB</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
<footer class="provenance-note" data-od-id="provenance">
|
|
Updated May 6, 2026 from public GitHub API fields. Estimated trend data is documented in provenance.json.
|
|
</footer>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
</body>
|
|
</html>
|