pcommit

Creates a git commit for staged changes by delegating to the commit agent.

5|Updated Sep 9, 2017
One-click install
npx skills add https://github.com/hpcsc/dotfiles --skill pcommit-hpcsc
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pcommit
Source: https://github.com/hpcsc/dotfiles/tree/main/link/common/claude/.claude/skills/pcommit
Command: npx skills add https://github.com/hpcsc/dotfiles --skill pcommit-hpcsc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing commit messages for staged changes interrupts development flow. This Skill hands the task to a dedicated commit agent so staged work becomes a proper git commit without manual message drafting. ## Core Features & Use Cases - Agent Delegation: Forwards the commit request, along with any user-supplied arguments, to the commit agent. - Staged-Changes Focus: Operates specifically on changes already staged in the git index. - Use Case: After staging edits with git add, invoke the skill with optional context (e.g., a scope hint) and receive a finished commit without writing the message yourself. ## Quick Start Ask the assistant to create a git commit for the currently staged changes using the pcommit skill.

Frequently Asked Questions about pcommit

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

FAQPage Schema
How do I create a git commit for staged changes automatically?▼

Invoke the pcommit skill after staging your changes with git add. It delegates the request to the commit agent, which creates the commit for the staged content, optionally using any arguments you provide.

What does the pcommit skill do with my arguments?▼

The skill passes your arguments directly into the delegation prompt sent to the commit agent. The agent then uses that context when creating the commit for the staged changes.

Does pcommit commit unstaged changes?▼

No, the skill is scoped to staged changes only. You must run git add first so the intended modifications are in the git index before invoking it.

Why does pcommit fail when no changes are staged?▼

Git cannot create a commit from an empty index, so the delegated commit agent has nothing to commit. Stage at least one change with git add before running the skill.