Skip to main content

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

  1. Auto-detects your AI agent (checks for .github/prompts/, .claude/commands/, etc.)
  2. Installs package files to the right directories
  3. Tracks everything in a lockfile for easy management
  4. 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:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run tests: make test
  5. Format code: make format
  6. Check linting: make lint
  7. Submit a pull request

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prompty_dumpty-0.2.0.tar.gz (36.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prompty_dumpty-0.2.0-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

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

Hashes for prompty_dumpty-0.2.0.tar.gz
Algorithm Hash digest
SHA256 923d74d556f108270f39be06e3bd41690a3be7c6ffaaad1098edfaa3cf05d0e4
MD5 b152b5a08942d7c07ac153eabb4f1f84
BLAKE2b-256 7125b70c03becf8ea045ec998f06354d564917643b43055f6f991b6768cbbcb6

See more details on using hashes here.

Provenance

The following attestation bundles were made for prompty_dumpty-0.2.0.tar.gz:

Publisher: publish-to-pypi.yml on dasiths/PromptyDumpty

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for prompty_dumpty-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4c99fc3b18fa4012aa2ac56b46ee58593f9279767084359bbdf7e5dfb4fede1
MD5 9f0a46b380dfd90e6c8898c9267867b6
BLAKE2b-256 cfd31a23e9e101964b837c5f69b540ef991164cd10755c87a76f6dfcbb192c64

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page