05Project
Changelog
Release notes for geeknative.
Unreleased
-
Shared typeface in stock Android components: Material 3 type roles that no text style maps to keep Material's size and weight but use the shared typeface, so stock components no longer fall back to Roboto.
-
Desktop-first web: generated websites use one site header. The app name always links to Home. Extra destinations sit in that header on a wide window; below
mda hamburger opens a left drawer with the same list. No sidebar, bottom bar, or duplicate links. iOS and Android keep native tab and app bars. -
Consistency:
contracts/app.jsoncan setconsistencytostrictoradapted(defaultadapted).strictfailsmake lintwhen a feature spec usesn/a. Existing projects get aparitylint error after upgrading until they runmake parity, because of the new header line.createtakes--consistency; there is no setup prompt. -
One typeface everywhere:
contracts/tokens.jsonnames a font family with one file per weight incontracts/fonts, andmake genbundles the same files into all three apps (registered at launch on iOS, font resources on Android,@font-faceon the web). New projects start with Inter.make font FAMILY="Open Sans"switches to any Google Fonts family;FAMILY=systemrestores each platform's own font, in which casemake genchecks that type sizes match their Dynamic Type styles. -
One icon family everywhere:
contracts/icons.jsonnames Lucide icons (or an SVG of yours incontracts/icons), andmake gendraws each one natively: an asset catalog on iOS, vector drawables on Android, inline SVG components on the web. The apps no longer depend onlucide-reactormaterial-icons-core. Icons can be markedmirroredfor right-to-left layouts, and icon sizes are tokens (AppIconSize.md,size-icon-md). -
Environments: a new
contracts/config.jsondeclares environments and typed per-environment values, compiled intoAppConfigandAppEnvironmenton every platform. Debug builds usedevelopmentand release builds useproduction. -
Secrets:
contracts/config.jsoncan declare secret names. Values come from a git-ignored.env:make genwrites them into git-ignoredAppSecretsfiles on iOS and Android, and the web app reads them on the server. It also writes.env.example, andmake doctorwarns about missing keys. -
CLI:
GEEKNATIVE_ENV(orENV=stagingwithmake) makescheckandrunbuild a chosen environment.runnow regenerates first, and the Claude Code after-edit hook also regenerates when.envchanges. -
Upgrading a project: add
contracts/config.json(the starter has three environments and no values), setAPP_ENVIRONMENTinConfig/Debug.xcconfigandConfig/Release.xcconfig, add theappEnvironmentproperty andbuildConfig = truetoapp/build.gradle.kts, add the twoAppSecretspaths to.gitignore, then runmake gen. For icons and fonts: rewritecontracts/icons.jsonas Lucide names ("settings": "settings","back": { "icon": "arrow-left", "mirrored": true }), changeImage(systemName: AppIcon.x)toImage(AppIcon.x)on iOS, droplucide-reactfromapps/web/package.jsonandmaterial-icons-corefrom the Android build, add"icon": { "sm": 16, "md": 24, "lg": 32 }totokens.json, callAppFonts.register()fromAppMain'sinit, then runmake font FAMILY=Inter(or keep"font": { "family": "system" }and align type sizes with their iOS styles). -
Consistency audit:
- The feature playbook's Verify step now has a checklist: string keys and icons used on every platform, no raw colors or sizes, matching names and IDs, labels, touch targets, and documented platform differences.
apps/web/AGENTS.mdsays the browser tab title is web chrome, so its separator is exempt from the no-literal-text rule.- Home is now tested on the rendered screen on Android and web, for all three criteria including AC-home-3 (the gear opens Settings). Android runs Compose UI tests on the JVM with Robolectric, so no emulator is needed. Web renders into happy-dom. These are test-only dependencies and don't ship in the apps. iOS tests AC-home-1 and AC-home-2 only at the value level, because SwiftUI exposes no accessibility tree to unit tests; AC-home-3 stays untested on iOS and is checked by hand.
- A web test hydrates the server-rendered Settings screen with Dark stored and checks Dark is selected, which catches the Settings bug below.
- On web, the header Settings link and the appearance rows are now 48 px tall (they were 40 px), and the web Settings feature has an
InMemorySettingsRepository, like iOS and Android. - On iOS, the Settings
Formnow sits on the design tokens (backgroundfor the page,surfacefor the rows) instead of the system grouped background, which was pure black in dark mode. DESIGN.md says so. The section titles still use the system gray. - On web, opening
/settingsdirectly with Dark stored showed a dark page but System as the selected choice. The Settings view model now renderssystemuntil hydration is done, then the stored value. iOS and Android were not affected.
-
Known gaps: raw sizes in app code (
48.dpon Android,size-4andsize-6on web) and the unusedhomeicon are not fixed yet. The template does not commit apackage-lock.json, so web dependencies resolve fresh on eachcreate. That is how thequery-coreduplicate appeared;@tanstack/query-coreand@tanstack/react-queryare both pinned to5.105.0so they stay on one copy. Other transitive versions can still drift. -
Applying the audit changes to an existing project:
geeknative upgradeis not built yet, so copy them by hand. The playbook and the managed block inapps/web/AGENTS.mdare framework files. The touch targets, the in-memory repository, the Home tests, DESIGN.md and the Home spec belong to your project. Ifmake check-webfails with a type error inrouter.tsx(two copies of@tanstack/query-core), set both@tanstack/query-coreand@tanstack/react-queryto5.105.0inapps/web/package.jsonand reinstall. -
Fixes from building a real app (Minutely, a quick commerce app):
- Web widths: spacing tokens named
sm,md,xl(the template's names) took over Tailwind's width utilities, somax-w-mdcame out as 12px and squeezed text to one word per line.tokens.cssnow keepsw-*,min-w-*andmax-w-*on Tailwind's container sizes. - Web layout: the app shell is full width with side padding, instead of a centered 42rem column with wide empty margins on desktop.
- Screen titles: DESIGN.md requires leading-aligned titles on every platform (iOS large titles, Android
TopAppBar, a left-aligned webh1), and the lint flags.navigationBarTitleDisplayMode(.inline)andCenterAlignedTopAppBar. - Motion and elevation tokens:
tokens.jsoncan define durations, easing curves, springs and shadows. They becomeAppMotionandAppElevationon iOS and Android, andduration-*,ease-*andshadow-*on the web. A spring is a duration and a bounce, mapped exactly onto Compose's physics and sampled into a CSSlinear()curve. New projects get defaults. make check-ios: about a minute instead of seven or more. Parallel testing (which cloned and booted a simulator on every run) is off, the build reports its phases and a heartbeat instead of staying silent, and the simulator is always an iPhone on the newest iOS runtime instead of whichever one was booted.check-android,run-iosandrun-androidreport progress too.- Android tests:
unitTests.isReturnDefaultValuesis nowfalse, so a plain unit test that calls an Android API fails instead of silently gettingnull,0orfalse. - iOS UI tests: the template has an
AppUITeststarget (XCUITest), run bymake check-ios. AC-home-3 is now tested by tapping on all three platforms. - (ui) criteria: a spec can mark a criterion
(ui). Parity then counts it only when a test drives the real UI, and shows 🟡 when only view-model or route tests name it. geeknative lint(andmake lint, run bymake check): fails on user-facing text in code, test IDs no spec lists, centered titles, aplannedstatus with passing tests and a stalespec/parity.md, and warns about spec test IDs a finished app never uses and changes to only some apps.- Pinned CLI: a project created from a geeknative checkout is pinned to a snapshot of it (
.geeknative/geeknative-<version>-<commit>.tgz) instead of a symlink that followed whatever branch the checkout had open.create --linkkeeps the old behavior for working on geeknative.make doctorsays where the CLI comes from, andmake doctor FIX=1pins a linked project. - Outside the project folder: AGENTS.md and the Claude Code guide explain that the hooks and platform agents only load when a session starts in the project folder, and
make checknow enforces what the hooks did.
- Web widths: spacing tokens named
-
Fixes from building a second app (Meetly, a meeting calendar):
- Plural
zeroforms are used for a count of 0 on every platform. iOS did this already; the web'splural()now does, and Android gets a generatedAppPlurals(use it instead ofpluralStringResource). Before, "No meetings" on iOS was "0 meetings" on Android and the web. - Android
java.time: the template enables core library desugaring, so date and time code works on API 24 and 25. - Web content width: a
Pagecomponent centers a screen's content in a readable column (or uses the full width withwidth="full"), and the template's Home and Settings use it. Forms no longer stretch across the window or hug its left edge. - Parity counts UI tests that render through a shared helper (web tests in happy-dom or jsdom, Android tests that find Compose nodes).
- Lint:
- the web text rules apply to
.tsxonly, so TypeScript generics are no longer flagged; - only preview blocks are skipped, not the code after them;
- test IDs passed to helper components are checked;
- test-only changes don't count as one-platform work;
lint ios,lint androidandlint webcheck one app's code;- a platform check says it skipped the specs, and spec findings say they belong to the lead.
- the web text rules apply to
- Progress: the heartbeat names the test that's running, so slow iOS UI tests don't look like a hang.
- Template:
- a shared
renderApphelper for web UI tests; - iOS Settings tests that clean up their UserDefaults suites;
- the web docs recommend the native
<dialog>; - the Android docs explain zeroing Material's own elevation under token shadows.
- a shared
- Plural
-
More fixes from the Meetly test:
- Android splash in Dark mode: the app registers the chosen appearance with the system (
UiModeManager.setApplicationNightMode, Android 12+), so a cold start's splash screen is in it too. make run-androidreports "running" only once the app is on screen, with how long it took.- Lint: a web screen that caps its width without centering it is an error.
make lint-ios,lint-androidandlint-weblint one app. - Docs:
- the web AGENTS.md explains which width and size classes use the spacing tokens, and to restart
vite previewafter a build; - the iOS AGENTS.md covers confirmation dialogs in iOS 26+ UI tests;
- the feature playbook says to add strings for picker and dialog buttons.
- the web AGENTS.md explains which width and size classes use the spacing tokens, and to restart
- Android splash in Dark mode: the app registers the chosen appearance with the system (
-
Test IDs a platform can't use: a spec's Test IDs bullet can say
(not on iOS)(or Android, web), and the lint stops expecting that ID there. The lint also no longer lets an all-dynamic string like"${total}"count as every listed ID. -
Size tokens:
tokens.jsoncan define asizegroup for touch targets and other fixed sizes, generated asAppSizeon iOS and Android and assize-*/min-h-*classes on the web. The template'stouchTargetis 48, used for its Android and web touch targets. -
geeknative pin(make pin) moves a project created from a checkout to a fresh snapshot of that checkout, removing the old one. Snapshots record where they came from, andmake doctorwarns when the checkout has moved past the project's snapshot. -
Cross-platform consistency fixes from the Sizewise test:
- Text sizes as numbers everywhere:
AppTextSizeon iOS, Android and the web, and a webtokens.tswithAppSpacing,AppRadius,AppIconSizeandAppSize. Before, only Android exposed text sizes as numbers. - Android text roles are optional: a text style can leave out
android, so adding a style no longer restyles stock Material components on Android only. - iOS primary button:
.buttonStyle(.primary)drawsonPrimaryonprimary, readable in dark mode like Android and the web. DESIGN.md points to it instead of plain.borderedProminent. - Android controls at token sizes:
ControlSize.kt(Modifier.scaledToHeight,ControlContentPadding) draws buttons, segmented buttons, switches and checkboxes at exactly a size token's height. Material's own minimums made them taller than on iOS and the web.
- Text sizes as numbers everywhere:
-
Applying these to an existing project: run
make doctor FIX=1from a checkout to pin the CLI, thenmake gen(newtokens.cssmappings) andmake parity, and fix whatmake lintreports. The motion and elevation tokens, the full-width web shell, the iOS UI test target and the Android test setting belong to your project: copy them from the template if you want them.
0.1.0 (2026-10-10)
The first release.
- CLI:
create,gen,check,doctor,parityandrun, published asgeeknativewithnpm create geeknative(create-geeknative). - Template:
- AGENTS.md that triages plain prompts and routes them to PRODUCT.md, DESIGN.md, specs or contracts, plus one AGENTS.md per app and playbooks for each request type.
- Three apps with matching Home and Settings screens: SwiftUI (iOS 17 and later), Kotlin and Jetpack Compose (Android 7.0 and later), and React on TanStack Start.
- Contracts for app identity, design tokens, strings (with placeholders, plurals and locales) and icons, compiled into every app.
- Feature specs with acceptance criteria IDs, and parity reporting.
- Agents: CLAUDE.md imports,
ios-engineer,android-engineerandweb-engineersubagents, and hooks for Claude Code; a Gemini CLI setting; Dependabot configuration. - Ownership: a lockfile recording framework file hashes, ready for future upgrades.
- License: Apache 2.0.