Short answer
Save important prompts in project files and record their changes with Git. Git history is the version record for a prompt; turn a prompt that has become a repeatable task into a versioned skill.
Words used in this guide
- AIPM: a tool that installs and updates reusable AI instructions.
- Package: a named group of files that people can install and update together.
- Workflow: a set of steps used to finish a task.
- Repository or repo: a project folder whose changes are saved and tracked.
- Git: a tool that records file changes so people can review or undo them.
What this means
Move prompts out of chat
Chat history is not a good source of truth. If a prompt matters, save it as a file in the project.
Review prompt changes like code
A small prompt change can change AI output. Use pull requests so teammates can read the change before it spreads.
Use packages for shared prompts
If many projects need the same repeatable workflow, turn it into a skill and publish it with AIPM so each project can pin an exact version. For prompts from the AIPM prompt library, aipm add <prompt URL> saves a Markdown snapshot in the project; prompt snapshots have no version numbers, and aipm update pulls the newest content. For versioning skills across a team, see how to share Claude skills with your team.
Simple steps
- Create a folder for AI files in the repo.
- Add the prompt, its purpose, and examples.
- Commit the file to Git.
- Review changes before merging.
- Turn shared, repeatable workflows into versioned AIPM skills.
Where to go next
If you want to try this in a real project, start with how to use AIPM and the command reference. If you want to share your own workflow, read the publishing guide.
FAQ
Why not keep prompts only in a shared document?
A shared document is easy to read, but it may not match the project. Git keeps the prompt near the code that uses it.
When should a prompt become a skill?
When it is a repeatable task that is useful in more than one project or for more than one teammate. A skill gets a name, an exact version, and an install command.