Easy to find
One Figma file, clear names, and every component in Storybook, so nobody has to hunt.
I rebuilt Lyearn’s design system on Untitled UI and Nucleo: one token system in Figma, React and Storybook, with rules AI can follow. Designers now ship front end from it.
Every rule is written down, so it starts building without guessing.
Opened by the designer · built from the design system
A designer asks Claude Code for a screen
A shortened recreation of how one change moves through the system. The person’s name is illustrative.
Our old design system wasn’t ready for an AI workflow. I rebuilt it so AI agents can design and build from it, and we ship faster.
Six Figma files built on styles, not real tokens. Designers found their way around; AI agents couldn’t.
Untitled UI and Nucleo, restyled for Lyearn, with 1,243 variables shared by Figma, React and Storybook.
Agents can read the rules now, so designers and engineers both open PRs, and it keeps growing.
Our first design system did its job: careful components, with every state covered. But five things held it back.
Made for courses and certificates, not for HR, people data or AI.
Built on Figma styles, not variable tokens, so one colour change meant many edits.
Six files sorted by atom, molecule or organism, and no written guide to find anything.
Lyearn was becoming an AI-native HR platform. A weak base would multiply every gap.
No rule files for AI to read, so every screen went to engineers by hand to rebuild.
Fixing it meant rebuilding it. Turning styles into variables, merging six files and adding HR and AI parts would each have touched almost everything, so we rebuilt it for an AI-native workflow.
We wanted one design system that designers, engineers and AI agents all read the same way, and that grows with our AI-native HR platform. People fill gaps with judgement. Agents can’t, so every rule has to be written down.
One Figma file, clear names, and every component in Storybook, so nobody has to hunt.
Every rule is written next to the code, so people and agents all build the same way.
Change one variable and it updates everywhere, in Figma and in code, all at once.
A token-based base where new HR and AI components slot in cleanly, without rework.
So the question was how to rebuild: design every component ourselves in Figma, or start from a proven system and make it ours?
Why Untitled UI, specifically. It was the only option that ticked all three.
| Untitled UI | Saas UI | Material 3 | Carbon | shadcn/ui | Ant Design | |
|---|---|---|---|---|---|---|
| Figma + code together | Yes | Partly | Partly | Yes | Code only | Yes |
| Fits React Aria + Tailwind | Yes | No | No | No | Partly | No |
| Effort to rebrand | Low | Medium | High | High | Low | High |
One Figma file on real tokens, restyled to Lyearn’s brand and extended for an HR and AI product.
Old system vs new
| Old system | New system | |
|---|---|---|
| Figma files | 6 | 1 |
| Variables | 0 | 1,243 |
| Light and dark modes | No | Yes |
| Old or outdated pieces | 113 | 8 |
| Built for | A learning product | An AI-native HR platform |
Restyled to Lyearn
bg-brand-solid#7F56D9bg-brand-solid#262626Figma guards the design, GitHub guards the code, Storybook shows every part live, and the rulebooks keep AI agents to it.
Same component names, same variants, same tokens. A Figma screen is a list of parts an agent can already import, not a picture to redraw.
In Figma
In code, on GitHub
Figma shows what we designed; Storybook shows what we built. Every component in every state, with interaction and accessibility tests before a PR.
Open Storybook
For AI agents: what the rules answer before it places anything
The existing component that fits, before building new.
The right size, colour and state for this screen.
The text, icons and content the component allows.
The tokens, spacing and accessibility it must follow.
The mistakes the team has already written down.
# effy-fe — Agent Guide## UI workReach for `packages/yooeye` before hand-rolling anything. It is organised as:```components/base/ buttons, input, select, dropdown, avatar, checkbox, tooltip, …components/application/ composed app-level piecescomponents/ly-molecules/ async-view, error-state, theme-sidebarcomponents/foundations/ primitives, nucleo-iconscomponents/cells/ marketing/ shared-assets/charts/ form/ hooks/ utils/ debug/```- Components are built on **react-aria-components** — preserve their accessibility props and keyboard behaviour when editing.- Styling is **Tailwind 4** with `cx` from yooeye for class merging. Use design tokens, not raw hex values or arbitrary pixel values.- The PR template requires loading, empty, and error states plus accessibility tags for QA automation — build them in, don't leave them for review.- **Loading, error and empty states go through yooeye's `AsyncView`**, not hand-written `if (isLoading) return …` chains. It renders no layout wrapper — the caller sizes and centres the states (`FullScreenCenter` for a full-page state, the page's own wrapper otherwise). Pass the area's own skeleton and copy via `renderLoading` / `renderError` / `renderEmpty`, `onRetry` for a retry button, and only first-load loading as `fetching` — never `isFetchingMore`. Infinite-scroll footers, row or cell skeletons, a spinner on one control and long-running job screens stay outside it.- **A searchable or filterable list's empty state is `AppSearchListEmptyState`** (yooeye's `SearchListEmptyState`) as `AsyncView`'s `renderEmpty`. Given the `useFilterState` handle it shows the right search / filter / both state with scoped clear buttons, and falls back to the caller's own empty copy. Never branch on `search` or `appliedCount` by hand. Rules: [component-reference.md](docs/engineering/component-reference.md#empty-state-searchlistemptystate).### Search before you buildAgents copy whatever already exists, so the first hand-rolled `<button>` becomes thepattern the next ten generations imitate. Building instead of searching is the singlemost common cause of review churn here. Never design a screen from scratch: build it fromwhat already exists. Before writing any UI code, search in this order and stop at thefirst step that answers the need.**Search the latest `hangar`, not just your branch.** Run `git fetch origin hangar` first:your branch may be behind, and a component or story you are missing may already be there.Check yooeye and the stories on `origin/hangar` (`git ls-tree -r --name-only origin/hangarpackages/yooeye apps/storybook/src/stories`, `git show origin/hangar:<path>`). If your branch isbehind on what you need, tell the user and ask before you pull, rebase or switch branches.1. **yooeye: components and tokens.** Analyse `packages/yooeye` first — `components/base`, `application`, `ly-molecules`, `charts`, `form`, `hooks`, `utils`, and the tokens in `src/styles/theme.css`. Pick the component that fits the use case best and name it, or say why none fits.2. **How to use it.** [`component-reference.md`](docs/engineering/component-reference.md) says which component and variant a use case takes and how to look it up in Storybook. Match the component's story for variants and states. A component with no story yet: read its props and source, and copy how the platform already uses it.3. **The platform**, for an existing screen or file doing the same job — reuse its composition and copy its pattern: imports, structure, treatment. Routing helpers, theme tokens, deep GraphQL operation imports, markdown rendering and loading/error wrappers all already have one accepted way; find it rather than picking a second one.4. **The catalog** (`pnpm-workspace.yaml`) before writing a utility. An installed library, a react-aria primitive, or plain CSS beats a JS re-implementation — check for a CSS property that does the job before reaching for a resize observer.5. **Still nothing: ask before you build.** Say what you searched and ask the user whether to create a new component. Only on a yes, build it **in yooeye** from yooeye's own smaller parts and tokens, and give it a story (`design-system-first` skill). Never hand-roll it inside an app.**Choose the variant the platform already uses.** Only the values in a component's propstype and style map exist. Copy the variant the nearest screen uses for the same role, andkeep the default otherwise. Button defaults to `size="sm"` and `color="primary"`: one`primary` per view, `secondary` beside it, `tertiary` for low-emphasis actions, thedestructive colours only for delete and remove. Per-component tables are incomponent-reference.md.**Storybook is the reference.** A component's story shows every variant and state itsupports. With the Storybook MCP server, call `list-all-documentation`, then`get-documentation` and `get-documentation-for-story`; otherwise read`apps/storybook/src/stories/`. Build to match it, and cross-check there whenever you areunsure. A screen that looks different from Storybook has a bug; it is not a reason torestyle the component. A new component with no story yet: use its props and source, andthe screens that already render it.**Read the backend schema when you have it.** The GraphQL schema and operations in`packages/*-api/src/` give the real fields, types, required values and enums. Let themchoose the component (an enum is a select or button group, a date is a date picker, anullable field needs an empty value) and the states to design, instead of guessing from amock.**Never override a component's code to make it fit.** Don't fork it, copy it, wrap it tochange its look or strip its classes (next section). Configure it through its props, orpropose a new prop.### Five questions before you place a componentAnswer all five for every element you put on a screen. If you cannot answer one, ask.1. **What should I use?** The yooeye React component that fits the use case best, found in the order above: yooeye components and tokens, then an existing platform screen, then ask the user before creating anything. A new component is built in yooeye from its smaller parts and tokens. Never design one yourself.2. **Which variant?** Only the sizes, colours and states in the component's props and style map. Copy what the nearest platform screen uses for the same role, check the component's story in Storybook, and keep the default otherwise.3. **What goes inside?** Only what the component's props and slots accept (`iconLeading`, `renderEmpty`, `children` where the type allows it). Icons from nucleo, text through `t("<namespace>:key")`, loading, empty and error through `AsyncView`. Let the backend schema decide the fields, values and states.4. **Which rules apply?** Tokens only: no raw hex, no arbitrary pixel values, spacing from the scale, light and dark from the tokens. Keep react-aria's accessibility. Design every state: loading, empty, error, disabled, long text and narrow widths. The hard rules above apply as written.5. **What should I avoid?** Building anything new without asking. Overriding, forking or wrapping a component to change its look, or faking a variant with `className`. Raw `<button>`, `<input>` or `<select>`, a styled `div` posing as a badge or card, inline `<svg>` icons, a bespoke spinner or empty state, and a second copy of an existing table, drawer or modal.### When a new component is neededOnly when yooeye, component-reference.md, Storybook and the platform's existing screensall have nothing that fits. Stop and ask the user: "Nothing fits; should I create a newcomponent?" Say what you searched. Never create one on your own.On a yes:1. **Check GitHub first.** Fetch the latest `hangar` and search it, its open PRs and recent merges (`gh pr list --search "<name>"`, `git log origin/hangar -- packages/yooeye`), and Storybook on `hangar`. Someone may have just added it; if so, use theirs.2. **Build it in yooeye**, from yooeye's own smaller parts and tokens, never inside an app and never by overriding another component. Pick the layer it belongs to: `components/base/` for a single control (button, input, badge, toggle), `components/application/` for a composed pattern (modal, table, tabs, empty state), `components/ly-molecules/` for page-level helpers (`AsyncView`, page states). Put it in the group folder of its closest relative, not a new top-level folder, and export it from the package index.3. **Place its story next to its closest relative's story.** Storybook is organised by layer and group: find the sibling's story and use the same folder and title prefix. Story folders do not always match code folders (`base/input` → `stories/base/inputs/`), so follow the sibling, not the code path. | Kind of component | Story folder | Title | | -------------------- | ------------------------------ | ---------------------------------- | | Base control | `stories/base/<group>/` | `Components/Base/<Group>/<Name>` | | Composed app pattern | `stories/application/<group>/` | `Components/Application/<Group>` | | Page-level helper | `stories/ly-molecules/` | `Components/Molecules/<Name>` | | Filter or search UI | `stories/filters/` | `Components/Filters/<Name>` | | Form pattern | `stories/form/` | `Form/<Name>` | | Icon, token or style | `stories/foundations/<group>/` | `Components/Foundations/<Group>/…` | Tag it `autodocs`, import from `@lyearn/yooeye`, and cover every variant and state. Never add a new top-level Storybook section without asking.4. **Review and record.** Opening the PR asks the design team for a review; wait for their OK on the component before writing its story. Add a line to component-reference.md if it covers a use case, and put the story's Storybook link in the PR description.5. **Check it landed.** After merge, confirm the component is on `hangar` and its story shows in Storybook in the right place. A new component without a story is not done.Typical failures, all of which cost a review round: parsing markdown by hand while amarkdown renderer was already a dependency; the same clipboard helper written twice inone module; raw `<input>`/`<button>` elements in a repo whose design system ships both.### Use a component's API before overriding its classesCheck props and variants first — a design-system button usually already has the variantyou are trying to hand-build, and stripping its chrome with classes fails silentlybecause tailwind-merge cannot dedupe the repo's custom tokens (`shadow-xs-skeuomorphic`and friends are not in Tailwind's conflict map).Structural quirks are part of the API too. Components that wrap their children — abutton rendering its label in a `data-text` span, for example — are styled throughvariant selectors (`*:data-text:*`), not by fighting the wrapper from outside.### Writing good componentsA shared component's props are its public surface, and the part that is expensive tochange later. Keep that surface small and declarative — props in, elements out, nolifecycle the caller has to drive imperatively.**Name a prop for what the component does, not for why the caller wants it.**```tsx<PageHeader showExportButton={isExportEnabled} /> // yes<PageHeader isExportEnabled={isExportEnabled} /> // no```The first is predictable from the call site alone: you can tell what will render withoutopening the component. The second leaks a caller's concern into a component that has nobusiness knowing about it — and goes stale the moment that flag is renamed, inverted orreplaced by something else that wants the same button.The same rule covers callbacks and hook options. Name the event, not the handler:```tsx<ConfirmDialog onClose={close} onConfirm={publishDraft} /> // yes<ConfirmDialog handleClose={close} publishDraft={publishDraft} /> // nouseDismissable({ onAfterDismiss: discardDraft }); // yesuseDismissable({ discardDraft }); // no```And pass the function, don't call it: `onAfterDismiss: discardDraft()` runs on everyrender and hands the hook whatever it returned, usually `undefined`. The two mistakestravel together — an option named for the work rather than the event reads like a value,so it gets written like one.**Reach for composition before adding another boolean prop.** Once a component hascollected a handful of optional features, it wants slots, not config:```tsx<PageHeader> <ExportButton size="sm" /> {/* tuned here, no props to thread through PageHeader */}</PageHeader><PageHeader endSlot={<ExportButton />} /> // when the position is fixed```Either shape lets the caller customise the child directly, instead of the parent growingone prop per knob and drilling each of them down.### IconsChrome icons come from the nucleo outline-duo set and share one treatment: stroke width,size, and the unselected duo-layer fill. The helpers live next to the sidebar shell(`.../app-navigation/sidebar-shell/nav-icon.ts`) — import them, don't re-derive thenumbers.Search the icon family for the **semantic variant** before styling around a glyph.Show/hide, fill and duo cuts exist for most icons, so a purpose-built pair almost alwaysbeats hiding a layer, swapping a cut, or applying a manual flip. Never do CSS surgery ona glyph's paths.
---name: code-review-agentdescription: The working guide for effy-fe — reviewing code for bugs, gating a branch before a PR, keeping GraphQL codegen in sync, and writing user-facing UI copy. Use when asked to review a diff, branch, PR or component; to check whether a branch is ready to push; when a build fails with missing generated types or after touching a .graphql file; and whenever writing or auditing any user-facing string in apps/mgsa, apps/analytics or packages/yooeye.---# Code Review AgentOne guide, four jobs. Read the section you need; they are independent.| Doing this | Go to || ----------------------------------------------- | ------------------------- || Reviewing code for bugs | §1 Review, §2 Bug classes || Getting a branch ready to push | §3 Pre-PR gates || Touched a `.graphql` file, or types are missing | §4 Codegen || Writing or auditing a user-facing string | §5 UI copy |Stack: pnpm + Vite+ monorepo, React 19, TypeScript 7, Tailwind 4, urql + graphql-codegen,react-aria-components. **Not Next.js** — ignore any advice about RSC, `"use client"`,hydration, streaming, `next/font` or `next/image`. None of it applies here.**Never** commit, push, open a PR, amend history, or use `--no-verify` unless asked in themoment. Report; let the user act.---## 1. Review### Reference docsReview against these. A violation of any of them is a finding:- [`docs/engineering/backend-contract.md`](../../../docs/engineering/backend-contract.md) covers opaque IDs and keeping logic, search, filter, sort and pagination on the backend.- [`docs/engineering/component-reference.md`](../../../docs/engineering/component-reference.md) says which component to use for forms, async states, picklists, pagination and filters. A hand-rolled replacement for one of them is a finding, including filter dropdowns, filter `useState` or URL params instead of `useFilterState` and the filter bar.- [`docs/engineering/graphql.md`](../../../docs/engineering/graphql.md) covers operations, codegen, the two urql clients and graphcache updaters.### ScopeTake the target from the user. If they did not name one, review the branch against itsbase, and include uncommitted work — that is usually what they mean.The base is **`origin/hangar`** — the only base for now. Do not detect or fall back to`airspace`:```bashgit status --porcelaingit fetch -q originBASE=$(git merge-base HEAD origin/hangar)git diff --stat "$BASE"```The bare `"$BASE"` (not `"$BASE"..HEAD`) is deliberate — it includes staged andworking-tree changes. State the base and file count in one line before starting. Stopif the diff is empty.Report uncommitted or untracked files that look like part of the change. Do not stage them.### Read the file, not the hunk**Open every changed file in full before judging it.** Diff hunks hide the thing that makesa finding real or bogus: the guard twelve lines up, the early return, the cleanup in adifferent effect.Two greps that repeatedly change the verdict:- **Who calls this?** A changed signature or a new nullable return is only a bug at a call site. Find them before claiming breakage.- **What else touches this state?** Grep the hook or store name across the feature folder.If a finding depends on context you have not read, read it or drop the finding.### Verify before reportingThe failure mode is not missing a bug — it is twenty findings of which three are real,because then nobody reads the list. **A short report that is all true beats a long one thatneeds triage.** Zero findings is a valid outcome; say so plainly.Apply to every candidate, in order:1. **Write the failure.** Concrete inputs or state → what actually goes wrong. If you cannot write that sentence, it is not a finding.2. **Try to refute it.** Look for the guard, the default, the early return, the caller that makes it unreachable. Most first-pass candidates die here.3. **Confirm it is in scope.** If the same code exists untouched on the base, it is pre-existing. Mention at most the one or two most serious, clearly labelled.4. **Confirm the fix.** Name the specific change. "Consider refactoring" is not a fix.Only report a gap you have evidence for. Checked and missing → finding. Checked and present→ omit. Could not check → say so, phrased as a question. Never guess about something thatwould produce a fabricated finding.Every finding needs three parts: **where** (file and line, never "the app"), **what happensnow** (actual current behavior, not the absence of an ideal), and **why it matters**(consequence for the user or the team).> Bad: "Missing error state on the dashboard.">> Good: "`dashboard-metrics.tsx:42` renders `data.map(...)` with no rejection branch. When> the query returns an error the component throws and the nearest boundary blanks the whole> dashboard — empty screen, no explanation, no retry."**Do not report:** formatting or import order (`vp check` owns it); missing tests as ageneral observation (the repo has ~60 test files, mostly pure logic and hooks — raise it only where the change isgenuinely risky, and say why); naming preferences; speculative performance with nomeasurement; the same pattern in eight files (report once, with a count).### SeverityAssign by **impact**, not by how hard it is to fix. A one-line fix for a data-loss bug isCritical; a two-week polish rewrite is Minor.- **Critical** — blocks release. User cannot complete a core task, loses work, or is misled about their data. A race that persists wrong data. Auth enforced only on the client. Secrets in client code. One component throwing blanks the app. A primary flow impossible by keyboard.- **Major** — fix before or right after release. Missing loading/empty/error state causing real confusion. Error with no recovery path. Double submission on an action with side effects. Deep link, refresh or back breaking the view. Derived state stored and synced by an effect. `any` on an API boundary. Focus lost or invisible after a significant interaction.- **Minor** — noticeable friction, user not blocked. Spinner where a skeleton belongs. Naming, magic values, dead code. Missing memoization with no measured cost.- **Nice-to-have** — real improvements the feature does not require. Keep separate from Minor, or the whole list reads as optional.**Frequency and context escalate.** A Minor annoyance on a screen every user hits ten timesa day is Major. The same missing empty state is Major on a signup flow and Minor on aninternal admin tool. Say so in the finding when it changes the call.### OutputOpen with one line: base, files reviewed, and the headline — the single most importantthing to fix, or that you found nothing. Then findings, most severe first:> **[Severity] Short title** — `path/to/file.tsx:42`> What is wrong, and the failure it produces.> **Fix:** the specific change.Close with **Not reviewed** — anything skipped, unopenable, or out of scope. A reviewer whosilently skips something is worse than one who says what they skipped.Order by impact, not by checklist order. Omit empty sections rather than writing "Nonefound" under four headings. Naming what is well handled is worth one line — it shows youlooked, and protects good work from being refactored away.---## 2. Bug classes that actually recur hereOrdered by how often they are genuinely wrong in this codebase. Everything here is a**candidate** — §1's verify pass decides.### urql and GraphQLBackground for all of these is in `docs/engineering/graphql.md`.- **Wrong client.** A productivity hook rendered outside `ProductivityClientProvider` fails at runtime, not compile time — check provider nesting for new top-level routes and portals. The highest-value check here.- **Missing graphcache updater.** A new create/delete mutation with no entry in `packages/productivity-api/src/cache/mutations.ts` leaves stale lists on screen. Invisible in the diff, and recurring. Refetching in the component instead is also a finding.- **`pause` and variables.** Unready variables with no `pause` fire a bad request; a variables object rebuilt inline each render can loop.- **Deep imports**, never a barrel.- **`TS2307: Cannot find module '*/generated/*'` is not a bug in the diff** — see §4.### React 19- **Infinite re-render loops — Critical, always.** An effect that unconditionally sets state listed in its own dependency array; a dependency object, array or function rebuilt inline every render (deps compare with `Object.is`, so a fresh reference re-fires the effect each time — the urql variant is an inline-built `variables` object looping the request); a `setState` inside an effect with no dependency array.- **State derived in an effect** — the single most common React defect. A `useEffect` whose only job is `setX` from props or other state should be computed during render. Filtered, sorted or totaled lists stored in state instead of derived. State initialized from props with no key reset, so it goes stale. Resetting state when an identity prop changes is done with `key`, not an effect.- **Chained effects** — effect A sets state that triggers effect B. Collapse into one computation or one handler.- **Effects that are not synchronization.** For each `useEffect`, ask what external system it syncs with. "Nothing" means it probably should not exist — reacting to a user action belongs in the handler.- **Missing cleanup and stale closures.** Subscriptions, timers, listeners, observers, abort controllers. Async work resolving after unmount. A dependency removed to silence the lint rule is a symptom, not a fix.- **Races.** Fast-changing args (search, filter, tab) where an earlier response resolves after a later one and overwrites it. Look for an abort controller or a request-id guard. Submissions with no in-flight guard **on the handler itself** — disabling a button via a state update that lands after the second click is not prevention.- **Keys.** Array index as key on a list that reorders or filters; keys from unstable values. A deliberate `key` change to reset state is a valid pattern — recognize it rather than flag it.- **Context.** Provider value not memoized, so every consumer re-renders. A frequently changing value in a context read by a wide subtree.- **Memoization, in both directions.** `React.memo` on a component receiving a new inline object every render never helps. `useMemo` on trivially cheap work is noise. The bar is a measured or clearly reasoned cost — say which.- **New state derived from old** uses the functional form (`setCount(c => c + 1)`). Two stale-closure increments in one handler is a real bug, not a nit.For every effect flagged, name the replacement — _derive in render_, _move to handler_,_`key` reset_, _`useMemo`/`useRef`_, _add cleanup/abort_, or _delete_. "Considerremoving this effect" is not a fix.### TypeScript- `any`, `as`, or non-null `!` on data from the network, `localStorage`, a URL param, or `JSON.parse`. An assertion over unvalidated external data is a crash waiting for one null field. `unknown` at a boundary followed by real narrowing is correct — do not flag it.- `as unknown as T` almost always hides a real problem.- Optional properties where a discriminated union expresses the real shape. `{ data?, error?, loading? }` permits states that cannot exist.- Optional chaining hiding a genuine "this should never be undefined" — silent wrong behavior is worse than a throw.- A widened or loosened exported type: check consumers.### Translation keys (mgsa, analytics)Rules and examples: [component-reference.md](../../../docs/engineering/component-reference.md#translation-keys).The lint rule `lyearn-i18n/namespaced-keys` catches literal keys; review for what it can't see.- A key built with `${…}` (``t(`status.${s}`)``, ``t(`${base}.title`)``), even inside a helper. Ask for a map of full keys typed `as const satisfies Record<Union, NamespacedKey<["ns"]>>`.- A stored key typed `string` (`labelKey: string`, `Record<X, string>` of keys), or cast to get past `t` (`as NamespacedKey`, `as never`, `as any`). The fix is a key type, not a cast.- A key without its namespace, or a non-array namespace (`useTranslation("okrs")`). These fail lint, so they mean the check wasn't run.- A map or union of keys copied into a second file. Export it from one place.- A helper calling `i18nInstance.t` or `getFixedT` while a component is above it. It should take the caller's `t` as `t: TFunction<["ns"]>`.### react-aria and yooeye- A diff that strips `aria-*`, keyboard handlers or focus management from a react-aria-components-based component is a **regression**, not a style question.- A component flipping between controlled and uncontrolled — `value` becoming `undefined` on a later render.- **yooeye sweep — every changed component, not only new ones.** For each changed `.tsx`, list the UI it renders (button, input, select, badge, tooltip, tabs, drawer, modal, empty/error/loading view, chart) and confirm each comes from `@lyearn/yooeye`. Anything hand-rolled — a raw `<button>`/`<input>`/`<select>`, a styled div acting as a badge or card, a bespoke spinner or empty state — is a finding that must **name the yooeye component to use instead**. Grep `packages/yooeye/src/components/` before claiming none exists; mention once, do not relitigate per file.- **A new yooeye component needs a story.** Any component the diff adds under `packages/yooeye/src/components/` — including one composed from existing components — without a story in `apps/storybook/src/stories/` is a **blocker**. So is a reusable component added inside an app instead of yooeye. The build-time steps are in the `design-system-first` skill.- Prefer a component's own props and variants over overriding its classes — tailwind-merge cannot dedupe the repo's custom tokens (`shadow-xs-skeuomorphic` and friends), so class overrides fail silently.- Design tokens, not raw hex or arbitrary pixel values. Charts and theme definitions legitimately use raw values — check the file's purpose first.### IconsEvery icon the diff adds or touches comes from the **nucleo** set — no other iconlibrary, no hand-drawn inline `<svg>` glyphs.- **Chrome icons use `nucleo-ui-outline-duo-18`** — the dominant set (~284 imports in mgsa). `nucleo-ui-outline-18` and `nucleo-ui-fill-18` serve non-duo contexts; further sets (`NucleoGlass`, `NucleoArcade`, …) come through yooeye's `foundations/nucleo-icons` barrel. Match the set the surrounding file uses.- **Sidebar/chrome treatment is shared, not re-derived**: stroke width comes from `sidebarIconStrokeWidth` (exported from `@lyearn/yooeye`, defined in `application/app-navigation/sidebar-shell/nav-icon.ts`). A hardcoded `strokeWidth={1.2}` on a nav icon is a finding.- **Search the icon family for the semantic variant** before styling around a glyph: show/hide, fill and duo cuts exist for most icons. Hiding a layer, swapping a cut with CSS, or flipping a glyph to fake a different icon is a finding — CSS surgery on a glyph's paths is never acceptable.- **No new `@untitledui/icons` imports.** Seven legacy files still use it (pre-existing — do not relitigate them); a diff adding an import from it, or from `lucide-react`/`react-icons`/any other icon package, gets flagged with the nucleo equivalent named.Detection: `git diff "$BASE" | grep -nE '^\+.*(from "@untitledui/icons"|from "lucide|from "react-icons|<svg)'`— judge `<svg>` hits in context (charts and yooeye `shared-assets/` legitimatelycontain raw SVG; a feature component drawing its own icon does not).### File size and duplicationMuch of this codebase is generated, and the failure mode that follows is not ugly code —it is the **same code written four times in four files**, where a bug fix predictablylands in only one copy.- **Before a new canvas, tree, table, drawer or modal, grep for an existing one.** A second copy costs far more than a slightly awkward shared prop. If the diff adds one, say which existing component it duplicates and what extending it would take. Do not claim nothing exists without having searched.- **Copy-paste with small divergences is the worst case**, because the divergences look intentional and nobody dares unify them later. Flag it harder than exact duplication.- **Files over ~400 code lines need a reason.** `max-lines` (in `vite.config.ts` lint rules) counts code only — `skipBlankLines` and `skipComments` are on, so doc comments are free. It is a `warn`, not a gate. Flag a file the diff pushes past 400 only when the length is unjustified, and give the split. Several files already exceed it — `location-forest-canvas.tsx`, `strategy-input-panel.tsx`, `org-tree-canvas.tsx` — so say when the excess is pre-existing rather than introduced.- **Constants belong in their own file, imported.** Magic numbers and strings inline in a component — status values, role names, breakpoints, timeouts, route paths, column definitions, default options — go in a sibling `constants.ts` and are imported. The established pattern is co-location: `pages/<area>/constants.ts`, or a named variant like `utils/okr-table-constants.ts` where one file would otherwise collect unrelated groups. A constant used by two files must not be declared in both.- **Extract logic into a hook before splitting the JSX.** A long component is usually a little markup and a lot of state. `useThing()` fixes it without inventing a single-use child that needs eight props threaded through it — that child is a worse outcome than the long file was.- **The number of `useState`/`useEffect` calls is the better smell than length.** Six effects in one component is a problem at any line count. Reach for this before reaching for the line count.**Do not repeat yourself.** Logic, types, constants or markup written twice is a finding —name both sites and which one should own it. The failure this prevents is concrete: a bugfix lands in one copy and not the other, and the two silently diverge. This repo alreadycarries three separate tree canvases (`location-forest-canvas.tsx`, `org-tree-canvas.tsx`,`position-tree-canvas.tsx`); that is the shape to catch before a fourth appears.Apply it by asking whether the copies **change together**. Two blocks that look alike butchange for different reasons should stay separate — unifying those creates a coupling theteam fights later, so say which case you are in when you flag it.**Do not flag length on data or markup files.** The `max-lines: off` override in `vite.config.ts` exemptsmocks (`**/mock-*.ts`, `**/mock/**`), `apps/mgsa/src/utils/timezones.ts`, and`packages/yooeye/src/components/shared-assets/**`. If lint does not warn, neither shouldyou.### Component structure and exportsAn app component file (`apps/mgsa`, `apps/analytics`) exports **one thing: thecomponent.** Everything else stays private or moves out:- **Props interface** — in the file, **unexported**: it is the component's private signature. Export it only when another file genuinely constructs that shape, and then it moves to `types.ts` (below).- **Constants** — to the sibling `constants.ts` (see File size and duplication); never exported from the component file, never declared twice.- **Helper functions** — used only here, private. Used elsewhere, the area's `utils/`, imported by both.- **Multiple components in one file** — fine while all but one are private. Two exported components in one file is two files waiting to happen.Exception: `packages/yooeye` deliberately exports prop interfaces as public API,through barrels — do not flag yooeye for exporting `XxxProps`.Detection: for each changed `.tsx` under `apps/*/src`, grep it for`export (interface|type|const|enum|function)` and check whether each non-componentexport has an importer. An export with zero external importers is the strongest formof this finding — it should not be exported at all.**Reusable interfaces live in `types.ts`.** The established pattern is a co-located`types.ts` per area (`pages/okrs/types.ts`, `pages/okrs/components/cycles/types.ts`):- A type used by **two or more files** moves to the nearest `types.ts` covering both; declared twice is a finding — name both sites and which file owns it.- A type used by **one file** stays in that file, unexported. Do not preemptively hoist single-use types — that turns `types.ts` into a dumping ground.- Never redeclare a shape GraphQL codegen already generates — import the generated type from the deep operation path; a hand-written mirror silently drifts.**When extracting a shared component**, place it at the narrowest level covering allusers — page-area `components/` → `apps/<app>/src/components/` → yooeye for afeature-blind primitive — and keep the surface declarative: props named for what thecomponent does (`showExportButton`), not why the caller wants it (`isExportEnabled`);events named `onX` and passed as references (`onConfirm={publishDraft}`, never`publishDraft()`); slots/children before a growing pile of boolean props.### CommentsStrict. Two rules, both findings, not nits.**1. A comment is exactly one line.** Two lines is a finding. There is no threshold toargue about and no "but this one is complicated" exemption — if one line cannot carry it,that is the signal that the code is wrong, not that the comment is too short. The fix is abetter name, a named constant, or an extracted function. Report it as: delete the comment,make this change instead. When a multi-line comment genuinely records a decision worthkeeping, the finding is its form, not its existence — propose the one-line compression.**2. Unnecessary comments are deleted, not shortened.** A comment earns its line only byrecording something the code cannot say — a constraint, a decision, a reason. Everythingelse goes:- Restating the code — `// loop over users`, `// set the state`, `// return early`- Section banners and dividers — `// ---- helpers ----`- Obvious JSDoc on obvious things — `@param id The id`- `// TODO` with no owner and no ticket- Commented-out code. It is dead code; delete it, git remembers.- Comments describing what a well-named function already announcesGood: `// API caps page size at 50`. Bad: `// fetch the users`. The test is whetherdeleting the line loses information that is not recoverable from the code.Detection: `git diff "$BASE" | grep -nE '^\+\s*(//|\{?/\*)'` enumerates candidates —judge each in context, never verdict from the grep alone.**A stale comment is a finding, always.** It is worse than no comment because it isbelieved. If the diff changes logic a nearby comment describes, that comment is part ofthe change.One bounded exception: **JSDoc on exported props in `packages/yooeye`**, which is adocumented convention and multi-line by design — see the `@default` blocks in`packages/yooeye/src/components/foundations/rating-stars.tsx:18`, which §5's copy auditgreps. That covers exported component props only, nothing else, and it is not a licencefor multi-line comments elsewhere in the package.Note `max-lines` sets `skipComments`, so comment length never contributes to a file-lengthfinding — do not double-count it.### States, errors and feedbackThe highest-frequency gap in shipped work. For every data-driven component, find the fourbranches: **pending, rejected, empty, success.** A component with a single return and nopending or rejection branch is almost always missing states.- **Empty is not error and not loading.** Distinguish _nothing yet_ (offer creation) from _nothing matching_ (offer to clear filters, and show what is filtered). Collapsing them is a finding. Reject bare "No data".- **Background refresh** that blanks and re-skeletons, throwing away content the user was reading.- **Partial data** — one of several parallel requests failed. Does the page render what it has, or does one missing field take down the view?- **Recovery is the part most often missing.** An error with no retry and no back path is half the work. A single generic "Something went wrong" for every failure mode, when 401 and 500 need different responses from the user.- **`catch` that swallows**, or only logs and continues into code that assumed success.- Error boundary so high that one widget blanks the page.- Optimistic updates that do not roll back visibly **and tell the user**.- **Hand-written state branching** — `if (isLoading) return …`, `fetching ? … : error ? …` chains, or `{isLoading && …}{!isLoading && …}` around one region — is a finding: name `AsyncView` (`packages/yooeye/src/components/ly-molecules/async-view.tsx`). The area keeps its own skeleton and copy through `renderLoading` / `renderError` / `renderEmpty`; `onRetry` adds retry to the default `ErrorState`; `isEmpty={false}` where there is no empty state. `fetching` is first load only — passing `isFetchingMore` blanks the list on every page.- **Hand-picked "no results" copy** — a `renderEmpty` (or empty branch) that switches on `search`, `appliedCount` or a `hasFilters` flag — is a finding: name `AppSearchListEmptyState` (`apps/mgsa/src/components/filters/app-search-list-empty-state.tsx`, yooeye `SearchListEmptyState`). It takes the `useFilterState` handle; Clear search and Clear filters are separate and scoped. A list whose search is still `useState` is a `useFilterState` finding first.- **A tab count that follows search or filters** — a `Tabs.Item` `badge` fed by the filtered list's `totalCount` / `items.length` — is a finding. The badge is the tab's unfiltered total; a live filtered count is `FilterResultCount` in the filter bar's `endSlot`.- **`AsyncView` owns no layout.** The caller sizes and centres the states: `FullScreenCenter` for a full-page state, the surrounding wrapper otherwise. A viewport-tall state inside a popover, drawer or section is a finding.- **Not `AsyncView` cases** — do not flag: infinite-scroll "loading more" footers, row- or cell-level skeletons, a spinner on a single control, long-running job or generation screens, and lists with a toolbar or search input between the states.### AccessibilityJudge by whether a person can complete the task. Cite the criterion and level — "failsWCAG" is not actionable.- **2.4.7 Focus Visible (AA)** — `outline: none` with no replacement. The single most common AA failure in React codebases.- **2.1.1 Keyboard (A)** — `<div onClick>` with no `role`, `tabindex` or key handler.- **3.3.2 Labels (A)** — placeholder doubling as a label. It vanishes on input and is inconsistently announced.- **4.1.2 Name, Role, Value (A)** — icon-only buttons with no accessible name; custom controls built from divs missing `role`, `aria-expanded`, keyboard handling.- **4.1.3 Status Messages (AA)** — async updates announced via a live region. Sighted users see a toast; screen reader users get nothing without it.- **1.4.3 Contrast (AA)** — 4.5:1 body, 3:1 large. Check placeholder, disabled and muted text, in both themes.- **2.5.8 Target Size (AA)** — 24×24 CSS px minimum, 44 on touch.- Colour as the only signal fails for colourblind users. Pair with icon or text.- **Focus management** is where React apps fail most, and no single criterion covers it: focus into a modal on open and back to the trigger on close; route changes moving focus to new content; deleting a row not stranding focus on `body`; Escape closing overlays.Semantic HTML beats ARIA every time. `aria-hidden` on a container with focusable childrencreates an element that is focusable but unnamed.Some things need a browser: real focus order, screen reader announcement, contrast overimages, zoom reflow, whether alt text is _meaningful_ rather than present. Say what to checkrather than claiming it.### Performance**Never state a Core Web Vitals number you did not measure.** LCP, INP, CLS andbundle-size-in-kB are runtime and build outputs, not derivable from source. An inventedmetric looks authoritative and gets quoted in planning.With source only, report risk factors named against the metric each likely affects:> **CLS risk**: `hero.tsx:12` renders `<img>` with no width, height or aspect-ratio, in the> initial viewport. Likely shifts content on load — confirm with Lighthouse.Real risk factors here:- Long lists unvirtualized where the realistic row count is in the thousands. The repo has `@tanstack/react-virtual`.- Expensive synchronous work in event handlers; state cascading through a large tree on every keystroke with no debounce, `useDeferredValue` or `useTransition`.- Routes not code-split — see `lazyDefault` / `lazyComponent` in `packages/roomba/src/lazy.ts`. A bare `React.lazy` is a finding: use roomba's `lazyWithReload` so a deploy that removed the chunk reloads instead of erroring.- Large libraries imported whole for one function; barrel imports pulling in a module graph.- Images without dimensions; animating `height`/`top`/`width` instead of `transform`.- A query selecting fields nothing reads.- Sequential awaits that could be parallel; request waterfalls from nested components.---## 3. Pre-PR gatesFailures here mean the PR fails CI or the pre-commit hook. Most PRs will not touch most ofthis — skipping a gate that does not apply and saying so in one line is correct.**`vp check`** — the first step of `.github/workflows/pr-checks.yml`.```bashvp check```Type-aware across ~1,600 files, so it is slow. If you skip it, say so plainly and do notimply the branch is clean. If it fails, check whether the same failure exists on the basebefore blaming the branch — inherited failures are common and are not this PR's problem.**Bundle budgets** — CI then builds the three apps and runs `vp run check:bundle`, whichposts a sticky PR comment (non-blocking) flagging when initial JS, initial CSS, the largest chunk or total JS (brotli) passes its limitin `scripts/bundle-budgets.json`. A PR that shrinks a bundle lowers its budget in the samePR; a PR that raises one must say why. Run it locally after `vp run build:<app>`.**Generated output must not be committed.** It is gitignored, so the only way it lands in adiff is a deliberate `git add -f`:```bashgit diff --name-only "$BASE" \ | grep -E '(^|/)generated/|/schema/[a-z-]*schema(-json)?\.(ts|json)$' \ && echo "^^ force-added generated output — remove it" || echo "OK"```**Filenames must be kebab-case.** `scripts/check-kebabcase.mjs` only inspects _staged_files, so an already-committed violation ships. Do not paraphrase its rules — **read thescript at HEAD** and apply its own `ignorePatterns`, `allowedFileNames` and regexes to theadded and renamed paths.**Dependency versions come from the catalog.** Note the pathspec — a bare`'**/package.json'` silently skips the root file:```bashgit diff "$BASE" -- ':(glob)**/package.json' 'package.json' \ | grep -E '^\+[[:space:]]+"[^"]+":[[:space:]]*"([~^>=<]|[0-9]|latest|\*")' \ | grep -vE '"(version|name|packageManager)":'```The second grep matters: every workspace `package.json` has a `"version"` line that wouldotherwise read as a violation. The fix is adding the version to `catalog:` in`pnpm-workspace.yaml`. Cross-workspace deps are `"workspace:*"`. `pnpm-lock.yaml` changesonly via `vp install`.**PR checklist** — from `.github/PULL_REQUEST_TEMPLATE.md`. Three outcomes per item:satisfied, missing, or N/A. An infra or docs PR is legitimately N/A on all of them. Nevertick what you have not verified. Leave `Design review` and `QA verified` unticked — they arehuman sign-offs. The most commonly missed item is loading/empty/error states on new asyncviews. "Accessibility tags" there means QA-automation test hooks, not WCAG.**When the diff changes docs or agent config**, verify the claims rather than trusting them:paths that no longer exist, renamed commands, cross-references that do not resolve. Nothingcompiles this class of file, so a wrong path silently degrades every future agent session.---## 4. CodegenWorkflow, file layout and gotchas are in `docs/engineering/graphql.md`. This section isonly what a review or a broken build needs.Generated output is **gitignored**, so git cannot tell you whether it is stale. Check thefilesystem:```bashgit diff --name-only HEAD -- '*.graphql' | while read -r f; do case "$f" in */src/operations/*) gen="$(dirname "$f")/generated/$(basename "$f" .graphql).ts" [ -f "$gen" ] || echo "MISSING: $gen (source: $f)" ;; */src/schema/*) echo "SCHEMA CHANGED: $f -> full codegen run needed for that package" ;; esacdone```Do not compare mtimes — `git checkout` rewrites them, so it is pure noise.Codegen and `script:get-schema` are destructive — **ask before running either** during areview. `vp install` runs codegen via `postinstall`; try that first for `TS2307`. Verifyafter with `vp check`.---## 5. UI copyApplies to every user-facing string in `apps/mgsa`, `apps/analytics` and`packages/yooeye`: buttons, headings, form labels, placeholders, helper text, empty states,toasts, dialog titles and buttons, validation and error messages, aria-labels. **Not**`apps/storybook` (internal) or `apps/ainw` (separate marketing voice).Copy-only discipline. Never change functionality, props, imports or non-string code.In `mgsa` and `analytics` copy lives in `src/i18n/locales/en/*.json`, not in JSX: edit theEnglish value there and update the matching key in `es/` in the same change. A new stringliteral in a component there is itself a finding (see `AGENTS.md`). Never touchinterpolation tokens (`{{name}}`, `{{count}}`, `{0}`, `%s`) or the dynamic half of a mixedexpression — in `toast.error(err.message || "Could not assign content. Try again.")` onlythe literal is in scope.**Preserve length within ~±10-15%.** This codebase has fixed-width buttons, narrow modalcolumns and truncated table cells. A clearer but wordier rewrite overflows containers evenwhen every other rule is followed.### Capitalization| Element | Rule | Example || ---------------------------- | --------------------------- | ------------------------------------ || Heading, 1–3 words | Title Case, no period | `Learning Dashboard`, `Team Members` || Heading, 4+ words | Sentence case | `Create a new objective` || Button / CTA / dialog button | Title Case | `Save Changes`, `Generate with AI` || Form label | Sentence case | `First name`, `Due date` || Placeholder | Sentence case | `Search employees` || Helper text | Sentence case | `Maximum file size: 10 MB` || Empty state | Sentence case | `No objectives assigned` || Toast / notification | Sentence case | `Changes saved` || Error message | Sentence case | `Email address is required.` || Dialog title | Sentence case | `Delete course?` || Nav / menu item | Heading rule for its length | — |In Title Case, `a an the and or of to for in on at by with` stay lowercase unless first orlast word.### PunctuationNo periods on buttons, titles, headings, labels, nav items, placeholders, or short helperand success text. Periods only on complete descriptive sentences (`This action cannot beundone.`). Question marks only for genuine questions (`Discard unsaved changes?`). Colonsonly when introducing related information (`Allowed file types:`).### Consistency**One term per concept, always**: Learner · Manager · Objective · Key result · Course ·Lesson · Session · Assessment · Dashboard · Project · Task · Activity · Skill · Mindset ·Integration · Notification.**One verb per action, platform-wide**: Create, Add, Generate, Assign, Delete, Publish,Archive, Restore. Never let two dialogs say "Remove" and "Delete" for the same action.Established exemplars live in `apps/mgsa/src/pages/okrs/components/okr-objectives/` —`delete-entity-dialog.tsx`, `archive-entity-dialog.tsx`, `publish-entity-dialog.tsx`.Real synonym drift in this codebase: empty states mixing "No objectives found" / "No OKRsyet" / "No dashboards created" / "No tiles yet". Pick one template per kind — `No <things>yet` for a genuinely empty collection, `No <things> found` for a filtered view that came upempty — and apply it everywhere.**Exact casing, always**: Lyearn · Coach · AI Course Creator · AI Video Creator · AIActions · AI Insights · MGSA · OKRs · LMS · HRMS · API · CSV · PDF · SSO. `AI` is never`Ai`, `ai` or `A.I.`, even inside a sentence-case heading.Numerals, not words (`2 learners`). Prefer the shorter phrasing when meaning is unchanged(`Create a new objective` → `Create objective`). Tone: professional, friendly, clear,concise. No marketing language, buzzwords or multiple exclamation marks.### Auditing in bulkDo not blind-regex-replace — copy lives in structurally varied JSX (conditionals, templateliterals, local consts) that regex silently mangles.In `mgsa` and `analytics`, audit the `en` locale JSON first — most copy lives there — andmirror each change in `es`. The JSX greps below cover yooeye and any untranslated leftovers.1. Enumerate candidates with targeted greps: `placeholder=`, `aria-label=`, `toast\.(success|error|warning|info)\(`, `EmptyState\.(Title|Description|Subtitle)`, and in yooeye `@default "[A-Za-z]` — those JSDoc defaults must be edited in lockstep with the matching `propName = "literal"` a few lines below, or doc and default drift apart.2. Read each file in full and edit bare JSX text by hand. That category has no safe regex.3. Do not introduce shared copy-constant modules to fix duplication unless it is genuinely systemic. Fixing wording in place is smaller and safer than a new abstraction.---## Escalate| Signal | Point the user at || -------------------------------------------------------- | ------------------ || Auth, permissions, tokens, uploads, user input to an API | `/security-review` || Line-by-line correctness on a large refactor | `/code-review` |
A change can start in three ways. Whichever way, Claude builds it from the design system and a developer reviews the result.
› Build this modal with yooeye Modal, Select…
Reading the frame through the Figma MCP
✓ Modal · Select · Button from yooeye
✓ Connected removeEmployee mutation
✓ Checks passed · ready for review
remove-person.tsx+84type Employee {
name: String!
role: String
status: EmployeeStatus!
}
enum EmployeeStatus {
ACTIVE SUSPENDED EXITED
}schema.graphql, api-docs.mdpeople-list.tsx+126Every one was opened by a designer with Claude Code, from small polish to whole flows: onboarding, the career profile, bulk invite and org setup. A developer reviewed and merged each one to testing; after QA, it shipped.
Every change runs the same loop
DesignerClaude CodeDeveloperQAEvery PR, 9–16 October 2026
Sizes are lines added and removed, as GitHub reports them.
| Opened | What shipped | Size | Files |
|---|---|---|---|
| 16 Oct | Remove and Replace ask what happens to someone leaving: suspend, exit with a date, or nothing | +339 / −88 | 11 |
| 16 Oct | Bulk invite review: issues shown inline in the table instead of stacked error cards | +748 / −1,146 | 17 |
| 15 Oct | Career paths: tidier draft banner, skeleton tracks for early drafts | +88 / −73 | 7 |
| 14 Oct | Profile: name field in Edit Profile | +47 / −12 | 7 |
| 14 Oct | Skills: new skill-level picker component | +560 / −152 | 22 |
| 14 Oct | Onboarding: Slack out of setup, profile-link hints and checks | +246 / −43 | 17 |
| 13 Oct | Onboarding: drop the top back button, lift the steps | +7 / −30 | 6 |
| 13 Oct | Onboarding: smooth, staggered fetching lines | +101 / −30 | 3 |
| 13 Oct | Onboarding: change skill levels on profile review | +195 / −19 | 9 |
| 13 Oct | Onboarding: “edit later” hint on profile review | +52 / −13 | 6 |
| 13 Oct | Onboarding: confirm team LinkedIn first, pace the profile reveal | +100 / −31 | 6 |
| 13 Oct | Onboarding: rotating fetch copy, slow-scan skip, centred steps | +256 / −115 | 10 |
| 13 Oct | Profile: aspiration history drawer and ladder position markers | +741 / −50 | 21 |
| 12 Oct | Onboarding: redesigned profile setup, review and loading steps | +1,186 / −296 | 36 |
| 9 Oct | Profile: readiness over time spans every level held | +86 / −60 | 10 |
| 9 Oct | Profile: readiness table fills its row, titles capitalised | +19 / −18 | 3 |
| 9 Oct | Profile: career tab with career path and readiness over time | +2,291 / −170 | 39 |
Most PRs are reviewed and merged by a developer on GitHub; occasionally, for a small fix, I merge my own after the checks pass. One of them removed more code than it added: moving errors into the table let the old stacked-card interface go.
Career paths never had a Figma file. Engineers built the backend first, then I designed it in the running app with Claude Code, on real data. Parts of Employee productivity and Org structure were built the same way.
Ladders, readiness and the career tab, built straight in code.
Profile and insight screens, built on the existing APIs.
People flows, where review and exits happen in place.
Designers now build the front end and open the PRs, so screens ship in about half the time, on a design system the whole product runs on.
in 8 days, each built with Claude Code and reviewed by a developer.
Designers build the front end themselves, so a screen no longer waits to be rebuilt in code.
Every new screen is built from it, and new HR and AI parts slot in without rework.
The numbers behind it, from GitHub
The one review comment that needed a code change was fixed and merged within the hour.
A progressive, context-led AI system that turns trusted company knowledge into structured, reviewable learning.