Share AI prompts to make the creation of draft patterns easier
Some of our contributors struggle with the first steps of creating a draft pattern. By providing AI prompts for this step we can make it easier for these contributors to create an initial draft version very quickly, which they can take and adapt.
This idea stems from this conversation:
... do we want to create some prompts for Cursor & VSCode that will help people build patterns?
If you haven’t used them yet, here’s some background & fodder.
https://docs.cursor.com/context/rules
https://code.visualstudio.com/docs/copilot/copilot-customization#_prompt-files-experimental
https://github.com/PatrickJS/awesome-cursorrules
I’d be happy to start a PR with some and we can use them to build an initial version of this pattern.
Originally posted by @jeffabailey in #285
We have some examples of PRs already that contain pattern drafts generated by AI. These PRs also contain the ChatGPT prompts that were used.
@jeffabailey I pulled this idea out into a separate issue.
Assigned you to it, as it sounds like you have experience and interest in this space. Please let me know if that was too much wishful thinking on my part 😄 and you would rather be removed from this issue again.
@amburi curious to hear your input on this idea. We are talking about "providing examples of AI prompts" here but it seems similar enough to what you are describing in the AI Code Generation Context pattern.
Also linking to https://agents.md, to not forget about it.
Thanks @spier — I agree this is closely related to the AI Code Generation Context pattern. One next step could be to create an innersource-ai folder that contains a prompt template (for generating initial drafts from AI-generated pattern drafts) and other supporting context, like the pattern template itself.
At the same time, the AI prompts template could also evolve into a separate pattern proposal — capturing the context engineering aspect in the existing AI Code Generation Context pattern, and the prompt engineering aspect in this suggested one.
@jeffabailey I'd be happy to collaborate with you on this one.
For the beginning, I would be happy just to have prompt templates for commonly used AI tools. I only really use and know ChatGPT but I guess Cursor and GitHub Copilot are also popular?
Does not have to be "complete" by any means, we could even just start with one prompt, for one tool. (maybe rather than talking about it, I just do it - see https://github.com/InnerSourceCommons/InnerSourcePatterns/pull/837)
We can collect these prompts (and other AI tipps related to patterns) anywhere really.
Maybe in a new file below the /meta folder`?
I might not call use the term innersource-ai in our repo though, as this is an opensource and not an InnerSource project ;)