Skip to content

ClipboardHealth/prompts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prompts

Clipboard logo.

Clipboard's collection of prompts to assist LLMs in generating code adhering to our best practices.

Table of contents

Usage

# Add this repo as a submodule to your project
git submodule add git@github.com:ClipboardHealth/prompts.git

# Create a symlink to an appropriate rules file in the current directory
ln -s ./prompts/rules/fullStack.md .cursorrules

When prompting LLMs, @ reference the prompts by name. For example, @_test.md @myFile.ts writes tests for myFile.ts. See @ Symbols for details.

Directory structure

  • fragments/
    • Reusable prompt fragments that ./combine.sh concatentates into complete prompts or rules.
  • prompts/
    • Provided to LLMs to generate best practice code. Start names with _ for easy @ references. See examples in Usage.
    • beta/
      • Ideally, you'll get reliable results before adding prompts to this repository, but sometimes it's nice to iterate across various domains. Use this folder for the latter.
  • rules/
    • Custom instructions provided in every prompt. See a symlink example in Usage and Cursor's Rules for AI for details.

Attribution

About

A collection of AI prompts.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages