mirror of
https://github.com/bitbaum/fleet.git
synced 2026-12-04 05:47:47 +01:00
One org rule and one paragraph in the design section: before building or restyling a screen, follow the bitbaum-design skill from @bitbaum/design-tokens 1.8.0 and attach screenshots to visual PRs. Template blocks regenerated; sync-agent-rules carries it to every repo. Claude-Session: https://claude.ai/code/session_019MDtmuz83BdXJM9vykGkTr Co-authored-by: Claude <noreply@anthropic.com>
3.0 KiB
3.0 KiB
Org rules
Read bitbaum/fleet AGENTS.md, SHARED.md and the registers it names before
inventing a host, a name, a page or a shared behaviour. Do not copy their facts
into this file.
- Packages first. If a
@bitbaum/*package (orbip-kit,limitkit,threadkit,ai-forms) already does it, use it and fix a defect in the package, not in this app. Every chat is@bitbaum/chatkit, every search box@bitbaum/searchkit, every chart@bitbaum/chartkit, accounts@bitbaum/accountkit, model calls@bitbaum/ai-kit. Review this product'spackage-plan.jsonbefore building anything. When a second product needs what one product built (a map, a globe, a calculator), extract it into a package before writing the second copy. - The experience belongs to the package. Anywhere a person types words
there is a microphone (
@bitbaum/chatkit:Composer,DictationField); articles are@bitbaum/writingkit/react, comments are chatkit'sCommentThread, header, menu, tab bar and footer are@bitbaum/sitekit. Apps own brand, words and backend, not the behaviour or the layout. If a component cannot do what the product needs, extend the package in the same session (fleetAGENTS.md, "The experience belongs to the package"). - A gap is a task, not an answer. Never end the work, or a reply, at "not supported" or "not available". When a source cannot be read or a case does not fit the model, find another way (another format or publisher, the official tool measured, the model extended) and do it. What truly cannot be done yet is tracked with its plan, never presented as a limit of the product.
- Every page leads to an action. What a reader learns, they can act on from the same screen: file, pay, apply, compare, ask, contact.
- One shape per kind. Things of the same kind look the same and sit in the
same place (fleet
AGENTS.md, "One shape per kind"). - Designed, not generated. Before building or restyling a screen, follow
the
bitbaum-designskill in@bitbaum/design-tokens(from 1.8.0:.claude/skills/bitbaum-designafterpnpm exec design-tokens-skill, ornode_modules/@bitbaum/design-tokens/skills/bitbaum-design/SKILL.md): one art direction, built on the tokens, then screenshotted with itslook.mjsand fixed until it holds up. A visual pull request carries its screenshots. - Finished work ships by itself. Open a non-draft pull request; the fleet
forge merge check (
forge/verify) is the only merge path. Never merge by hand, through the merge API, with--autoor with an admin bypass, and never force-push a shared branch. - Nothing made up. A fact on a page or in a doc needs a source that was opened; where there is none, the line is removed or softened. A gap is filled with sourced data, never with a guess.
- Bitcoin orange is for Bitcoin and top-of-funnel actions only.
- No model identifier in anything pushed to a repository.
- Before you finish, run
node <fleet>/scripts/ci/docs-truth-audit.mjs --dir .: the same check the sweep runs on every pull request.