Hacker News new | ask | show | jobs
by oldstrangers 1106 days ago
I've gotten pretty good at getting ChatGPT to do what I want. I wrote about it here, https://zchry.org/words/building-a-brand-identity-with-code, but that's probably still light on details for you.

There really isn't any magic bullet I don't think, every case is unique and involves a lot of trial and error. The original prompt was something as simple as "You're going to help me build a plugin for figma that draws Lissajous Curves". It starts with telling you how to setup the Figma plugin folder structure (which Figma makes super easy), installing all the dependencies / npm etc. From there, it was just a lot of going back and forth with ChatGPT fixing the bugs until it compiled cleanly (files we worked with: code.ts, manifest.json, tsconfig.json, ui.html), then going through the bugs that would be thrown in the app console when you actually ran the plugin.

Eventually though, everything worked great and Figma even approved the plugin to be published publicly.

My best piece of advice is that when I feel really far off where I want to be, I just start over from scratch and rework my prompts to more accurately guide ChatGPT in what I want.

And lastly, now that I have a basic "baseline" of how I want ChatGPT to help me with these plugins, I give it all that information up front and try it keep it in that predefined scope.

1 comments

Off topic, this is super impressive website. Thanks for sharing.
Thank you!