Universal package manager for AI agent artifacts
Project description
PromptyDumpty
A lightweight, universal package manager for AI agent artifacts (prompts, instructions, rules, workflows, etc.).
๐ Visit dumpty.dev for full documentation and guides.
What is it?
PromptyDumpty lets you install and manage prompt packages across different AI coding assistants like GitHub Copilot, Claude, Cursor, Gemini, Windsurf, and more.
Why?
- Share prompts easily: Package and distribute your team's prompts
- Works everywhere: One package works with multiple AI agents
- Simple: Just YAML files and Git repos, no complex setup
- Safe: Clean installation and removal, clear tracking
Quick Start
# Initialize in your project
dumpty init
# Install a package
dumpty install https://github.com/org/my-prompts
# List installed packages
dumpty list
# Update packages
dumpty update --all
# Remove a package
dumpty uninstall my-prompts
How it works
- Auto-detects your AI agent (checks for
.github/prompts/,.claude/commands/, etc.) - Installs package files to the right directories
- Tracks everything in a lockfile for easy management
- Organizes files by package name for clean removal
Package Structure
Organize your files however you want! The manifest defines everything:
my-package/
โโโ dumpty.package.yaml # Package manifest
โโโ README.md
โโโ src/ # Any structure you prefer
โโโ planning.md
โโโ review.md
โโโ standards.md
Creating Packages
Define what your package provides in dumpty.package.yaml - organized by agent:
name: my-workflows
version: 1.0.0
description: Custom development workflows
agents:
copilot:
artifacts:
- name: code-review
description: Code review workflow
file: src/review.md
installed_path: prompts/code-review.prompt.md
- name: standards
file: src/standards.md
installed_path: rules/standards.md
claude:
artifacts:
- name: code-review
file: src/review.md
installed_path: commands/review.md
Key Features:
- Organize files however makes sense to you
- Explicitly map each file to its install location per agent
- Reuse the same source file for multiple agents
- Full control over installed paths and filenames
Documentation
๐ Full documentation available at dumpty.dev
Installation
From Source
# Clone the repository
git clone https://github.com/dasiths/PromptyDumpty.git
cd PromptyDumpty
# Install in development mode (recommended for contributors)
make install-dev
# Or install in production mode
make install
Using pip (when published)
pip install prompty-dumpty
Verify Installation
dumpty --version
Development
Prerequisites
- Python 3.8 or higher
- Git
- Make (optional, for using Makefile commands)
Setup Development Environment
# Clone and navigate to repository
git clone https://github.com/dasiths/PromptyDumpty.git
cd PromptyDumpty
# Install in development mode with all dependencies
make install-dev
Available Make Commands
Python/CLI Commands:
make help # Show all available commands
make test # Run tests
make test-cov # Run tests with coverage report
make lint # Run linters (ruff and black)
make format # Format code with black
make build # Build distribution packages
make clean # Remove build artifacts
make run ARGS='...' # Run dumpty CLI
Website Commands:
make website-install # Install website dependencies
make website-dev # Start dev server with hot reload
make website-build # Build website for production
make website-preview # Preview production build
make website-clean # Remove website build artifacts
Running Tests
# Run all tests
make test
# Run tests with coverage
make test-cov
# Run specific test file
pytest tests/test_models.py -v
Code Quality
# Check code formatting and linting
make lint
# Auto-format code
make format
Usage Examples
Initialize a Project
# Auto-detect agents in current directory
dumpty init
# Initialize with specific agent
dumpty init --agent copilot
dumpty init --agent claude
Install Packages
# Install from GitHub repository
dumpty install https://github.com/org/my-prompts
# Install specific version tag
dumpty install https://github.com/org/my-prompts --version 1.0.0
# Install for specific agent
dumpty install https://github.com/org/my-prompts --agent copilot
List Installed Packages
# Show installed packages (table view)
dumpty list
# Show detailed information
dumpty list --verbose
Using the Makefile
# Run CLI commands using make
make run ARGS='--version'
make run ARGS='init --agent copilot'
make run ARGS='list'
make run ARGS='install https://github.com/org/my-prompts'
Supported AI Agents
- GitHub Copilot (
.github/) - Claude (
.claude/) - Cursor (
.cursor/) - Gemini (
.gemini/) - Windsurf (
.windsurf/) - Cline (
.cline/) - Aider (
.aider/) - Continue (
.continue/)
Project Structure
PromptyDumpty/
โโโ dumpty/ # Main package
โ โโโ cli.py # CLI entry point
โ โโโ models.py # Data models
โ โโโ agent_detector.py # Agent detection
โ โโโ downloader.py # Package downloading
โ โโโ installer.py # File installation
โ โโโ lockfile.py # Lockfile management
โ โโโ utils.py # Utilities
โโโ tests/ # Test suite
โโโ website/ # Documentation website (dumpty.dev)
โ โโโ src/ # React source files
โ โโโ public/ # Static assets
โ โโโ README.md # Website development guide
โโโ docs/ # Documentation and planning
โโโ examples/ # Example packages and demos
โโโ pyproject.toml # Project configuration
โโโ Makefile # Build and development tasks
โโโ README.md # This file
Website Development
The project website is built with Vite + React and deployed at dumpty.dev.
Running the Website Locally
# Install dependencies
make website-install
# Start dev server (with hot reload)
make website-dev
Visit http://localhost:5173 in your browser.
Building for Production
# Build the website
make website-build
# Preview production build
make website-preview
See website/README.md for more details and website/DEPLOYMENT.md for deployment instructions.
Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests:
make test - Format code:
make format - Check linting:
make lint - Submit a pull request
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file prompty_dumpty-0.2.0.tar.gz.
File metadata
- Download URL: prompty_dumpty-0.2.0.tar.gz
- Upload date:
- Size: 36.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
923d74d556f108270f39be06e3bd41690a3be7c6ffaaad1098edfaa3cf05d0e4
|
|
| MD5 |
b152b5a08942d7c07ac153eabb4f1f84
|
|
| BLAKE2b-256 |
7125b70c03becf8ea045ec998f06354d564917643b43055f6f991b6768cbbcb6
|
Provenance
The following attestation bundles were made for prompty_dumpty-0.2.0.tar.gz:
Publisher:
publish-to-pypi.yml on dasiths/PromptyDumpty
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
prompty_dumpty-0.2.0.tar.gz -
Subject digest:
923d74d556f108270f39be06e3bd41690a3be7c6ffaaad1098edfaa3cf05d0e4 - Sigstore transparency entry: 672019600
- Sigstore integration time:
-
Permalink:
dasiths/PromptyDumpty@81a189585fc0aa60e1312c1c91c6110140ca1ee0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dasiths
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@81a189585fc0aa60e1312c1c91c6110140ca1ee0 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file prompty_dumpty-0.2.0-py3-none-any.whl.
File metadata
- Download URL: prompty_dumpty-0.2.0-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4c99fc3b18fa4012aa2ac56b46ee58593f9279767084359bbdf7e5dfb4fede1
|
|
| MD5 |
9f0a46b380dfd90e6c8898c9267867b6
|
|
| BLAKE2b-256 |
cfd31a23e9e101964b837c5f69b540ef991164cd10755c87a76f6dfcbb192c64
|
Provenance
The following attestation bundles were made for prompty_dumpty-0.2.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on dasiths/PromptyDumpty
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
prompty_dumpty-0.2.0-py3-none-any.whl -
Subject digest:
c4c99fc3b18fa4012aa2ac56b46ee58593f9279767084359bbdf7e5dfb4fede1 - Sigstore transparency entry: 672019650
- Sigstore integration time:
-
Permalink:
dasiths/PromptyDumpty@81a189585fc0aa60e1312c1c91c6110140ca1ee0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dasiths
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@81a189585fc0aa60e1312c1c91c6110140ca1ee0 -
Trigger Event:
workflow_dispatch
-
Statement type: