Skip to main content

Universal package manager for AI coding assistants

Project description

PromptyDumpty

PyPI - Workflow PyPI - Version PyPI - Downloads

A lightweight, universal package manager for AI coding assistants (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 coding assistants
  • 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 and type:

name: my-workflows
version: 1.0.0
description: Custom development workflows
manifest_version: 1.0

agents:
  copilot:
    prompts:
      - name: code-review
        description: Code review workflow
        file: src/review.md
        installed_path: code-review.prompt.md
    modes:
      - name: standards
        description: Coding standards mode
        file: src/standards.md
        installed_path: standards.md
  
  claude:
    commands:
      - name: code-review
        description: Code review command
        file: src/review.md
        installed_path: review.md

Key Features:

  • Organize files however makes sense to you
  • Organize artifacts by type (prompts, modes, rules, commands, etc.)
  • Use "files" type for generic artifacts
  • Explicitly map each file to its install location per agent
  • Reuse the same source file for multiple agents
  • Installation paths: {agent_dir}/{type}/{package}/{file}

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 Coding Assistants

  • 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.4.0.tar.gz (50.5 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.4.0-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: prompty_dumpty-0.4.0.tar.gz
  • Upload date:
  • Size: 50.5 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.4.0.tar.gz
Algorithm Hash digest
SHA256 30f1df88d1901b49c3d62224391d6eba0aab5e7d65d5b03b0127cd1ea01773d1
MD5 f38f1c0749bac3c93619ff1637b08d30
BLAKE2b-256 ea8de8a73e8c57e75bdad13d9c8c793edbdc2230bed842d1b6f1578410f20539

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: prompty_dumpty-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 24.7 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 345bea107e73431e9f1f9e91adf0c1224aa475ec615338ce38c9dc3486cffb03
MD5 e2a9c809f11e33423e8733c6061d7635
BLAKE2b-256 6496bc8281f8060a1dbe9dd14d4180f13feb5ee5b92f377721803f61f84f2824

See more details on using hashes here.

Provenance

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