Arkaiver Logo Ramsey Root
All writing
Perspectives AI-Assisted Development Developer Workflow Manifesto

A Minimal Software Philosophy: From Ideation to Release

A personal framework and checklist for planning, scoping, and shipping mobile applications with AI workflows in mind.

Ramsey Root
Ramsey Root
· 15 min read

The Part You Should Probably Skip

I’ve been creating software for a while now, and this would not be my first self-review, but it has become necessary for me, since AI development became mainstream, to revise my mental model and checklist when creating software. Between typing and scrutinizing every line of code, and vibecoding large bloated apps, I’ve realized there is so much that has changed. It would be unrealistic to think I can catch up overnight.

For this reason, I have decided to use the naive approach I use to approach new programming languages: to incrementally create a new software philosophy, completely unique to the stage I currently am at. This approach is naive, which also means it’s minimal, and will change in the future to match my capacity.

A personal standard for how to think and execute, before, during, and after a software project.

For context, I’ll be testing this approach on mobile app development in React Native + Expo (expo-router, pnpm), which I haven’t used in a while.


Phase 0 — Planning (before any code)

Answer these questions top-down. Below are AI generated questions. As I said, this is the initial naive version, so these basic but essential questions seem to be okay for now.

#QuestionWhy it comes first
1Who is this for, and what one job does it do? (one sentence)Everything else is negotiable; this isn’t. If you can’t say it in one sentence, you don’t have an app yet — you have a feature list.
2What is the core loop? — the action a user repeats every session, ideally <30 secondsThis is what you build first, polish most, and protect from feature creep.
3Does data live on-device, on a server, or both? Is offline required?Decides the entire data layer. Retrofitting sync/offline later is the most expensive mistake in mobile.
4Does it need identity/accounts?Auth touches routing (protected screens), data (per-user), and state. Bolting it on later means touching every screen.
5Which native capabilities does it touch? — camera, GPS, push, Bluetooth, background tasksEach drives a permission flow, app-store review surface, and native config that can’t be faked. List them now.
6Which platforms and form factors, really?“iOS and Android” ≠ “phone and tablet and landscape.” Cheapest decision to make early, expensive to change.
7What is the thinnest end-to-end slice that proves the app?Not a feature list — a path: user opens app → does the core loop → sees a result. Build only that first.

*Other questions unique to the business and the software it will require.

These may come up naturally during business conversations with peers or clients, and may also surface as you learn more about the business you are building software for. If they do come up, I simply note them down, then sort them, setting aside those that will affect the app to be answered.

Note: I’ll always prefer concerns that come out of discussions or observations, not forced out, especially not from AI in the absence of sufficient unique context.”If you need to force it, it’s probably shit”
— A wise fart developer

Outputs of this phase:

  • A one-sentence purpose
  • The core loop
  • The thin slice
  • A PRD, FRD, and other no-code maps capturing the answers

Phase 1 — Setup & Boilerplate

Before writing app code, I do these to de-risk the toolchain first. Better to fail now while the codebase is still light.

1. Create the app

pnpm create expo-app@latest

2. Wipe default boilerplate

pnpm run reset-project

Template code you didn’t write is bloat you inherit.

3. Run the server

pnpm start

Or pnpm expo start; use --tunnel for devices on other networks.

4. Get “Hello World” on a real device or web build

On this setup: pnpm start --tunnel → Expo Go. If it takes an hour, better now than after 500 lines.

5. Decide the navigation skeleton before features

In expo-router the file tree is the architecture — sketch the route map on paper first:

app/
  _layout.tsx        ← root providers (theme, query client, auth gate)
  (tabs)/
    index.tsx        ← the core loop lives here
  modal/…            ← overlays, not buried screens

6. Establish module boundaries before code accumulates

The #1 source of bloat is type-based folders (components/, utils/) that become junk drawers. Use feature folders:

src/
  app/               ← routes only — screens stay thin
  features/
    <name>/
      components/    ← private to the feature
      hooks/
      api.ts         ← data access behind one file
      index.ts       ← the ONLY public surface
  lib/               ← truly shared (theme, formatting, clients)

Rule: Nothing imports across features/ except through that feature’s index.ts. Enforce by convention (or ESLint boundaries later).

7. Fake the data layer behind an interface on day one

features/foo/api.ts returns hardcoded data first. When the real backend arrives, you swap one file — screens never change. The single highest-leverage modularity habit.

8. Set up the feedback loop early

With no lint configured, pnpm exec tsc --noEmit is the code check. Run it after every meaningful change — errors are cheapest to fix in the 30 seconds after you wrote them.

9. Environment & secrets

Devin Cloud carries the load: upload-secrets to the secrets manager, a blueprint (environment.yaml) that installs and snapshots packages, /handoff to move work local ↔ cloud. The PC never has to handle the load alone. You may need a parallel or similar setup if you don’t use Devin / Windsurf. Make sure your secrets are safe and name them properly so they are NEVER mixed up or mistakenly exposed — even in an AI chat session, in which case you’d have to rotate them earlier than scheduled.

