What is Nostr?
hodlbod /
npub1jlr…ynqn
2024-05-08 18:02:48

hodlbod on Nostr: #asknostr ...

#asknostr

Has anyone figured out a good AI-based workflow for editing code? I don't want copilot, I don't want to copy everything into a chat box every time I want to ask a question. I want to give the LLM access to my local file system's copy of my repository, and say things like:

> Create a component called src/app/shared/FeedList.svelte which has a "create feed" button similar to the one on the groups list page, and a list of user feeds. Each list item should be in a card, with an "edit" link on the right that links to a form for editing the custom feed.

The agent would then update my file system in place, and I could review the changes via git, manually edit, or provide a follow-up prompt. When I'm happy with the results, I can commit the changes, rinse, and repeat.

That prompt is obviously very complex, particularly the inference of what a "button similar to the one on the groups list page" might be. But a dumber prompt would still be a 10x improvement over typing everything out by hand.
Author Public Key
npub1jlrs53pkdfjnts29kveljul2sm0actt6n8dxrrzqcersttvcuv3qdjynqn