mentat-git

Automate Git commits and rebases within devcontainers using worktree slices.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/matheushenriquefs/mentat --skill mentat-git
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mentat-git
Source: https://github.com/matheushenriquefs/mentat/tree/main/.agents/skills/mentat-git
Command: npx skills add https://github.com/matheushenriquefs/mentat --skill mentat-git

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Mentat-Git automates Git operations such as commits, rebases, and worktree management within a secure container environment, providing a reliable way to manage Git repositories and their parallel coding workflows.

Core Features & Use Cases

  • Commit Automation: Automate commits and rebase operations through the devcontainer, ensuring secure execution within the container.
  • Worktree Management: Manage worktrees efficiently, creating and sweeping them with safety checks and confirmations.
  • Use Case: Imagine you have multiple coding agents working in parallel on different parts of a project. Mentat-Git allows you to commit changes and rebase worktree slices while ensuring each agent operates securely within its isolated container environment.

Quick Start

Execute the commit operation by using the 'mentat-git commit' command.

Frequently Asked Questions about mentat-git

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate git commits and rebases inside a devcontainer?

Automate git commits and rebases inside a devcontainer by executing specific commands like 'mentat-git commit' to securely manage repository operations within an isolated container environment.

What is git worktree management and when do I need it for parallel coding?

Git worktree management creates and sweeps isolated worktree slices for parallel coding workflows, ensuring multiple agents operate safely within separate devcontainer environments.

Do I need a devcontainer to automate git operations securely?

Yes, a devcontainer is required to automate git operations securely, providing the isolated container environment necessary for parallel workflows and worktree management.

How do I manage worktree slices for multiple coding agents working in parallel?

Manage worktree slices for parallel coding agents by using container-based git automation that creates and sweeps worktrees with built-in safety checks and confirmations.

Are there limitations when running git rebase operations within container environments?

Git rebase operations within container environments require specific git command usage and strict adherence to the devcontainer setup, limiting execution outside the container workflow.