pimprompt instruction managerA command-line utility for managing prompt instructions and related files from multiple sources. Think of it as a package manager for AI prompts and instructions.
pim?Define your instructions once in a dedicated repository, then reuse them across multiple projects. Keep your AI prompts version-controlled, reviewable, and maintainable just like your code.
Split large instruction files into smaller, focused components. pim automatically merges and concatenates them into a single file, making complex prompt systems easier to maintain.
Pull instructions and prompts from external repositories like github/awesome-copilot. Stay up-to-date with community best practices and organizational standards.
Perfect for organizations managing multiple repositories. Centralize prompt governance, ensure consistency across teams, and maintain compliance with organizational standards.
PIM is compatible with all major AI coding assistants, making it the perfect solution for managing prompts and instructions across your entire development workflow.
Create a central repository of prompts and reuse them across multiple projects. Define organization-wide standards once and distribute them to all teams.
# In each project's pim.yaml
version: 1
sources:
- name: org-prompts
url: github.com/myorg/ai-prompts
targets:
- name: copilot-instructions
output: .github/copilot-instructions.md
include:
- "@org-prompts/prompts/code-review.md"
- "@org-prompts/prompts/documentation.md"Split complex instructions into maintainable components that PIM merges automatically. Keep your prompts organized and easy to update.
version: 1
targets:
- name: combined-instructions
output: .github/copilot-instructions.md
include:
- "instructions/base-rules.md"
- "instructions/coding-style.md"
- "instructions/security-guidelines.md"
- "instructions/project-specific.md"Ensure consistent AI behavior across organizational repositories. Maintain security requirements, code standards, and compliance guidelines in one place.
version: 1
sources:
- name: governance
url: github.com/myorg/ai-governance
targets:
- name: copilot-setup
output: .github/copilot-instructions.md
include:
- "@governance/governance/security-requirements.md"
- "@governance/governance/code-standards.md"
- "@governance/governance/compliance.md"
- ".github/team-guidelines.md"Create a directory and add your prompt files:
mkdir -p prompts
echo "You are a helpful coding assistant." > prompts/system.txt
echo "Always write clean, well-documented code." > prompts/user.txtCreate a pim.yaml file:
version: 1
targets:
- name: prompts
output: .github/copilot-instructions.md
include:
- "prompts/system.txt"
- "prompts/user.txt"pimpim install .Start using pim to version-control, share, and maintain your AI prompts across projects.