Skip to main content

Development workflow management system with memory tracking

Project description

Prompt Manager

A powerful AI-assisted workflow management system with advanced task tracking and debugging capabilities.

Features

  • Memory Bank System: Maintains perfect documentation and project context
  • Task Tracking: Advanced task management and progress monitoring
  • Debugging Tools: Comprehensive debugging and troubleshooting support
  • GitHub Integration: Seamless integration with existing GitHub repositories
  • IDE Support: VSCode integration for enhanced development workflow
  • bolt.new Integration: AI-powered task generation for web applications
  • LLM Enhancement: Autonomous code improvement and pull request generation

Installation

You can install the latest release (v0.3.16) using pip:

pip install tosins-prompt-manager==0.3.16

Or download directly from GitHub releases:

# Clone the repository
git clone https://github.com/tosin2013/prompt-manager.git
cd prompt-manager

# Checkout the latest release
git checkout v0.3.16

# Install in editable mode
pip install -e .

Quick Start

Basic Task Management

from prompt_manager import PromptManager

# Initialize project
pm = PromptManager("your_project_name")

# Add a new task
task = pm.add_task(
    name="implement-feature",
    description="Add new feature X",
    details="Implementation requirements..."
)

# Track progress
pm.update_progress(
    task_name="implement-feature",
    status="in_progress",
    details="Completed initial implementation"
)

Generate Web Development Tasks

# Generate structured development tasks with bolt.new
tasks = pm.generate_bolt_tasks(
    project_name="My Web App",
    framework="Next.js"  # Optional, defaults to Next.js
)

# List generated tasks
for task in tasks:
    print(f"{task.name} - Priority: {task.priority}")

Using LLM Enhancement

from prompt_manager import LLMEnhancement

# Initialize LLM Enhancement
llm = LLMEnhancement(memory_bank)

# Start learning session
llm.start_learning_session()

# Generate code improvements
suggestions = llm.generate_suggestions()

# Create pull request
pr = llm.suggest_pull_request(
    changes=[{"path/to/file.py": "new content"}],
    title="Improve code structure",
    description="Enhance modularity and readability"
)

# Submit pull request
success, message = llm.create_pull_request(pr)

Command Line Interface

The package provides a comprehensive CLI for managing your development workflow:

# Initialize a new project
prompt-manager init [PATH]

# Analyze a repository for project context
prompt-manager analyze-repo PATH

# Add a new task
prompt-manager add-task NAME DESCRIPTION PROMPT [--priority NUMBER]

# Update task progress
prompt-manager update-progress NAME STATUS

# List tasks with optional filtering and sorting
prompt-manager list-tasks [--status STATUS] [--sort-by FIELD]

# Export tasks to a file
prompt-manager export-tasks OUTPUT

# Generate bolt.new development tasks
prompt-manager generate-bolt-tasks PROJECT_DESCRIPTION FRAMEWORK

# Start interactive mode
prompt-manager startup --interactive

# Analyze LLM's interaction patterns
prompt-manager reflect

# Enable autonomous learning mode
prompt-manager learn-mode

# Allow LLM to modify its tooling
prompt-manager meta-program

Available task statuses:

  • PENDING
  • IN_PROGRESS
  • COMPLETED
  • BLOCKED
  • FAILED

Sort fields for list-tasks:

  • priority
  • created
  • updated

Using the CLI

# Initialize a new project
prompt-manager init "my-web-app"

# Generate bolt.new tasks
prompt-manager generate-bolt-tasks "Create a blog with authentication" --framework Next.js

# List all tasks
prompt-manager list-tasks

Documentation

Development

  1. Clone the repository:
git clone https://github.com/tosin2013/prompt-manager.git
cd prompt-manager
  1. Install dependencies:
pip install -r requirements.txt
  1. Run tests:
pytest tests/

Release Process

Releases are automated via GitHub Actions. To create a new release:

  1. Update version in setup.py
  2. Create and push a new tag:
git tag -a v1.0.0 -m "Release v1.0.0"
git push origin v1.0.0

The GitHub Action will automatically:

  • Run tests across Python versions
  • Build the package
  • Create a GitHub release
  • Upload build artifacts

Latest Release (v0.3.16)

What's New

  • Added comprehensive CLI command documentation
  • Updated Python version support (3.9-3.13)
  • Package renamed to tosins-prompt-manager
  • LLM Enhancement: Autonomous code improvement and pull request generation
  • bolt.new Integration: Generate structured development tasks for web applications
  • Enhanced Task Management: Improved task tracking and organization
  • Memory Bank Updates: Better context management for web development

Breaking Changes

None

Bug Fixes

  • Improved task persistence
  • Enhanced test coverage
  • Fixed CLI command handling
  • Improved error handling in LLM Enhancement

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Built with Cline integration
  • Inspired by AI-assisted development workflows
  • Powered by bolt.new for web development task generation
  • Enhanced by LLM-driven code improvements

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

tosins_prompt_manager-0.3.16.tar.gz (54.0 kB view details)

Uploaded Source

Built Distribution

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

tosins_prompt_manager-0.3.16-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file tosins_prompt_manager-0.3.16.tar.gz.

File metadata

  • Download URL: tosins_prompt_manager-0.3.16.tar.gz
  • Upload date:
  • Size: 54.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for tosins_prompt_manager-0.3.16.tar.gz
Algorithm Hash digest
SHA256 0b95bc7e6ba8919759e105706782a0310227e5be49c11fda63fcebe33e488afd
MD5 03f28dc3c8c23240c75d69c3093c939a
BLAKE2b-256 836c133126ac5cb155a37260d0411f922cc588ba9a134d3bcec3f7be0d4ad316

See more details on using hashes here.

File details

Details for the file tosins_prompt_manager-0.3.16-py3-none-any.whl.

File metadata

File hashes

Hashes for tosins_prompt_manager-0.3.16-py3-none-any.whl
Algorithm Hash digest
SHA256 b3f04934777cc7fcdc951c085419ad7d5cbde45873e1f56f02024ac1a53867f0
MD5 db37d70b543e0765f62f9ed5456394a6
BLAKE2b-256 6281f5f2f52fa91f3374d013f60d5f10aa3d976ac4115044752ba61279e4ee76

See more details on using hashes here.

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