Skip to content

feat(skills): merge into cxc-dev-design; visual skill refresh (color, slop consensus, copy, alignment, lint, visualizer look) - #341

Merged
lidge-jun merged 12 commits into
devfrom
docs/visual-skill-refresh
Nov 21, 2026
Merged

lidge-jun merged 12 commits into
devfrom
docs/visual-skill-refresh

Conversation

@lidge-jun

Copy link
Copy Markdown
Owner

What

  • One design skill. dev-frontend and dev-uiux-design are merged into cxc-dev-design, with Direction, Copy, Build and Audit modes. The old names stay as non-implicit redirect stubs, like goalplan → loop.
  • Visual skill refresh, backed by a 254-site survey (YC P26 / Korea / foreign), Apple HIG (715 rules), an OSS deslop survey, two model reviews (GPT-6.2 Astra, Gemini 4 Neon) and four owner blind A/B rounds (devlog 261121_visual_skill_refresh/000–011).

Changes

  • Color and edges: FE-COLOR-RESTRAINT-01 (neutral controls, color only in data and focus, one brief-named brand primary) and FE-SIDE-ACCENT-01 (no one-sided accent bars). Recipes and samples that taught the opposite are fixed.
  • Slop consensus: FE-SLOP-CONSENSUS-01 adds the stacking rule, 12 cross-source tells and second-order default palettes with coordinates.
  • Hero layout: FE-HERO-ALIGN-01 (centered by default; a left hero needs a counterweight; split 50:50). The anti-center ban is removed and FE-HERO-SPLIT-01 narrowed. All of this is owner A/B round 4.
  • Copy module: copy-process, copy-registers (owner Korean register from A/B rounds 1–3, plus an Apple KR study of 241 headlines) and copy-tells (second-generation tells are WARN caps, not bans).
  • New references: platform-2026 (Baseline features with guards) and agent-action-ux (intent preview, approve, undo, activity log).
  • Type rules: Hangul display tracking −0.02 to −0.035em; weight-extremes advice corrected (80% of headlines are 400–600).
  • Lint: scripts/ui-lint.mjs and scripts/copy-lint.mjs, zero-dep, --render optional with NOT_RUN honesty. 15 fixtures, 20 tests, calibrated on 10 Korean sites.
  • dev-visualizer: scripts/look.mjs render check (390/1280/print), diagram-types.md (21 types, VIZ-FIGURE-01), brand gate VIZ-BRAND-01, and a source-patterns refresh. report-locale drops its side bar.
  • Runtime: subagent-config maps the frontend/uiux surfaces to dev-design (dist rebuilt). Implicit set is {dev, dev-design, interview, loop, pabcd, recall, search}.

Verification

  • node plugins/codexclaw/scripts/check-prompt-architecture.mjs → OK
  • node plugins/codexclaw/scripts/gate.mjs → OK
  • npm test → 3899 tests, 3893 pass, 0 fail, 6 skipped
  • node plugins/codexclaw/scripts/inventory.mjs --check --tests 3899 → OK

Downstream

  • noslopdesign: syncs from codexclaw main. Its PR maps dev-design → noslop-design and should merge after this reaches main.
  • aside-visualizer: gets the visualizer port in its own PR.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T13:18:16.333453Z eca6b30 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot added the enhancement New feature or request label Nov 21, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: eca6b30e6f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


// Text-bearing elements: those with a direct non-empty text node.
const texts = [];
for (const el of document.querySelectorAll("body *")) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Inspect standalone SVG documents without requiring a body

When look.mjs receives a standalone .svg file, the XML document has no HTML body, so this selector collects no text and silently skips the font-size, overlap, and SVG-boundary checks. An SVG without role="img" can therefore receive a clean report despite unreadable or overflowing labels; adding that role instead reaches the figure filter, which dereferences the root SVG's null parentElement and throws. Traverse the SVG document root as well as HTML bodies, and handle root figures without assuming they have a parent element.

Useful? React with 👍 / 👎.

Comment on lines +326 to +328
if (render) {
const r = await lintRender([...files.filter((f) => /\.html?$/i.test(f)), ...urls]);
notRun = r.notRun; findings.push(...r.findings);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reject URL inputs when no render pass will inspect them

When a URL is supplied without --render, it is collected in urls but never inspected: static lint only processes files, and rendering only runs behind this condition. The final input check nevertheless counts the URL as processed, so even node ui-lint.mjs https://example.invalid --json exits 0 with an empty findings array without making a request. Require rendering for URL targets, or return NOT_RUN/exit 3 when they would otherwise be skipped, rather than reporting an unchecked page as clean.

Useful? React with 👍 / 👎.

@lidge-jun
lidge-jun merged commit 011fee6 into dev Nov 21, 2026
13 checks passed
@lidge-jun
lidge-jun deleted the docs/visual-skill-refresh branch November 21, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant