Gustaf Rosenblad (@rosecoder) 's Twitter Profile
Gustaf Rosenblad

@rosecoder

Fullstack AI Engineer at @tradera. Passion for Swift and iOS.

Opinions are my own.

ID: 1006220888

linkhttp://www.rosenblad.ws calendar_today12-12-2012 12:19:43

761 Tweet

548 Followers

239 Following

Gustaf Rosenblad (@rosecoder) 's Twitter Profile Photo

playing around with the Cursor Background Agent API? here's a type-safe Swift implementation for server side (could also be used in iOS apps, but haven't tested it) github.com/rosecoder/curs…

Gustaf Rosenblad (@rosecoder) 's Twitter Profile Photo

launch Cursor agents based on user feedback with a single click – in qualtive.io the user feedback and metadata are added as context

Gustaf Rosenblad (@rosecoder) 's Twitter Profile Photo

using the Cursor 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

using the <a href="/cursor_ai/">Cursor</a> 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
Gustaf Rosenblad (@rosecoder) 's Twitter Profile Photo

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

Gustaf Rosenblad (@rosecoder) 's Twitter Profile Photo

ok this is wild – anyone using the new ”browser” feature in Cursor 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!

ok this is wild – anyone using the new ”browser” feature in <a href="/cursor_ai/">Cursor</a> 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!
Gustaf Rosenblad (@rosecoder) 's Twitter Profile Photo

doing another big refactor with Cursor 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

doing another big refactor with <a href="/cursor_ai/">Cursor</a> 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
Gustaf Rosenblad (@rosecoder) 's Twitter Profile Photo

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

Gustaf Rosenblad (@rosecoder) 's Twitter Profile Photo

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.

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.
Gustaf Rosenblad (@rosecoder) 's Twitter Profile Photo

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

Gustaf Rosenblad (@rosecoder) 's Twitter Profile Photo

made a Cursor 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

Gustaf Rosenblad (@rosecoder) 's Twitter Profile Photo

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?

Gustaf Rosenblad (@rosecoder) 's Twitter Profile Photo

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

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
Gustaf Rosenblad (@rosecoder) 's Twitter Profile Photo

did a workshop session this week where we used Cursor 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

did a workshop session this week where we used <a href="/cursor_ai/">Cursor</a> Cloud Agents to refactor away all default exports in the web of <a href="/Tradera/">Tradera</a>

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
Gustaf Rosenblad (@rosecoder) 's Twitter Profile Photo

commit and create a pr is my favourite custom slash commands in Cursor: - 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 +

commit and create a pr is my favourite custom slash commands in <a href="/cursor_ai/">Cursor</a>:
- 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 +