- desktop: Growth chart, Health and portfolio sparklines and the rollout bar drawn with visx (responsive width, crosshair tooltip with real values, arrow keys, theme tokens, no animation); icons from lucide-react behind the existing Icon names; empty states are lucide icons on token tiles; store marks are generic lucide icons; stars are lucide; the brand mark moves to ui/brand.tsx as the one allowed inline SVG - fixtures: app icons and store art stand-ins are PNGs rendered by tools/fixture-art.ts (lucide on gradients) - site: icons are lucide's own files in site/img/icons (tools/site-icons.ts, with the ISC licence) shown as CSS masks; the journey diagram is rendered from docs/diagrams/journey.mmd by tools/diagrams.ts (Mermaid CLI), with a tall variant for phones - tests/no-handmade-svg.test.ts fails on new inline SVG drawing in apps/desktop/src and site/*.html - desktop bundle: 598.7 -> 695.5 kB minified, 174.6 -> 206.0 kB gzip
2.9 KiB
2.9 KiB
Contributing
Thanks for wanting to help. storebound is my own toolchain that I open-sourced, so it stays small and opinionated, but fixes, store rule updates and new engines / AI tools are very welcome.
Setup
bun install # Bun 1.1+; playwright is a dev dependency (renders, web capture)
bun run ci # adapters fresh, tests, typecheck, secrets / personal data scrub
Try the screenshot and video pipeline on the demo game without any store account: see examples/demo-game/README.md.
Rules of the house
- Bun + TypeScript strict, zero runtime dependencies.
fetchagainst the official store APIs,node:built-ins, external tools (ffmpeg,xcrun,adb) only through argv builders. Playwright is resolved from the user's project. - Pure where possible. Rules, argv builders, plans and parsers are pure functions with tests in
tests/; the IO stays in the command'srun. Tests never need a store account, a simulator or a network. - Every write command takes
--dryand is idempotent. New MCP write tools default todry_run: true. Nothing public or irreversible (submit, release, rollout resume / complete, cancel, delete) goes into MCP. - Store facts need a source. When you change a size, limit or rule, cite the official page in the code comment and the skill (Apple Developer / App Store Connect Help, Play Console Help, API references) with the date you checked it.
- Skills are the single source. Edit
skills/*/SKILL.mdordocs/agents-core.md, then runbun tools/gen-adapters.ts; never editAGENTS.md,GEMINI.md, the plugin manifests or the Cursor / Copilot files by hand. Frontmatter isname+descriptiononly. - No secrets, no real ids, no personal data in code, tests, fixtures or examples: use
com.example.*,example.comand obviously fake values.bun run ciruns the scrub. - No hand-written SVG. Charts come from visx, icons from lucide (
lucide-reactin the desktop app; the site's icons are lucide's own files, vendored bybun tools/site-icons.tsintosite/img/icons/with the licence), diagrams from Mermaid (docs/diagrams/*.mmd, rendered bybun tools/diagrams.ts), the desktop fixtures' art frombun tools/fixture-art.ts. The brand mark andsite/favicon.svgare brand assets.tests/no-handmade-svg.test.tsfails on new inline<svg>/<path>drawing inapps/desktop/srcandsite/*.html. These libraries are desktop dependencies (bundled by Vite) or devDependencies; the CLI package keeps zero runtime dependencies. - Plain English in docs and messages, short sentences, no marketing words.
Pull requests
One topic per PR, bun run ci green, a line in CHANGELOG.md under an "Unreleased" heading, and for anything
that talks to a store: how you verified it (--dry output, a test app, or "not verified" said plainly).