285 Commits

Author SHA1 Message Date
Jallepalli Harsha Vardhan
28b3b8dee8
fix: don't read '3d'/'2fa' after a stack name as a framework version (#548)
The version pattern in _stack_query_requests_legacy had no trailing
boundary, so 'react 3d ...' parsed as React 3 and the query got only
deprecated rows (or none, for stacks without legacy guidance).

Fixes #547
2026-10-26 17:07:27 +07:00
Shubham Padkonde
1f8857914d
fix: clean up successful legacy release downloads (#546) 2026-10-26 14:06:53 +07:00
Matt Van Horn
d14efff8ed
docs: replace disabled Discussion links and the 404 stack clone URL (#543)
Conduct reports now go only through the contact listed on uupm.cc.
General questions now go to the repository issues page, and the README
remains the other place to look. The quickstart clones this repository
and enters ui-ux-pro-max-skill/stack before the existing setup step. A
community-docs test checks those sections for the replacement
destinations, the absence of the dead Discussion and old clone URLs,
enforcement staying off public issues and mailto links, and the setup
script being present.

Refs #542

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
2026-10-23 17:06:30 +07:00
Elvin Novruzov
28327f2f21
docs: sync Azerbaijani README with the English one (#541)
Add the Kimi Code install lines and supported-agents entry (#538) and translate the new 'Apply a theme to an existing app' section (#537). Code blocks and commands are unchanged.
2026-10-23 08:06:30 +07:00
Elvin Novruzov
04cfb449bd
fix: make verify:data pass on Windows checkouts (#540)
* fix: pin relevance-fingerprinted files to LF

evaluate-relevance.py hashes the raw bytes of core.py, design_system.py, reasoning_contract.py, relevance_metrics.py, itself, relevance-cases.json and every CSV under src/ui-ux-pro-max/data, including data/stacks. On a Windows checkout with core.autocrlf=true these become CRLF (data/stacks/*.csv is not matched by the existing data/*.csv pin) and the gate fails with 'runtimeFingerprint does not match' on a clean tree. Pin the missing files to LF, as is already done for the catalog data (#462/#478).

* fix(cli): quote the test:python pattern so it runs on Windows

The single-quoted -p 'test_*.py' is passed literally by cmd.exe, so unittest discovers nothing and exits with 'NO TESTS RAN', which stops verify:data on Windows. Double quotes work in both cmd.exe and POSIX shells.
2026-10-23 05:08:59 +07:00
Elvin Novruzov
076a2b3a31
feat(cli): add Kimi Code platform (--ai kimi) (#538)
* feat(cli): add Kimi Code platform (--ai kimi)

Kimi Code discovers skills as SKILL.md folders (name + description frontmatter) in .kimi-code/skills/ (project) and ~/.kimi-code/skills/ (user). Add a kimi platform template, register the type, detect an existing .kimi-code folder, and document it in the README.

Tests: add kimi to the dry-run and script-path e2e specs. check:assets, typecheck and those specs pass; init --ai kimi was run in an empty repo. Kimi Code itself was not run.

Refs #455.

* test(cli): add kimi install and detection specs

Cover the rendered SKILL.md frontmatter, a real install into .kimi-code/skills (skill, data, scripts and sub-skills), and detection of a .kimi-code folder. Refs #455.

* fix(scripts): expect 24 platform configs in validate-agent-guide

Adding the kimi platform template raises the config count from 23 to 24. Keep the check strict and update the expected count. Refs #455.

* test(cli): expect 24 platform configs in agent-query-contract

The kimi platform raises the platform config count from 23 to 24. Refs #455.
2026-10-22 23:08:14 +07:00
monsterlag
623a9a9037
docs: explain how to theme an existing React app (#537) 2026-10-22 05:06:38 +07:00
Elvin Novruzov
3eccfd8d77
docs: add Azerbaijani README translation (#536)
Add README.az.md and link it from the language switcher in README.md.
2026-10-22 02:06:47 +07:00
Jul11us
56ea9cf174
feat(copilot): install as an Agent Skill in .github/skills (#533)
uipro init --ai copilot wrote .github/prompts/ui-ux-pro-max.prompt.md,
a prompt file that Copilot does not discover as a skill. It now installs
.github/skills/ui-ux-pro-max/SKILL.md with name/description frontmatter,
the data and scripts in the same folder and the sub-skills next to it,
which is where Copilot loads project skills. --global installs to
~/.copilot/skills/, Copilot's personal skills folder, through a new
optional folderStructure.globalRoot.

init and update remove the .github/prompts/ install they replace: the
prompt file, its data folder and the bundled sub-skills there. Other
files in .github/prompts/ are kept. uninstall removes both layouts.

Copilot is now detected from Copilot files (copilot-instructions.md,
instructions/, prompts/, agents/, skills/ or hooks/ under .github, or
~/.copilot/skills) instead of from any .github folder.

Closes #454

Co-authored-by: Jul11us <233702296+Jul11us@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 09:04:34 +07:00
Jul11us
616663179c
fix(design): image extensions, failure exit status and --pro model id (#532)
The logo and CIP scripts wrote whatever image Gemini returned under a
.png name. Nano Banana Pro returns JPEG, so --pro produced JPEG files
named .png. Both now take the extension from inline_data.mime_type, and
logo prints the path it actually wrote. Nothing is re-encoded.

The logo, CIP and icon scripts printed an error and exited 0 when a
request failed. They now exit 1 when nothing was generated: a failed
single request, or a batch, set or size set where every item failed. A
partial batch exits 0, since its summary already reports n/m.

--pro used gemini-3-pro-image-preview, which is past its listed
shutdown date. It now uses gemini-3-pro-image, and the model ids can be
overridden with GEMINI_FLASH_IMAGE_MODEL and GEMINI_PRO_IMAGE_MODEL.

Fixes #529

Co-authored-by: Jul11us <233702296+Jul11us@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 03:04:50 +07:00
XiaOldMan
7246805992
feat: add OpenClaw platform support (#527)
* feat: add OpenClaw platform support

Add OpenClaw as an install target so the skill can be installed with
`uipro init --ai openclaw` and removed via `uipro uninstall`.

OpenClaw discovers AgentSkills-format skills from `.agents/skills` in the
agent workspace and from `~/.agents/skills` (personal library on the default
state dir), so the platform config reuses the `.agents` layout already used
by the universal/codex targets with its own display name, detection entry,
and docs.

- new platform config src/ui-ux-pro-max/templates/platforms/openclaw.json
  (synced to cli/assets via sync:assets)
- register 'openclaw' in AIType, AI_TYPES, AI_FOLDERS, AI_TO_PLATFORM
- detect the shared .agents workspace directory and describe the platform
- keep the .agents-family suggestion on codex when all four .agents
  consumers are detected (length 2-3 -> 2-4)
- cover openclaw in the dry-run, template-script-paths, and
  agent-query-contract e2e specs
- document OpenClaw in README and cli/README

* chore: bump version to 2.15.0 in skill metadata files

Aligns skill.json, marketplace.json, and plugin.json with the latest
v2.15.0 release; main was still at 2.13.0. CLI package version stays on
its own npm release track.

* fix: cover OpenClaw in offline validator and detection regression

- bump scripts/validate-agent-guide.py PLATFORM_COUNT 21 -> 23 (main
  already had 22 configs with a stale count of 21; OpenClaw widens the
  gap to 23, so update the gate and keep it meaningful)
- add e2e regression: a sole .agents directory detects all four
  consumers (antigravity, codex, universal, openclaw) and still
  suggests codex rather than all
2026-10-12 18:08:03 +07:00
Younes Beriane
026b6e172c
fix(design): keep icon generator from corrupting SVGs or truncating output (#526)
* fix(design): keep icon generator from corrupting SVGs or truncating output

apply_viewbox_size rewrote every width/height attribute in the document,
including stroke-width and child elements, and only handled double quotes.
Restrict it to the root <svg> tag and set width and height independently.

generate_icon capped output at 4096 tokens, which truncates detailed icons.
Raise it to 16384 and report finish_reason MAX_TOKENS separately from
empty or malformed output.

Fixes #525

* fix(design): apply the response guard and MAX_TOKENS diagnosis to icon batch

generate_batch still indexed candidates[0].content.parts unguarded and
printed a bare "No valid SVGs generated." Share the response-text
extraction and the no-SVG diagnosis with generate_icon, treat text=None
as an empty response, and warn when a batch is cut off at MAX_TOKENS
after returning fewer icons than requested.

Refs #525

* fix(design): match only real root attributes when sizing icon SVGs

_set_root_attr searched the root tag with a regex, so width= or height=
text inside another quoted attribute value (aria-label="height='2'") was
rewritten and the output stopped being valid XML. Walk the tag's
attributes instead, consuming each quoted value whole, and only replace
an attribute whose name is exactly width or height.

Refs #525
2026-10-12 12:05:52 +07:00
Varrunan Projects
67803eac81
fix(brand): detect token sources under unlisted CSS filenames (#523)
The overwrite guard added in #501 scans a hardcoded list of CSS entry points
for `:root` custom properties and Tailwind v4 `@theme` blocks. The list only
held the plural `globals.css` spellings, so a project whose entry point is
`src/styles/global.css` — one letter apart — was never scanned. The guard
silently passed and `assets/design-tokens.{json,css}` was generated alongside
an existing palette, leaving two competing token systems and no warning.

Copying the same file to `src/index.css` made the guard fire correctly, which
confirms the detection logic was fine and only its candidate set was too narrow.

Widen the list with the singular spellings and `main.css` / `app.css`, then
shallow-scan a set of conventional style directories for any `*.css` so the
guard no longer depends on an exact filename. Detection itself is unchanged, so
the existing false-positive behaviour still holds: stylesheets with no custom
properties, commented-out `:root` blocks, and properties outside `:root` do not
block a sync.

Co-authored-by: Varrunan Projects <200937066+Varrunan-bit@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-10-11 06:05:22 +07:00
stanley
50d8a7de09
feat: add Amazon Q Developer platform support (#521)
* feat: add Amazon Q Developer platform support

Add Amazon Q Developer as an install target so the skill can be installed
with `uipro init --ai amazonq` and removed via `uipro uninstall`.

Amazon Q loads every Markdown file under .amazonq/rules/ (recursively) as
always-on chat context, so only the rendered rule file goes there
(.amazonq/rules/ui-ux-pro-max.md). Data, scripts and the bundled
sub-skills go to .amazonq/skills/ via dataPath, the same split copilot
uses, so their reference docs are not pulled into every chat.

- new platform config src/ui-ux-pro-max/templates/platforms/amazonq.json
  (synced to cli/assets via sync:assets)
- register 'amazonq' in AIType, AI_TYPES, AI_FOLDERS, AI_TO_PLATFORM
- detect .amazonq workspace directories and describe the platform
- cover amazonq in the dry-run and template-script-paths e2e specs
- document Amazon Q Developer in README and cli/README

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* docs: note that Amazon Q only auto-loads the rule file

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-09 12:06:45 +07:00
kimisuki
1a2c459b35
docs: sync stale catalog counts in stack docs (#517)
The stack/ starter kit was added in #424 and its catalog figures were
never refreshed, so they no longer match the generated source of truth
in src/ui-ux-pro-max/data/catalog-summary.json (or the main README):

  UI styles        84 -> 79 searchable
  font pairings    73 -> 74
  UX guidelines    99 -> 119

Verified against the data files: typography.csv has 74 rows,
ux-guidelines.csv has 119, and styles.csv has 88 total / 79 searchable.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-10-08 12:06:09 +07:00
Tim Panagos
15cc30a393
docs: add Vibe Rooster before/after example (#516)
* docs: add Vibe Rooster before/after example

* docs: address review feedback on example section

Move the before/after example under a new Examples section after Usage, drop the ?vr_gallery=1 query params, replace the hosted-on wording with neutral framing, and add a provenance line (author-supplied, illustrative, not a benchmark) with the generating command.

* docs: make example section neutral

Remove attribution and promotional wording from the example provenance note; keep a short disclaimer that it is an illustrative, community-contributed example, not an official demo or benchmark.

---------

Co-authored-by: Tim Panagos <tpanagos@users.noreply.github.com>
2026-10-08 09:08:49 +07:00
Neal Meyer
477bcb28c9
fix: stop Cursor skill pointing at empty Quick Reference (#509)
* fix: stop Cursor skill pointing at empty Quick Reference

Platforms that set quickReference to false omitted the inlined
reference but still told the agent to use "the Quick Reference
sections above." Resolve QR/NOQR variants so Cursor (and other
non-inlined platforms) follow the existing search flow instead.
Claude and Codex keep the inlined reference wording.

Co-authored-by: Neal Meyer <ngmeyer@users.noreply.github.com>

* fix: accept 21 platform configs after ZCode

ZCode landed on main without updating the agent-guide validator
or the platform-count e2e assertion. This branch did not add a
platform; the stale expected count of 20 was failing CI.

Co-authored-by: Neal Meyer <ngmeyer@users.noreply.github.com>

* fix: refresh stale relevance runtime fingerprint

verify:data would fail next on evaluate:relevance because main's
threshold manifest still hashed the pre-#500 runtime. Metrics are
unchanged; only the fingerprint now matches current scripts/data.

Co-authored-by: Neal Meyer <ngmeyer@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Neal Meyer <ngmeyer@users.noreply.github.com>
2026-10-03 23:05:26 +07:00
Clark Cant
09170eec67
Merge pull request #500 from alinultimatltd/fix/light-result-output-coherence
fix(design-system): agree on dark mode in light results, keep box output in bounds, readable button text
2026-09-27 18:30:41 +07:00
Clark Cant
823b0a14d3
Merge pull request #506 from HEOJUNFO/fix/threejs-deprecated-apis
fix(threejs): replace deprecated Clock and PCFSoftShadowMap in r185 guidance
2026-09-26 20:32:23 +07:00
heojunfo
6c69cb5058 fix(threejs): replace deprecated Clock and PCFSoftShadowMap in r185 guidance
The Three.js stack claims `threejs 0.185.1` but several rows still
recommend APIs that 0.185.1 deprecates and warns about at runtime:

- THREE.Clock (deprecated since r183) -> THREE.Timer with
  timer.update(timestamp) once per frame, getDelta()/getElapsed(),
  and timer.connect(document) to avoid a huge delta after a hidden tab.
  Rows 13, 31, 34, 45. Row 45 also stops calling getElapsedTime()
  per vertex (Clock.getElapsedTime() calls getDelta() internally).
- THREE.PCFSoftShadowMap (deprecated since r182, WebGLShadowMap warns
  and falls back to PCFShadowMap) -> PCFShadowMap, with shadow.radius /
  VSMShadowMap noted for softer edges. Rows 22, 23.
- GLTFLoader imported from three/examples/jsm -> three/addons, matching
  the rest of the file. Row 52.

Bump Verified At on touched rows, extend the freshness test's
forbidden-token list (three.clock, clock.getdelta,
clock.getelapsedtime, pcfsoftshadowmap, three/examples/jsm/) and add a
positive Timer lookup, refresh the relevance runtime fingerprint and
baseline, and re-sync mirrored assets.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-26 22:16:56 +09:00
Dmso
d62fe62f88
feat: add ZCode platform support (#504)
Add ZCode as a first-class install target so the skill can be installed
with `uipro init --ai zcode` (workspace) or `uipro init --ai zcode --global`
(~/.zcode/skills/), and removed via `uipro uninstall` auto-detection.

- new platform config src/ui-ux-pro-max/templates/platforms/zcode.json
  (synced to cli/assets via sync:assets)
- register 'zcode' in AIType union, AI_TYPES, AI_FOLDERS, AI_TO_PLATFORM
- detect .zcode workspace directories and describe the platform in CLI prompts
- cover zcode in the dry-run and template-script-paths e2e specs
- document ZCode in README install/usage sections

Co-authored-by: Dmso <22094486+dmsobtl@users.noreply.github.com>
2026-09-26 17:00:18 +07:00
Ravikoti Deekshith
dcc40ff513
docs: explain Claude Code output token limit (#503)
Squash-merged by github-maintain cron after maintain review/approval (2026-09-21). Closes #25.
2026-09-21 20:01:09 +07:00
Ray Tien
0d2b646cb6
feat(nuxt-ui): refresh guidance for v4.11 (#502)
Reverify the full stack catalog against Nuxt UI 4.11.1 and correct stale API examples. Add Splitter, ProgressGroup, motion, Vite detection, and CommandPalette security guidance.

Co-authored-by: Ray <ray.tien@cloudeep.com.tw>
2026-09-21 12:28:06 +07:00
Ray Tien
f1c725fd2f
feat(react): add React 19 guidelines to stack data (#344)
Squash-merged by github-maintain cron after maintainer approval (review 2026-06-20 by @mrgoonie) and conflict resolution (rebase to head 4bd45ba5, all checks green).
2026-09-21 10:28:15 +07:00
Ravikoti Deekshith
de5f12b400
fix: protect existing Tailwind and token configurations (#501)
Squash-merged by github-maintain cron after maintainer approval (review 2026-09-18) and follow-up gap-closing commit 83ad973. Closes #496.
2026-09-19 07:58:38 +07:00
alinultimatltd
79b64af0f9 fix(design-system): agree on dark mode in light results, keep box output in bounds, readable button text
- Mode Support no longer reads "Dark supported" next to an AVOID list that
  says "Dark mode". Light results now print "Dark supported, but avoid for
  this product" (the light-side counterpart of #428).
- ASCII box: long single-line fields (conversion, CTA, perf/a11y, Google
  Fonts URL, motion) now wrap, over-long tokens split, section headers and
  the CSS Import line were one char too wide, and the colour label column
  fits "Muted Foreground:".
- MASTER.md buttons: .btn-primary used hard-coded white text, below 4.5:1
  on the accent in 137/192 palettes; it now uses the palette's On Accent.
  .btn-secondary text falls back to Foreground when Primary is below 4.5:1
  on Background (94/192 palettes).

Adds regression tests for all three.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-16 12:30:38 +01:00
notbucki
15de38fb70
fix(design): make workflows self-contained, add bundled-skill contract (#498)
* fix(design): make workflows self-contained, add bundled-skill contract (#474 finding 2)

The design skill's banner and social-photos workflows named skills the plugin
does not ship (frontend-design, ai-artist, ai-multimodal, chrome-devtools,
project-management, assets-organizing) and claudekit command namespaces
(/ckm:brand, /ck:ui-ux-pro-max), so those steps fail or force the agent to
improvise under a plugin or CLI install. Rewrite them after the pattern of
#473: bundled skills stay referenced by name, optional tooling becomes an
optional runtime capability, unbundled steps are implemented inline or
dropped. The same references sat in references/social-photos-design.md, so
the fix covers the skill directory, not just SKILL.md; the CLI copy is synced.

check-asset-sync.yml gains a bundled-skill contract over both skill trees:
no /ck: or /ckm: namespace, every "`name` skill" reference must be a
directory under .claude/skills, and none of the claudekit-only names above
in any spelling.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* fix(design): address review - list-aware skill grep, case-insensitive denylist, banner intro, report naming

- contract grep 2 walks comma/and/or lists so every member is checked, not
  only the last one, and accepts the sub-skill and bold forms; grep 3 matches
  case-insensitively; the step comment states what is not covered
- banner intro no longer claims "no sibling skills" while step 2 names the
  bundled ui-ux-pro-max skill
- social-photos report name stated inline instead of "naming pattern from
  session hooks" (a claudekit convention nothing in the bundle provides);
  "persistent" dropped from the task-list step; device-scale note scoped to
  tools that support it

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* fix(ci): match wrapped skill lists - read each file as one record in the bundled-skill contract

A Markdown list wrapped over two lines ("`playwright-mcp`,\n`brand`, and
`ui-ux-pro-max` skills") passed the line-oriented allowlist grep. Read the
file as one record (-z, separators as \s+) so wrapped lists are still lists;
a hit now names the file and the name instead of the line. grep's own exit
status is taken inside the substitution so an unreadable file still fails the
step under plain bash -e, pipefail or not.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-15 16:29:29 +07:00
Clark Cant
7643fd1501
fix(brand): apply #497 to the source copy so check:assets passes again (#499)
fix(brand): apply #497 to the source copy so check:assets passes again
2026-09-15 16:00:41 +07:00
notbucki
975cba327e fix(brand): apply #497 to the source copy so check:assets passes again
#497 patched cli/assets/skills/brand/scripts/sync-brand-to-tokens.cjs and its
test, but sync-assets.mjs mirrors .claude/skills/ into cli/assets/, so the
source copy still carried the old adjustBrightness and check:assets reported
two stale asset files on main. That check is the first step of both CI
workflows, so every PR since then stopped there. Mirror the same two files
into the source copy; the diff is byte-identical to #497's.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-15 10:54:29 +02:00
nadiiasoshenko-netizen
d8ce090f82
fix(brand): stop adjustBrightness collapsing dark color shades to black (#497)
adjustBrightness() added/subtracted a flat 255*percent to every RGB
channel. For a dark base color (channels already close to 0), darkening
by -0.3/-0.45/-0.6 clamped every channel to 0, so shades 700, 800, and
900 all came back as the identical, useless #000000 instead of a graded
dark scale -- reproducible with any sufficiently dark brand primary
(e.g. #4A3228), not just an edge case.

Blend each channel proportionally toward white (percent > 0) or black
(percent < 0) instead, so the shift scales with how much headroom the
channel actually has.

Adds a regression test that syncs a dark brand color and asserts the
700/800/900 shades stay distinct and non-black.


Claude-Session: https://claude.ai/code/session_01MmtTPnoqMrjjhKjod9VTzr

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-15 07:00:09 +07:00
Duy /zuey/
7f69fed6a2
Enhance README with 3Dviz Pro Max skill details
Updated the README to include a new section for the 3Dviz Pro Max skill with improved formatting and links.
2026-09-10 13:53:40 +07:00
Duy /zuey/
9cf21aef9b
Update image sources and website link in README 2026-09-10 13:41:50 +07:00
Duy /zuey/
e7f7850dc7
Enhance README with 3Dviz Pro Max details
Updated the README to include a link to the 3Dviz Pro Max skill and corrected image links.
2026-09-10 13:36:17 +07:00
Duy /zuey/
53b8e6913e
Add 3Dviz Pro Max section to README
Added a section for the new skill '3Dviz Pro Max' with description and visuals.
2026-09-10 13:34:22 +07:00
Shxiao
4aad0584d9
feat(cli): add --dry-run to init to preview install actions without writing (#489)
feat(cli): add --dry-run to init to preview install actions without writing (#489)

Closes #291

- Adds resolveInstallPaths helper shared by real install and dry-run preview
- New planPlatformInstallActions / planAllPlatformInstallActions for read-only preview
- 3 e2e tests verify output content, no-write guarantee, and all-platforms coverage
- README docs included

*Approved and merged by github-maintain cron*
2026-09-06 18:29:23 +07:00
Shxiao
ce1586f774
fix(manifests): correct style and UX guideline counts in skill.json and plugin manifests (#488) 2026-09-06 17:28:42 +07:00
Shxiao
314307f156
fix(search): warn that --stack is ignored in --design-system mode (#484) (#487)
Merged by github-maintain automation. Closes #484 Finding 1 (priority-1 quick win: silent --stack flag drop in --design-system mode).
2026-09-06 11:31:08 +07:00
Shxiao
b2ac9b2aa1
docs(cli): correct cli/README.md license from CC-BY-NC-4.0 to MIT (#486) 2026-09-06 10:59:28 +07:00
Sat0h172943
f3ac195224
docs: remove unimplemented openclaw install command (#483)
The README instructed users to run `uipro init --ai openclaw`, but
"openclaw" is not a supported AIType in the CLI (cli/src/types/index.ts),
so the command fails.
2026-09-03 21:13:38 +07:00
notbucki
91c193ac05
fix(skills): skill-relative paths below SKILL.md, widen path contract (#482)
Refs #474 (finding 1 follow-up to #476, which rewrote design/SKILL.md
and added a contract that grepped only */SKILL.md; the same defect one
level down survived).

- 29 home-rooted paths (~/.claude/skills/design/scripts/...) in
  design/references/{cip,icon,logo}-design.md -> scripts/... (27 at
  review time, two more added by #470); the printed
  hint in design/scripts/cip/generate.py now derives the absolute path
  from __file__
- 19 project-rooted invocations (.claude/skills/<skill>/scripts/...) in
  brand/, slides/ and design/ references -> scripts/... (own skill) or
  ../<skill>/scripts/... (sibling sub-skill; sub-skills are installed
  side by side in every layout)
- brand/scripts/sync-brand-to-tokens.cjs resolved its sibling script from
  process.cwd(), silently skipping CSS regeneration under plugin and
  --global installs; now resolved from __dirname, with a warning when
  the sibling skill is missing; regression test asserts the regeneration
- brand/scripts/extract-colors.cjs: tool-neutral hint instead of a
  project-rooted path into a skill this plugin does not ship
- "Script Paths" section in the five sub-skills that invoke scripts:
  script path from the skill directory, working directory at the
  project root
- new test_skill_script_paths.py (src, mirrored to both scripts/tests
  copies): every python/node/bash invocation in every shipped skill
  markdown must be skill-relative and name a file that ships
- check-asset-sync.yml: contract covers every file under both skill
  trees and home-/project-/variable-rooted forms; ${CLAUDE_PLUGIN_ROOT}
  allowed only in the plugin-only core SKILL.md; LC_ALL=C + -I for the tracked
  .coverage binary; grep errors fail instead of passing; push filter
  includes the workflow and sync-assets.mjs
- CLI copy regenerated via sync-assets.mjs

Co-authored-by: notbucki <daniel@buckenmaier.xyz>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-03 15:14:02 +07:00
Duy /zuey/
d9062e3bc2
Update link to AgentKit in README 2026-09-03 14:25:13 +07:00
Clark Cant
08b2e54ce0
Merge pull request #470 from Anil-matcha/add-muapi-logo-provider
feat(design): add opt-in MuAPI logo provider
2026-09-03 10:45:54 +07:00
speedy75015-crypto
58c220ff9d
docs: document the project-slug level in the design-system tree (#479)
--persist writes design-system/<project-slug>/MASTER.md, but all four
READMEs document design-system/MASTER.md, omitting the per-project
folder. Following the README leads readers to look for files that are
never created there.

The code is unambiguous (design_system.py:1020):

    design_system_dir = base_dir / "design-system" / project_slug

and search.py's own --help already documents it correctly, so this is a
documentation gap rather than a behaviour question.

The slug level is not incidental: without it, two projects persisted
into the same directory would overwrite each other's MASTER.md.

Updated in README.md, README.ko.md, README.vi.md and README.zh.md:
the folder tree, the hierarchical-retrieval steps and the context-aware
retrieval prompt. Uses the concrete slug "myapp" where the surrounding
example runs -p "MyApp", and [project-slug] where the text is generic.


Claude-Session: https://claude.ai/code/session_015UidECV1wVBD8SW6Abuj71

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-02 17:45:32 +07:00
speedy75015-crypto
e2effd5775
fix(data): make catalog snapshot hashes line-ending independent (#478)
* fix(data): regenerate stale catalog-summary snapshot hashes

catalog-summary.json was not regenerated after google-fonts.csv,
google-font-licenses.json, icons.csv and phosphor-icons-upstream.json
changed, so `npm --prefix cli run verify:data` fails on a clean
checkout of main:

  validate:semantic          4 stale snapshot errors
  validate:catalog-summary   "catalog-summary.json is stale"
  test:python                1 failure / 153
  check:assets               2 files out of sync

Regenerated with the existing --verified-at 2026-08-26: only the four
sha256 fields change. The date is a human attestation that the font
catalog was checked against the upstream google/fonts repository, so it
is deliberately left untouched -- no such verification was performed
here.

verify:data now exits 0.

Note: prepublishOnly runs sync:assets before verify:data, which
regenerates the snapshot at publish time. That is why released packages
are unaffected and the drift stayed invisible on main.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015UidECV1wVBD8SW6Abuj71

* fix(data): make catalog snapshot hashes line-ending independent

Root cause of the stale snapshot restored in the previous commit.

bd19ab9 (#462) regenerated catalog-summary.json from a CRLF checkout.
Every recorded sha256 was the CRLF hash of its source file, so the
check failed on every LF platform. The four committed values are
exactly sha256(crlf_bytes):

  google-fonts.csv              committed d03194d2…  = CRLF hash
  google-font-licenses.json     committed 7c35e410…  = CRLF hash
  icons.csv                     committed 272ccf0e…  = CRLF hash
  phosphor-icons-upstream.json  committed 81c37fb3…  = CRLF hash

Two conditions had to combine: the digest hashed raw bytes, and no
.gitattributes pinned these files to LF, so Windows checkouts get CRLF
by default. Restoring the hashes alone would let the next contributor
on Windows reproduce the same commit.

Three changes:

- normalize line endings in generate-catalog-summary.py's digest(), so
  the snapshot no longer depends on the checkout
- apply the same normalization in validate_data.py, which independently
  recomputes the hashes and has to agree with the generator
- add .gitattributes pinning src/ui-ux-pro-max/data/*.{csv,json} to LF,
  so a Windows checkout matches the committed bytes in the first place

sync-assets.mjs already normalizes to LF, so this only extends an
existing project convention to the two places that were missing it.

Adds test_catalog_summary_line_endings.py: LF and CRLF inputs must
digest identically, the committed snapshot must match the normalized
sources, and a simulated CRLF checkout must still produce the recorded
hashes. The third case fails against the pre-fix digest.

verify:data exits 0; the Python suite goes from 153 to 156 tests.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015UidECV1wVBD8SW6Abuj71

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-02 14:14:59 +07:00
Clark Cant
40d8b6facf
Merge pull request #480 from Yoruxyv/docs/indonesian-readme
docs: add Indonesian README
2026-09-02 13:44:47 +07:00
Dendroculus
c21a7b095f
docs: add Indonesian README 2026-09-02 10:38:23 +07:00
Anil-matcha
26f79bdfb6 fix(design): use MuAPI result URL from creation response 2026-09-01 15:13:29 +05:30
Anil-matcha
36c879d974 Merge current upstream main 2026-09-01 15:02:16 +05:30
djatadougbewilfried-star
f23267105a
fix(design-system): make the skill work outside a vendored checkout and on Windows (#460)
* fix(design-system): resolve project root from cwd, not __file__

fetch-background.py and html-token-validator.py derived PROJECT_ROOT with five
.parent hops, which only reaches the project root when the skill is vendored at
<project>/.claude/skills/design-system/scripts/. Installed at user level
(~/.claude/skills/) or as a plugin, PROJECT_ROOT pointed outside the project, so
both scripts silently ran against no tokens at all.

Resolve from the working directory instead, matching generate-tokens.cjs and
validate-tokens.cjs which already use process.cwd(). DESIGN_SYSTEM_PROJECT_ROOT
overrides it when the project root cannot be inferred.

slide_search_core.py is left alone: it resolves skill-relative data, which is
the correct use of __file__.

Refs #459

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* fix(design-system): stop findProjectRoot from hanging on Windows

embed-tokens.cjs walked up the tree with `while (dir !== '/')`. On Windows the
filesystem root is 'C:\', so that condition is never true, and path.dirname('C:\')
returns 'C:\' unchanged -- the loop spins forever at 100% CPU instead of erroring
out, whenever assets/design-tokens.css is not found above the cwd.

Stop when dirname stops changing, which terminates on every platform.

Refs #459

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* fix(design-system): force UTF-8 stdout so emoji output works on cp1252 consoles

search-slides.py --context and html-token-validator.py print emoji. On a Windows
console the default encoding is cp1252, so the first emoji raises
UnicodeEncodeError and the command dies with a traceback instead of output --
this takes out --context, the entry point of the contextual slide system.

Reuse the guard already shipped in src/ui-ux-pro-max/scripts/search.py.

Refs #459

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* test(design-system): decode subprocess output as UTF-8 in validate-tokens tests

test_validate_tokens.py drives validate-tokens.cjs through subprocess.run with
text=True but no explicit encoding, so Python decodes the pipe with the locale
codec. On Windows (cp1252) the validator's emoji output raises UnicodeDecodeError
inside the reader thread, result.stdout comes back as None, and the assertion
fails with a confusing `TypeError: argument of type 'NoneType' is not a
container` -- this suite cannot pass on Windows at all today.

Pin the pipe and the fixture write to UTF-8. The validator itself was never at
fault: run by hand it flags the hardcoded hex correctly.

Note: brand/scripts/tests/test_sync_brand_to_tokens.py uses the same
text=True-without-encoding pattern and is one emoji away from failing the same
way. Left alone to keep this PR scoped to design-system.

Refs #459

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-01 01:42:36 +07:00
nhatlong90
bd19ab9070
fix(cli): support cross-platform python execution on windows (#462)
- replaced hardcoded python3 in npm scripts with a node wrapper to support windows natively without breaking unix systems

- updated stale catalog-summary.json snapshot

Co-authored-by: khietan <118370929+khietan@users.noreply.github.com>
2026-09-01 01:13:07 +07:00