Skip to content

[Proposal]: Add PromptyDumpty Package Manager Support #112

@dasiths

Description

@dasiths

Issue Description

Add PromptyDumpty package manager support to HVE Core, enabling users to easily install chatmodes, prompts, instructions, and scripts into their projects with a single command.

Currently, users must use Git subtrees or submodules to integrate HVE Core into their projects, or manually clone and configure a multi-root workspace. This approach works but has inherent limitations around versioning, selective installation, and maintenance overhead.

Proposed Solution

Introduce a dumpty.package.yaml manifest file that defines all HVE Core artifacts as a PromptyDumpty package. This provides a modern package management experience alongside the existing Git-based integration methods.

Package Structure

The manifest will organize 61 artifacts into 8 categories:

Artifacts by Type

  • 14 Chatmodes - Task planning, research, ADR creation, data science, PR review, etc.
  • 10 Prompts - Git workflows, ADO automation, issue management
  • 17 Instructions - Language-specific and workflow-specific coding guidelines
  • 20 Scripts - Linting, security validation, and development tools

Categories

  • ado - Azure DevOps workflows and automation
  • git - Git workflows and automation
  • development - Development workflows and task management
  • documentation - Documentation generation and management
  • testing - Testing and quality assurance
  • security - Security scanning and validation
  • linting - Code quality and linting tools
  • data-science - Data science and analytics workflows

Comparison: Git Subtree vs PromptyDumpty

Git Subtree Approach (Current)

How it works:

# Add HVE Core as a subtree
git subtree add --prefix .hve-core https://github.com/dasiths/hve-core main --squash

# Update to latest
git subtree pull --prefix .hve-core https://github.com/dasiths/hve-core main --squash

Pros:

  • Native Git integration - No additional tools required

Cons:

  • All-or-nothing - No selective installation by category
  • Local modifications drift - Customizing artifacts would required upstream push

PromptyDumpty Approach (Proposed)

How it works:

# Install all categories
pip install prompty-dumpty
dumpty install https://github.com/dasiths/hve-core

# Or install specific categories only
dumpty install https://github.com/dasiths/hve-core --categories data-science,git

Pros:

  • Selective installation - Install only needed categories (e.g., just data-science or git)
  • Version locking - Lockfile tracks exact commit SHA for reproducibility
  • Supports multiple accelerators - Can use the package manager to install multiple hve-core type accelerators.

Cons:

  • Additional tool dependency - Requires Python/pip and PromptyDumpty

Additional Context

After implementation, users can install like this:

# Install everything
pip install prompty-dumpty
dumpty install https://github.com/microsoft/hve-core

# update
dumpty update hve-core

# Install specific categories only
dumpty install https://github.com/microsoft/hve-core --categories development,git

# Install for data science workflows
dumpty install https://github.com/microsoft/hve-core --categories data-science,development

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions