Skip to content

feat(tui): add interactive commit message builder #104

Open

Description

@somethingwithproof

Description

Add interactive commit message builder with TUI for constructing conventional commit messages.

Motivation

  • Ensure consistent commit message format
  • Guide users through commit type selection
  • Validate commit messages before submission
  • Support team-specific scopes

Proposed Solution

  1. Implement TUI with ratatui/crossterm
  2. Add commit type selector (feat, fix, docs, etc.)
  3. Add scope autocomplete from git history
  4. Implement breaking change indicator
  5. Add commit message preview

Acceptance Criteria

  • Interactive TUI launches with commitkit
  • Type selection with descriptions
  • Scope suggestions from recent commits
  • Breaking change prompt when needed
  • Message preview before commit
  • Integration with git commit hook

UI Flow

┌─────────────────────────────────────┐
│ CommitKit - Conventional Commits    │
├─────────────────────────────────────┤
│ Type: [feat ▼]                      │
│ Scope: [auth    ] (optional)        │
│ Breaking: [ ]                       │
│ Description: ___________________    │
│                                     │
│ Preview:                            │
│ feat(auth): add OAuth2 support      │
│                                     │
│ [Commit] [Cancel]                   │
└─────────────────────────────────────┘

Commits should follow

feat(tui): implement interactive commit builder
feat(tui): add scope autocomplete
feat(config): add .commitkit.toml support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions