PicoCreator / smol-dev-js

Smol personal AI, for smol incremental tasks in a JS project
MIT License
322 stars 52 forks source link

Incremental prompt in md file #9

Closed tiagoefreitas closed 1 year ago

tiagoefreitas commented 1 year ago

For incremental development it is cumbersome to use only the command line, as sometimes I want to pass on code examples or documentation.

A good start is to be able to load an instructions.md file. Or even better a folder with several md files like spec2code but for a smaller feature or change than the whole app.

Best would be best to have a web UI like Friday

https://github.com/amirrezasalimi/friday

tiagoefreitas commented 1 year ago

Is there a trick to use spec2code on an existing project to modify it?

PicoCreator commented 1 year ago

Wanted to say that you could just specify what files you want to change using prompt mode. But i noticed you did a PR for an alternative with just the "md" command

shannonlal commented 1 year ago

@PicoCreator would you have some ideas on how to implement this? Would be open to attempting to create a PR for this. I have been looking through the code and could give this a try if you could point me in the right direction

tiagoefreitas commented 1 year ago

A simple version is already implemented as my PR was accepted. You just create a file incremental.md on the project root folder, and use the command "md" as the ai prompt

PicoCreator commented 1 year ago

Refencing and closing : https://github.com/PicoCreator/smol-dev-js/pull/10