hodlbod on Nostr: Has anyone figured out a good AI-based workflow for editing code? I don't want ...
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.
Published at
2024-05-08 18:02:26Event JSON
{
"id": "e2e7fc56fbde1b0549f2f722b17b1c2d05011bdf9e0da1476eba5a2e614c0add",
"pubkey": "97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322",
"created_at": 1715191346,
"kind": 1,
"tags": [
[
"client",
"Coracle",
"31990:97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322:1685968093690"
]
],
"content": "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:\n\n\u003e 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.\n\nThe 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.\n\nThat 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.",
"sig": "47fe9e8e8652118075e3941e45ff3ebd69355d7194af03502926a88b37364d6f281ed028d93c41c7cb24c385064703927f56404a7bd09f9f5e247d957ae7e14b"
}