COMMIT VIBES

Custom Emoji Configuration

Customize the emoji "vibes" available in commit-vibes to match your team's style and preferences. You can add your own emoji sets, modify existing ones, or create project-specific vibes.

Understanding Vibes

In commit-vibes, "vibes" are emoji-based mood indicators that you add to your commit messages. Each vibe consists of:

Default Vibes

commit-vibes comes with 20+ pre-configured vibes including:

View all available vibes with:

commit-vibes --list-vibes

Creating Custom Vibes

To create your own custom vibes, you'll need to create a configuration file. Currently, this requires modifying the source code, but we're working on a simpler configuration system.

Option 1: Modify the Source (Advanced)

If you've installed commit-vibes locally or cloned the repository:

  1. Navigate to the commit-vibes source directory:
    cd node_modules/commit-vibes/src
    Or if you cloned the repo:
    cd commit-vibes/src
  2. Open vibes.js
  3. Add your custom vibes to the VIBES array. Each vibe follows this structure:
    {
      value: "๐ŸŽจ Your Emoji Text",
      label: "๐ŸŽจ Your Emoji Text",
      hint: "Description of when to use this vibe"
    }

Vibe Structure Explained

{
  value: "๐ŸŽจ Custom Vibe",        // What appears in commit message
  label: "๐ŸŽจ Custom Vibe",         // What shows in selection menu
  hint: "When you want to express creativity"  // Helpful description
}

Example Custom Vibes

{
  value: "๐Ÿงช Testing Time",
  label: "๐Ÿงช Testing Time",
  hint: "Writing tests or fixing test failures"
},
{
  value: "๐Ÿ“š Documentation",
  label: "๐Ÿ“š Documentation",
  hint: "Updating docs or README files"
},
{
  value: "๐ŸŽฏ Focus Mode",
  label: "๐ŸŽฏ Focus Mode",
  hint: "Deep work session, major feature"
},
{
  value: "โ˜• Coffee Break",
  label: "โ˜• Coffee Break",
  hint: "Quick fixes between breaks"
}

Best Practices for Custom Vibes

Emoji Selection

Naming Conventions

Organization

Project-Specific Vibes

You can create project-specific vibes by modifying the vibes file in a local installation. For example, if you're working on a design system project, you might add:

{
  value: "๐ŸŽจ Design System",
  label: "๐ŸŽจ Design System",
  hint: "Updating component library or design tokens"
},
{
  value: "๐ŸŒˆ Theming",
  label: "๐ŸŒˆ Theming",
  hint: "Working on themes, colors, or styling"
}

Recent Vibes Feature

commit-vibes automatically tracks your recently used vibes and shows them at the top of the selection menu for quick access. This makes it easy to reuse your favorite vibes without scrolling through the entire list.

Limitations and Future Improvements

Currently, customizing vibes requires modifying source code. We're working on:

Troubleshooting

Custom Vibes Not Appearing

Emojis Not Displaying Correctly

Vibes List Too Long

Sharing Vibe Sets

To share your custom vibes with your team:

  1. Export your VIBES array from vibes.js
  2. Share the configuration with your team
  3. Each team member can copy it into their local installation

Note: In the future, we'll support team-shared configurations via config files.

Examples by Use Case

For Frontend Developers

{
  value: "๐ŸŽจ UI Polish",
  label: "๐ŸŽจ UI Polish",
  hint: "Improving visual design or UX"
},
{
  value: "๐Ÿ“ฑ Responsive",
  label: "๐Ÿ“ฑ Responsive",
  hint: "Mobile or responsive design work"
},
{
  value: "โšก Performance",
  label: "โšก Performance",
  hint: "Optimizing load times or rendering"
}

For Backend Developers

{
  value: "๐Ÿ”ง API Changes",
  label: "๐Ÿ”ง API Changes",
  hint: "Modifying endpoints or API structure"
},
{
  value: "๐Ÿ—„๏ธ Database",
  label: "๐Ÿ—„๏ธ Database",
  hint: "Schema changes or queries"
},
{
  value: "๐Ÿ” Security",
  label: "๐Ÿ” Security",
  hint: "Security improvements or fixes"
}

For DevOps

{
  value: "๐Ÿš€ Deployment",
  label: "๐Ÿš€ Deployment",
  hint: "CI/CD or deployment changes"
},
{
  value: "๐Ÿณ Docker",
  label: "๐Ÿณ Docker",
  hint: "Container or infrastructure changes"
},
{
  value: "โ˜๏ธ Cloud",
  label: "โ˜๏ธ Cloud",
  hint: "Cloud infrastructure or services"
}