Files
DevGen/TODO.md
T
sankalp c121a7fa59 feat(devgen/modules): add interactive commit review and smart file grouping
- New Features:
  - Added `check` parameter to enable interactive commit message review
  - Implemented user confirmation/editing/abort workflow using questionary
  - Added smart file grouping with configurable max_groups limit
  - Files are now merged into parent directories when group count exceeds limit

- Enhancements:
  - Improved `group_files()` method with hierarchical merging logic
  - Added graceful KeyboardInterrupt handling during user review
  - Enhanced logging for group merging operations
```
2025-12-25 09:35:33 +05:45

2.2 KiB

📋 Project Roadmap & TODOs

This document outlines future improvements, features, and technical debt for devgen.

🚀 Priority: Short-Term (Reliability & DX)

  • Full Test Suite: Implement pytest for all modules, especially commit_generator and utils.
  • Interactive Commit Review: Add a --check flag to devgen commit run that allows users to approve/edit the AI message before committing.
  • Project-Level Config: Support .devgen.yaml in the repository root that overrides global ~/.devgen.yaml.
  • Improved Gitignore Detection: Auto-detect project type (Python, Node, Go) and suggest relevant .gitignore templates during devgen gitignore run.

🤖 AI & Intelligence

  • Custom Prompts: Allow users to define their own Jinja2 templates for commits in the config file(~/.devgen.yaml).
  • Context-Aware Commits: Send the manifest file (package.json, pyproject.toml) to the AI to provide better context for dependency changes.
  • Token Usage Dashboard: Add a devgen config tokens command to estimate or track AI token consumption.
  • More Providers: Add support for Mistral, Cohere, and Groq for faster/cheaper generations.

🛠️ Developer Experience (DX)

  • Pre-commit Hook Integration: Provide a command to easily install devgen as a pre-commit hook.
  • Shell Completion: Implement typer shell completion for bash, zsh, and fish.
  • Commit Undo: devgen commit undo to easily revert the last AI-generated commit and unstage files.
  • Multi-Group Commits: Better handling of repositories where changes are spread across many unrelated directories.

🏗️ Refactoring & Technical Debt

  • Code Split: Move CLI logic out of devgen/cli into separate service classes to improve testability.
  • Consistent Logging: Standardize log output across all modules.
  • API Documentation: Use Sphinx or MkDocs to generate documentation for the core modules.

🌍 Ecosystem

  • GitHub Action: Create an official devgen GitHub Action for automated changelog updates on PR merge.
  • VS Code Extension: A simple extension to trigger devgen commit from the sidebar.