commit-task-work

Stage and commit task-relevant changes across multiple git repositories.

28|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/ma08/botfiles --skill commit-task-work
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-task-work
Source: https://github.com/ma08/botfiles/tree/main/claude/skills/commit-task-work
Command: npx skills add https://github.com/ma08/botfiles --skill commit-task-work

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the risk of accidentally committing unrelated dirty work when managing changes for a single task across multiple repositories, keeping git history clean and task-focused.

Core Features & Use Cases

  • Scoped Task Resolution: Automatically identifies the active task from context, task folders, status files, or branch names to define exactly what work is in scope.
  • Multi-Repo Classification: Applies different commit rules for personal_os task artifacts versus external codebases, asking for confirmation when branch ownership or scope is ambiguous.
  • Safe Staging & Validation: Enforces explicit pathspec staging, excludes caches and secrets, runs pre-commit diff checks and secret scans to avoid leaking sensitive data.
  • Use Case: If you are working on a client feature that requires updates to both your personal task notes repo and the client's codebase, this Skill will only commit task-related files in each repo, skipping any unrelated dirty changes in either.

Quick Start

Ask your coding agent to commit all relevant changes for your current active task across all repositories you modified for it.

Frequently Asked Questions about commit-task-work

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

FAQPage Schema
How do I commit changes for a single task across multiple git repositories without including unrelated dirty files?

To commit task-scoped work safely across multiple git repositories, you need scoped staging that explicitly targets task-related files while ignoring unrelated dirty changes in each repo. This ensures git history stays clean and task-focused by validating branch ownership and pathspecs before committing.

How does secret pattern scanning work before committing task changes?

Secret pattern scanning runs during the staging phase to detect and exclude sensitive data like API keys or credentials from your git commits. This validation prevents leaking secrets by checking staged diffs before the task-scoped commit is finalized across repositories.

Can I use this task commit workflow with personal_os task artifacts and external codebases simultaneously?

Yes, the workflow applies multi-repo classification to handle personal_os task artifacts and external codebases simultaneously. It applies different commit rules for each repo type and asks for confirmation when branch ownership or task scope is ambiguous.

What is the best way to ensure only task-relevant files are staged when working with multiple repositories?

The best way to ensure only task-relevant files are staged is through explicit pathspec staging combined with task resolution from context, task folders, status files, or branch names. This scoped approach excludes caches and unrelated dirty work before running pre-commit diff checks.

Why does branch ownership validation matter when committing task-scoped work?

Branch ownership validation matters because it prevents accidental commits to incorrect branches when managing a single task across multiple repositories. It checks branch scope and prompts for confirmation when ownership is ambiguous, keeping version control history aligned with the active task.

When should I not use scoped task commits for my version control workflow?

You should avoid scoped task commits when you intentionally want to batch unrelated changes into a single commit, or when working outside git-based version control and personal_os task workflows, as the skill relies on task artifacts and branch context to define scope.