Skip to content

[codex] feat(design): add design inspiration workflow for uiux generation - #11

Merged
shangyankeji merged 1 commit into
shangyankeji:mainfrom
staruhub:feat/design-inspiration-cli
Apr 14, 2026
Merged

[codex] feat(design): add design inspiration workflow for uiux generation#11
shangyankeji merged 1 commit into
shangyankeji:mainfrom
staruhub:feat/design-inspiration-cli

Conversation

@staruhub

Copy link
Copy Markdown
Contributor

Summary

  • add super-dev design list / recommend / apply for DESIGN.md-inspired design exploration
  • persist the selected design inspiration into project config and regenerate uiux.md / ui-contract.json
  • fix related config, prompt-template path, and doctor test isolation issues so the CLI flow stays clean

Why

Super Dev already had strong internal UI truth sources in output/*-uiux.md and output/*-ui-contract.json, but it lacked a lightweight inspiration layer for users who want to start from recognizable product aesthetics like Vercel, Linear, or Stripe. This change adds that inspiration workflow without introducing a second design source of truth.

What changed

  • added curated design inspiration listing and recommendation in the existing design command group
  • added design apply <slug> to store design_inspiration_slug and write output/*-design-inspiration.json
  • wired explicit inspiration choice into DocumentGenerator, UI intelligence selection, UI/UX document output, and UI contract generation
  • fixed config loading so minimal super-dev.yaml files do not emit false schema warnings
  • fixed prompt template path resolution so CLI usage does not depend on current working directory layout
  • isolated doctor --repair Codex tests from the real HOME directory

User impact

  • users can browse built-in design inspirations
  • users can get recommendations from current project context
  • users can apply a chosen inspiration and immediately regenerate the project's UI documents and contract
  • Super Dev still keeps uiux.md + ui-contract.json as the internal source of truth

Validation

  • python3 -m pytest tests/unit/test_prompt_templates.py tests/unit/test_config.py tests/unit/test_requirement_parser.py tests/unit/test_ui_intelligence.py tests/integration/test_cli.py tests/integration/test_web_api.py -q
  • result: 419 passed
  • manual smoke validated design list, design recommend, and design apply vercel
  • API health check after restart: http://127.0.0.1:8001/api/health -> {"status":"healthy","version":"2.3.7"}

Notes

  • this PR is intentionally opened as a draft
  • the change keeps the existing UI review and quality gate model intact rather than replacing it with raw external DESIGN.md files

@shangyankeji
shangyankeji marked this pull request as ready for review April 14, 2026 04:03
@shangyankeji
shangyankeji merged commit 8f7909e into shangyankeji:main Apr 14, 2026
0 of 4 checks passed
shangyankeji added a commit that referenced this pull request Apr 14, 2026
SEEAI competition acceptance no longer trusts host-spoken "passed":
- Evidence is now four structured sections (first_response /
  runtime_checkpoint / fallback_decision / demo_path); any missing
  section blocks ready_for_delivery with explicit blocker + next command.
- Content-quality gates: each section requires >=8 chars and must hit
  at least one keyword from the host's competition_evidence_template
  required list; "ok" / "done" / off-topic fills are rejected.
- Write paths wired end-to-end: CLI --competition-evidence-json, Web
  POST /api/hosts/runtime-validation accepts competition_evidence,
  runtime validation report highlights Missing + Shallow sections.
- New helpers in runtime_evidence.py: competition_evidence_shallow_sections
  and evaluate_competition_evidence.

Bundled in this release:
- Design inspiration workflow (PR #11) — UIUX stage now injects design
  inspiration prompt; palette / layout / component references flow into
  documents and Spec automatically.
- WorkBuddy doctor + supplemental Skill collision + super-dev-core
  cleanup fixes (continued from v2.3.7 line).
- Repo-wide ruff (F401/F841/UP035/UP038/I001) and black formatting.
- Docs bumped to 2.3.8: docs/releases/2.3.8.md, website ChangelogPage
  (zh + en), HeroSection releaseNote (zh + en).
shangyankeji added a commit that referenced this pull request Apr 14, 2026
Add explicit thanks to the community contributor in v2.3.8 release
notes and changelog (zh + en).
shangyankeji added a commit that referenced this pull request Apr 14, 2026
The new design subcommands shipped in v2.3.8 (super-dev design list /
recommend / apply <slug>, contributed by @staruhub) were only
mentioned in the changelog. Surface them where users actually look:

- README.md / README_EN.md: dedicated section with credit
- docs/QUICKSTART.md: include in the maintenance command examples
- super-dev-website DocsPageContent: highlight card + summary line (zh + en)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants