Help

Snipity-Do: A GPT CoPilot for Script Examination

696 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Bill_French
17 - Neptune
17 - Neptune

I’ve written about CoPilots before, and here’s an example of one I built some time ago and found quite helpful.

What if you could highlight a block of code in the Airtable editor, and with a single keyboard shortcut, it could instantly examine the code to reveal:

  1. What its purpose is, and how it works.
  2. The most likely ways it might fail.
  3. The technical debt that it carries and the estimated cost of that debt.
Bill_French_0-1681228964239.jpeg

The [Paste] button inserts this content as a comment above the examined code.

This is pretty cool, and I use it a lot, partly because I’m lazy; I don’t want to examine my own code, let alone code written by others.

I have used this when reading code examples in various communities; it is designed to work everywhere you are looking at code and includes ignoring statements like output.Markdown().

Bill_French_1-1681228964118.jpeg

I used a script from @Oglesbeard above as an example to see how well it would compare with his excellent documentation of the function. Snipity-Do did alright.

Bill_French_0-1681229507254.png

In my practice, this utility also posts analytics into a Coda document, such as who wrote the code, the date/time it was assessed, what additional comments were added by the person assessing the code, etc. I use it to track progress and change as much as it is used to inform a developer of some things to look out for.

I can use this tool across Windows, Mac OS, and Linux. It can be used inside any editor, app, or desktop app and Slack.

I’ll be happy to field questions about the approach I used to create this utility, but not in this thread. Contact me direct (bill.french@gmail.com) or do it here. But first, I'd love some feedback …

  1. Is this something that fills a gap?
  2. Does it have value?
  3. Who amongst you would love to take this basic functionality and go nuts with it in a commercial way?
0 Replies 0