← Back to context

Comment by 8note

2 days ago

get out of the way, maybe?

before getting into any implementation, i'd get claude to read and document the starting code, and propose its own idiomatic way to rewrite it to svelte. this is a good use for plan mode, and also a spot where you could walk through with claude to put documentation examples of what you consider good and bad, so it can monkey-see, monkey do.

the other thing that makes it go brrrr is to add lots of feedback loops. unit tests, e2e tests, linters, etc. make sure it can pass everything before it shows you anything.

my overall process would be to

1. go through plan mode for documentation and test writing

2. have claude lay out the plan into steps

3. project setup for builds/feedback loops, deploys, etc

4. for each step in that plan, run back through plan mode to clear up any confusions for the component (also record those in docs) and then let it rip on implementation until its ready for a commit.

claude might take a long time writing the code between qna sessions, but it can all be async so the 15-20min doesnt matter much