
Passion for Swift and iOS. Full-time Fullstack AI Engineer at @tradera. Part-time doing https://nitter.cf/t.co/cfGCjtjbvY and other stuff. Opinions are my own.
Stockholm, Sweden
Joined December 2012
- Tweets862
- Following317
- Followers959
- Likes613
i let ai (@bot) do my groceries shopping. everything from planing to ordering.
i got a bit much potatoes
vibe coding tiny apps only you will ever use is the real unlock. built a dashboard that tells me which coding agent still has quota left on its subscription
it's insane how cheap the the 20x subscriptions are rn
using @conductor_build for booth codex and claude. features and the app of @cursor_ai is still way ahead so prefer using it when possible
just fixed 65,000+ warnings/errors to adopt swift strict concurrency in the @tradera ios app. done with @cursor and plenty(!) of agents + subagents. each subagent was focused on a single warning/error.
not by adding main actor to everything, but by actually doing the migration properly.
rolling out to production next week.
native @cursor_ai – built in swift with cursor cli. performance is design.
fun little holiday refactor
commit and create a pr is my favourite custom slash commands in @cursor_ai:
- commit: checks out to a feature branch if needed and creates the commit message with a ticket id included
- pr: uses the github cli to create a pr with a title and description based on the commits + context from the agent chat
keeps me locked in
did a workshop session this week where we used @cursor_ai Cloud Agents to refactor away all default exports in the web of @Tradera
all done within 3 hours (300 default exports removed)
1. launch a bunch of agents via the API
2. each agent is in charge of a set of files to refactor
3. PR is created and verification steps are run
4. release to prod
no bugs introduced and all legacy gone
hit a new record with +100 PRs in one single day.
almost done with this refactoring. more details coming later this week. (still 0 bugs introduced which is insane!)
my github contributions is ruined though lol
doing another big refactor with @cursor_ai background agents. this time converting all of tradera.com to typescript - including all the legacy stuff from 15+ years ago
i guess it will be around 700 PRs in total
goal to complete it within a week with 0 production issues yet again
taking over the @Tradera account – switching focus to all things tech
what do you want to hear from the largest second hand marketplace in the nordics countries?
The people behind this account!
I’m Gustaf Rosenblad, Full-Stack AI Engineer in Product Development at Tradera. I work on optimizing our codebase for the AI era – helping teams adopt AI tools in their daily development. Previously focused on iOS development, I’ve moved toward full-stack work spanning apps, web, backend, and infrastructure.
made a @cursor_ai command to launch background agents. this is the same prompt i've been using for big refactors.
a nice way of removing legacy:
1. add a new linting rule and disable comments everywhere (this also makes sure no new code introduces more tech debt)
2. for each disable comment, start a background agent
day 4: only 50 PRs merged to production. i had to do some other stuff today as well.
a nice workflow i tested: before ending the day, start up a bunch of agents which can run during the night. this resulted in me waking up to a bunch of PRs with test results completed + bugbot comments
doing another big refactor with @cursor_ai background agents. this time converting all of tradera.com to typescript - including all the legacy stuff from 15+ years ago
i guess it will be around 700 PRs in total
goal to complete it within a week with 0 production issues yet again
day 3: 58 PRs merged to production – still 0 bugs introduced!
now all of the nextjs backend is typescript. looking into components next (around 300 left to do)
855 javascript files when i began. now 560 left.
doing another big refactor with @cursor_ai background agents. this time converting all of tradera.com to typescript - including all the legacy stuff from 15+ years ago
i guess it will be around 700 PRs in total
goal to complete it within a week with 0 production issues yet again
day 2: 64 PRs merged to production (without any issues!!)
now almost all utils, helpers, api wrappers and such are in typescript. also most of the redux state as-well.
next up is completing the redux, do some smaller nextjs backend stuff and move on to all the shared ui components
doing another big refactor with @cursor_ai background agents. this time converting all of tradera.com to typescript - including all the legacy stuff from 15+ years ago
i guess it will be around 700 PRs in total
goal to complete it within a week with 0 production issues yet again
doing another big refactor with @cursor_ai background agents. this time converting all of tradera.com to typescript - including all the legacy stuff from 15+ years ago
i guess it will be around 700 PRs in total
goal to complete it within a week with 0 production issues yet again
ok this is wild – anyone using the new ”browser” feature in @cursor_ai agents?
just added some rules about how to access our dev server + login details for some test accounts
it's very slow, but it's working! looking forward to have this in background agents!
almost 200 PRs merged and deployed to production last 24 hours. no issues or bugs introduced whatsoever.
this is for a big service handling around 1k req/s
i guess this would have been a month of work one year ago
using the @cursor_ai background agent api to do bulk-refactoring (in this case refactoring a old node api to typescript)
- each agent is focused on a single file (less probability for hallucination and misstakes)
- prompt includes tools and instructions to verify that everything works after the change
- PR is automatically created when done
a) github workflows is run individually
b) cursor bugbot looks for misstakes
c) quick manual review from me before deploy
what could possibly go wrong? :-)
using the @cursor_ai background agent api to do bulk-refactoring (in this case refactoring a old node api to typescript)
- each agent is focused on a single file (less probability for hallucination and misstakes)
- prompt includes tools and instructions to verify that everything works after the change
- PR is automatically created when done
a) github workflows is run individually
b) cursor bugbot looks for misstakes
c) quick manual review from me before deploy
what could possibly go wrong? :-)
anyone interested in a *real* native @cursor_ai desktop app? did some testing and it works really well having it backed by cursor CLI
thinking: start with local + background agents → later a full editor
bonus: faster + cleaner UI (no vs code legacy), deeper os integration (global hotkey to trigger agent)















