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.).

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

See REQUIREMENTS.md for detailed specifications.

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

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

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
dumpty install https://github.com/org/my-prompts --version v1.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
├── pyproject.toml      # Project configuration
├── Makefile           # Build and development tasks
└── README.md          # This file

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.1.0.tar.gz (19.9 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.1.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file prompty_dumpty-0.1.0.tar.gz.

File metadata

  • Download URL: prompty_dumpty-0.1.0.tar.gz
  • Upload date:
  • Size: 19.9 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.1.0.tar.gz
Algorithm Hash digest
SHA256 f382ba0530c80461e32b829f0dccaf8e6b3b0c605e99e1b83639038f06c9a56b
MD5 a6313968296aaaf8fb5d0a124959f772
BLAKE2b-256 f37bc8a9122915c981bd735e569fa9b418aed6859d0064f9e7ddfd6edd0cc218

See more details on using hashes here.

Provenance

The following attestation bundles were made for prompty_dumpty-0.1.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: prompty_dumpty-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa82a77ee907530f84f185feee421b0ab69424b7c0c6f6a113069b1aee86e41b
MD5 bebdc3885176a3931a35e82b9746a818
BLAKE2b-256 4dd63e4d461b85a46619dabd705b06faf3d240d34a5dfbbe27ad9d2350217df6

See more details on using hashes here.

Provenance

The following attestation bundles were made for prompty_dumpty-0.1.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