Skip to content

docs: AI agent guidance for the client/server UI rebuild - #617

Draft
jbouder wants to merge 3 commits into
ux-rework-devfrom
chore/ui-rebuild-ai-guidance
Draft

jbouder wants to merge 3 commits into
ux-rework-devfrom
chore/ui-rebuild-ai-guidance

Conversation

@jbouder

@jbouder jbouder commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This adds guidance for AI agents (and the people steering them) working on the UI rebuild from #587. That rebuild replaces the single app with separate apps/client and apps/server apps and a shared packages/ui. The rebuild is greenfield: the legacy frontend/src app is reference only, and new code never imports or copies from it.

This PR adds docs and skills only. No app code changes.

What's included

  • frontend/AGENTS.md: a map for agents of the new workspaces vs. legacy src/, plus pointers to the skills, the Figma workflow and the commands.
  • nebi-frontend skill (frontend/.agents/skills/nebi-frontend/): the house style for new code.
    • It is based on the OpenTeams frontend conventions but works on its own.
  • nebi-screen skill: the workflow for building one screen from a Figma frame:
    1. Read the frame through the Figma MCP.
    2. Write a behavior spec, using the legacy app as reference only.
    3. ⛔ A human approves the plan.
    4. Write tests first.
    5. Build the screen.
    6. Check visually and run the quality gate.
    7. ⛔ Add the Code Connect mapping and open the PR.
  • nebari-ui skill: the vendored copy was out of date, so it's refreshed to match upstream nebari-design.
  • Root AGENTS.md: notes that its frontend section describes the legacy app and points to the new guidance.

🤖 Generated with Claude Code

jbouder and others added 3 commits October 5, 2026 13:40
Add the agent guidance layer for the greenfield UI rebuild (#587):

- frontend/AGENTS.md: map of new workspaces vs. the legacy src/ app
  (reference only, never imported or copied)
- nebi-frontend skill: house style for apps/client, apps/server and
  packages/ui (boundaries, generated API clients, state, connectivity
  invariants, testing, quality gate)
- nebi-screen skill: per-screen Figma-to-PR workflow with human
  approval checkpoints
- re-sync the vendored nebari-ui skill from nebari-design, plus a
  sync/check script and a weekly drift workflow
- docs/rebuild: team guide (ownership, PR rules, enforcement, decisions)
  and a parity inventory of legacy UI behavior

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Remove frontend/docs/rebuild (team guide and parity inventory) and the
references to them. The nebi-screen workflow now reads legacy behavior
straight from frontend/src. Record the closed decisions (Jotai for
client state, PascalCase folders) in the nebi-frontend skill.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Drop the sync/check script, its npm scripts and the weekly drift
workflow. The vendored nebari-ui skill content stays as synced.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.

1 participant