Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

nocobase-prototype-repro

БесплатноБез исполняемых скриптовНе проверен

NocoBase 2 only; never use in a NocoBase 3 project. Use when a task provides a prototype to reproduce — an HTML file, an image, or a link, INCLUDING the…

nocobaseот nocobase★ 54 звезды на GitHub

Об этом скилле

Goal

Turn a prototype + a one-line ask into a faithful NocoBase app. This is a meta / orchestration skill — it sequences nocobase-data-modeling + nocobase-ui-builder + nocobase-app-discipline and adds the two things that decide fidelity: a region → native-block mapping and a visual convergence loop. It does not re-teach the CLI; it routes to the sibling skills for mechanics and owns only the reproduction-specific judgment.

When to use / Non-Goals

Hard gate (check before selecting this skill): there must be an actual prototype in hand — an HTML file, a screenshot, or a link to one — that you are matching against. No prototype, no fidelity gap → this is not the skill; a plain "build me an app / a page" request belongs to nocobase-app-discipline (whole system) or nocobase-ui-builder (single page/edit). Do not let this skill shadow the normal build flow.

Use when:

  • The user gives a prototype (HTML file, link, screenshot, or a public/prototypes/... URL to curl) and wants it reproduced in NocoBase.
  • A page already exists but the user says it's monotone / ugly / doesn't match the prototype / a region should be a list/card/kanban instead of a table — i.e. there is a visual target and a fidelity gap.

Non-Goals — hand off, do not do here:

  • Pure data modeling (collections/fields/relations with no visual target) → nocobase-data-modeling.
  • Workflows / automations → nocobase-workflow-manage. ACL / permissions → nocobase-acl-manage. Plugin work → nocobase-plugin-development.
  • A localized UI edit with no visual target and no fidelity gap (move one field, rename an action, tweak a reaction) → nocobase-ui-builder directly. This skill is only worth its overhead when you are matching a prototype's look/behavior; for a mechanical surface edit, skip straight to ui-builder.
  • Whole-page authoring from a business sentence with no prototype → author a quick prototype first (prototype-authoring.md), then this skill; or if the user just wants a generic page, that's nocobase-ui-builder's applyBlueprint.

Router — task shape → read first

Hit one route, read its "first" doc, and only open the "then" docs when that route is still not enough. Sibling skills own the mechanics; the reference files here own the reproduction-specific judgment.

Task shape Read first Then, as needed
Prototype handed over → reproduce end-to-end spec-template.md (Phase 1 SPEC) decomposition-grammar.md, block-recipes.md, gotchas.md, visual-loop.md
Existing page is monotone / ugly / off visual-loop.md block-recipes.md, gotchas.md
"Which block for this region?" the Region → native block table below decomposition-grammar.md, block-recipes.md
Need a JS body for a widget (KPI card, donut, leaderboard, due-soon alert, progress bar, trend, facet filter, card grid, …) template-library/_index.md — 57 copy-pastable widget bodies, each with its $p input contract block-recipes.md
Build/edit JS, flow-surfaces, popup, chart mechanics + runnable CLI nocobase-ui-builder (its js.md / popup.md / chart.md / runjs-* / page-archetypes.md) —
Collections / fields / relations nocobase-data-modeling —
Scope discipline, seed standards, naming, final report nocobase-app-discipline —
No prototype given, must author one prototype-authoring.md —
Hand the build to another agent from a one-line prompt handoff.md —
Full reference list index.md —

Why fidelity varies — the levers (internalize these)

Observed across many reproductions, in order of impact:

  1. The screenshot→compare→fix loop. The single biggest factor. An agent that renders, looks at its own screenshot next to the prototype, lists the gaps, and iterates converges. One that builds and declares done plateaus at "no errors but ugly". Text-only verification proves "it renders"; only a visual pass proves "it matches". See visual-loop.md.
  2. Gotchas pre-loaded. The 10–20% that stalls weak runs is almost always the alpha-version JS sandbox + flow-surfaces JSON contract. Pre-supplying those skips ~10–20 failed attempts and stops the failure mode where the agent gives up and collapses the page into one big JS block. See gotchas.md.
  3. Targets bound tightly. "Page uid X, block uid Y, do these N things, verify before done" beats "fix this page". Vague targets ca
Полный SKILL.md на GitHub

Установить nocobase-prototype-repro в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

shell
Read

Вложенные файлы

references/block-recipes.mdreferences/decomposition-grammar.mdreferences/gotchas.mdreferences/handoff.mdreferences/index.mdreferences/prototype-authoring.mdreferences/spec-template.mdreferences/template-library/_index.mdreferences/template-library/autoRefresh.mdreferences/template-library/avatarText.mdreferences/template-library/calendarHeatmap.mdreferences/template-library/card.mdreferences/template-library/charCounter.mdreferences/template-library/clickDistribution.mdreferences/template-library/comboText.mdreferences/template-library/commentFeed.mdreferences/template-library/conditionCards.mdreferences/template-library/conditionMenu.mdreferences/template-library/copyFromField.mdreferences/template-library/customFilter.mdreferences/template-library/dateRangeFilter.mdreferences/template-library/distribution.mdreferences/template-library/donutChart.mdreferences/template-library/dueSoon.mdreferences/template-library/exportCsv.mdreferences/template-library/facetFilter.mdreferences/template-library/formAutoFill.mdreferences/template-library/formCalc.mdreferences/template-library/formConcat.mdreferences/template-library/formDrivenFilter.mdreferences/template-library/formSubtotal.mdreferences/template-library/formToggleBlocks.mdreferences/template-library/funnelStages.mdreferences/template-library/heroBanner.mdreferences/template-library/highlightNumber.mdreferences/template-library/jsFree.mdreferences/template-library/kpiStat.mdreferences/template-library/leaderboard.mdreferences/template-library/linkedList.mdreferences/template-library/matrixHeatmap.md

FAQ

Что делает скилл nocobase-prototype-repro?

NocoBase 2 only; never use in a NocoBase 3 project. Use when a task provides a prototype to reproduce — an HTML file, an image, or a link, INCLUDING the published form "Build a NocoBase app — X … Match the layout and signature visuals of this reference prototype: <url>" — or when someone says a built page "doesn't match the prototype / looks monotone / is ugly". A prototype/URL being present is what triggers this skill, EVEN WHEN the same prompt also says "build an app" — the verb "build" does not cancel the prototype. Skip it only when there is NO prototype at all: a bare "build me a CRM/app" → nocobase-app- discipline; a one-field edit / rename → nocobase-ui-builder. It turns "here is the prototype, build it" into a faithful app — analyze prototype, native CRUD, the right native block per region, then a screenshot-vs-prototype visual loop. Native-first; JS only inside a native container; never a full-page JS block. Mechanics live in nocobase-ui-builder, nocobase-data-modeling, nocobase-app-discipline.

Как установить скилл nocobase-prototype-repro?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл nocobase-prototype-repro запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить nocobase-prototype-repro с