Agent skill
ait-git
Git commands for aitasks/aiplans directories — use ./ait git instead of plain git
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/ait-git
SKILL.md
Git Operations on Task/Plan Files
When running git commands that operate on files in aitasks/ or aiplans/ directories, always use ./ait git instead of plain git. This ensures correct branch targeting when task data lives on a separate aitask-data branch.
Usage
./ait git add aitasks/t42_foo.md
./ait git commit -m "ait: Update task t42"
./ait git push
./ait git status
How it works
- If
.aitask-data/worktree exists (branch mode):ait gitroutes togit -C .aitask-data - If no worktree (legacy mode):
ait gitpasses through to plaingit
When to use
- Any
git add,git commit,git push,git rminvolving files underaitasks/oraiplans/ - When committing task metadata changes (status, assignment, etc.)
- When archiving or creating task files
When NOT to use
- For code-related git operations (implementation commits go on the main branch as normal)
- For
git log,git diffon code files - The aitask shell scripts already use
task_git()internally — no need to wrap script calls
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?