10. Branching & environments on day one (see Phase 4)

Create dev-main, staging, prod-main, a staging environment, and tag a release-version snapshot. Or just use main only — as I said, your agents can just use git worktrees to prevent collision, and that’s enough for someone who works alone.

11. First logging function before other functions

Every later function calls it — see observability in Phase 3.

12. Initial build-to-production test

Prove the deploy path while it’s still cheap.

Also keep: A naive context.md in the repo capturing decisions as they’re made, while periodically making sure your context and skill files themselves have not become bloated or vague.


Phase 2 — Pre-implementation

  • Define features as slices, not layers. Each feature gets a branch and a ticket on the git board. This way you inform all agents and devs that you’re working on a feature, reducing the chances of conflict and wasted effort. In some cases you might even need approval to proceed.
  • Review how implementation will be designed before writing it: The famous /plan — which feature folder, which api.ts surface, which routes.
  • No code should be written until the feature’s data path and public surface are named. Yes, AI may be intelligent, but it is not immune to issues even smart people have, such as forgetting (context bloat), misunderstanding instructions, and worst of all claiming to understand something it doesn’t have the right or updated knowledge on.

Phase 3 — Implementation & Best Practices

Principles that prevent bloat and errors

These principles are best added to your individual skill files. Great to have some essential ones in mind as philosophy.

Below are a few of my favourites I pulled from my skill files:

  • Vertical slices, not horizontal layers. One screen + its logic + its data path, working end-to-end, before starting the next. Never “build all the screens” then “wire up the data.”
  • Extract on second use, not first. Premature abstraction is code bloat. Duplicate once; abstract the third time.
  • Screens are thin. A route file reads state and renders components. No business logic in app/ — it lives in features/.
  • One dependency at a time. Every library must earn its place answering questions 3–5. Unneeded deps are permanent weight.
  • Delete the template. reset-project exists for a reason — inherited boilerplate is inherited bloat.

Discipline for implementing code changes

UI changes, native requirements, API/backend, database design, test editing, function removal/change, error tracing, commenting — each requires its own principles. So I prefer to write my own custom skill files so my custom specifications have higher priority, then I reference other installed task-specific skills after in these custom files.

API & middleware standards

  • Send proper status codes with proper messages. AI tends to intercept and genericise errors into meaningless responses, and sometimes is not even wary of the status codes. For instance, a function may respond with a 404 and the receiving function would report back a 200 OK just because a response was received, irrespective of what the response said.
  • Every API function should carry error tracing; standardise the error shape early.
  • Another gotcha is AI trying to regex too early, throwing away what could be valuable data before you can understand the shape and relationships between the data you request.

I believe the past three sub-modules have just been observations I’ve made that result in premature failure. That’s my experience and could be different for you — better or worse.

Observability

This part is what I call a non-negotiable. The bugs and the Dev are like Yin and Yang, and if you don’t put measures in place to make them visible… well… you know how the story goes: lots of tokens wasted as your agent tries blindly to diagnose your issue, some issues making it to production unnoticed, and so on.

To curb that:

  • Dev: Though it seems excessive, these days I add debugging hooks (local toasts and logs, and external logging) to all functions to watch both client-side and server-side, with a dev mode env variable to turn these off or alter how they work in production. No one wants to see my console.log.
  • Prod: Logs go to a real sink. Set up Sentry (errors) and PostHog (analytics) properly; every API function uses them, plus normal function-level logging for analytics.

Phase 4 — Release & After

Branching strategy

For small projects, using only the main branch with worktrees is enough, but generally I use:

flowchart TD
    FB[Feature Branches] --> DEV[Develop / Main]
    DEV -- promote --> STG[Staging]
    STG -- deploys to --> STG_ENV[Staging Env]
    STG --> REL[Release Branch]
    REL -- stabilize & test --> REL_READY[v1.0 Ready]
    REL_READY --> PROD[Main<br><i>deploys to Production</i>]
    REL_READY -. back-merge<br>keeps future work updated .-> DEV
    HF[Hotfix] -- applied to --> PROD
    PROD -. back-merge hotfix .-> DEV

Rules

  • prod-main is never ahead of dev-main. After a hotfix lands on prod, the same fix is merged back into dev-main (merge prod → dev). Automate as a CI/CD check.
  • Tag releases and keep a release-version snapshot branch.
  • Hotfixes branch off prod-main, merge to prod, then back-merge to dev — never the reverse.

Open items to standardise next

  • API error-shape contract (status codes + message format) written down, not just intended.
  • Sentry + PostHog setup checklist so “properly” is defined before the first prod deploy.
  • The hotfix back-merge as an enforced CI/CD step rather than a remembered rule. (Personal task)
  • What is recorded in skill file and what is commented?

This article is already lengthy as it is, tomorrow is another day to get better. Until then, happy coding.