commit
Commit changed skill files and close the in-progress issue — writes a traceability commit message referencing the issue number
Skill by Ability.ai
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/abilityai-commit
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/commit
Tools it pre-approves 2
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Bash,Read
What's inside
- Skill name
commit- Description
- Commit changed skill files and close the in-progress issue — writes a traceability commit message referencing the issue number
- License
- Apache-2.0
- Allowed tools
- Bash,, Read
- Metadata
- author: Ability.ai · mirror: abilities@7090c8b plugins/agent-dev/skills/commit · created: 2026-04-28 · version: 1.1
- Instructions
- 133 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Files (1)
- SKILL.md
SKILL.md (first lines)
# Commit > ℹ️ **First, set expectations:** before anything else, print one short line with this skill's version and its most recent change — the top entry of `metadata.changelog` above — e.g. `commit vX.Y — recent: <summary>`. Then proceed. Stage changed skill files, write a commit message tied to the in-progress issue, and close the issue with a summary. The single action that closes the loop between a GitHub issue and a SKILL.md change. ## State Dependencies | Source | Location | Read | Write | Description | |--------|----------|------|-------|-------------| | GitHub Issues | Current repo | Yes | Yes | Close the in-progress issue | | Git working tree | ./ | Yes | Yes | Stage and commit skill files | ## Prerequisites - `gh` CLI authenticated - Git repo with at least one commit (not bare) - Work is in-progress (a claimed issue exists) — or nothing is claimed and you just want a checkpoint commit (see Step 1) ## Process ### Step 1: Find the In-Progress Issue ```bash gh issue list --label "status:in-progress" --state open --json number,title,body,labels --limit 5 ``` If an issue number was passed as `$ARGUMENTS`, use that instead. If multiple in-progress issues, ask which one this commit closes. **No in-progress issue and no argument → checkpoint mode.** Do not stop: stage the agent-state set — `memory/ .claude/memory/ outputs/ .claude/skills/ CLAUDE.md template.yaml` (whatever exists; never `.env`, `.mcp.json`, `*.log`, or anything credential-shaped) — compose the message from the diff (`Update agent state: <what changed>`), commit, and report the sha. Skip the issue close in Step 5. This keeps `/commit` usable as a plain save when the agent is not running the issue workflow. ### Step 2: Check for Changes ```bash git status --short ``` Surface all modified, added, or deleted files. Flag anything that is NOT a SKILL.md or agent configuration file (CLAUDE.md, template.yaml) — confirm the user wants to include it. If there are no changes at all: report "Nothing to commit. Did `/adjust-playbook` or `/create-playbook` run yet?" ### Step 3: Stage Files Stage all changed agent files: ```bash git add .claude/skills/ git add CLAUDE.md # if modified ``` If other files were modified, confirm before staging. Show the staged diff summary: ```bash git diff --cached --stat ``` ### Step 4: Compose Commit Message Derive the commit message from the issue: - If the issue has a `skill:*` label: `[$SKILL_NAME]: $SHORT_DESCRIPTION (closes #$NUMBER)` - If project-level: `[agent]: $SHORT_DESCRIPTION (closes #$NUMBER)` - Short description = condensed version of issue title (lowercase, imperative) Examples: - `[adjust-playbook]: detect breaking interface changes (closes #14)` - `[work-loop]: route skill issues by label (closes #3)` - `[agent]: update onboarding section in CLAUDE.md (closes #1)` Show the message and ask for confirmation or edits. ### Step 5: Commit ```bash git commit -m "$(cat <<'EOF' $COMMIT_MESSAGE EOF )" ``` ### Step 6: Close the Issue Add a completion comment: ```bash gh issue comment $NUMBER --body "## Completed $SUMMARY_FROM_DIFF Committed: \`$COMMIT_SHA\` --- *Closed via /commit*" ``` Update labels and close: ```bash gh issue edit $NUMBER --remove-label "status:in-progress" --add-label "status:done" gh issue close $NUMBER --reason completed ``` ### Step 7: Confirm ``` ## Committed and Closed Commit: $COMMIT_SHA Issue: #$NUMBER closed — $TITLE Next: `/backlog` or `/claim` for the next issue. ``` ## Outputs
From Abilityai/trinity-skills, Apache-2.0.
More from Abilityai/trinity-skills
- 0.570score
file-indexer
Abilityai
Generate a comprehensive file system index with directory tree, file sizes, and modification dates.
SkillAFreshness: AClaude Code +9 - 0.570score
explain-visually
Ability.ai
Explain a complex topic back to you with visuals - the right diagram for each facet (flowchart, timeline, sequence, schema/ER, state machine, chart…
SkillAFreshness: AClaude Code - 0.570score
animated-explainer
Ability.ai
Build an animated, data-driven explainer film for a real system — a canvas film that renders live from the product's own data and cannot drift, not an…
SkillAFreshness: AClaude Code - 0.567score
gemini-critic
Ability.ai
Ask Gemini's most powerful model for an independent second opinion - critique code with fresh eyes, evaluate an article, challenge a plan.
SkillAFreshness: AClaude Code +9 - 0.566score
agent-fleet-analysis
Ability.ai
Scan one or more directories of agents in ANY paradigm — Claude Code, n8n workflow exports, framework apps (LangChain/CrewAI/AutoGen), or freeform-coded…
SkillAFreshness: AClaude Code +9 - 0.565score
document-extractor
Abilityai
Extracts key information from documents (PDFs, images, text files) in a folder and creates structured markdown summaries with the same filename but .md…
SkillAFreshness: AClaude Code +9 - 0.565score
add-pipeline
Ability.ai
Scaffold a Trinity-compatible long-running pipeline inside any agent — creates projects/<slug>/{project.md, pipeline.yaml, instances/}, copies…
SkillAFreshness: AClaude Code - 0.561score
create-playbook
Ability.ai
Create a new skill or playbook.
SkillAFreshness: AClaude Code +9 - 0.561score
close
Ability.ai
Close the current issue without a git commit — adds summary comment and marks done.
SkillAFreshness: AClaude Code +9 - 0.561score
create-explanatory-image
Ruby
Generate explanatory diagrams and infographics that visually communicate concepts.
SkillAFreshness: AClaude Code +9 - 0.561score
autoplan
Ability.ai
Analyze a skill issue before implementing — reads the affected SKILL.md, identifies what changes are needed and any risks
SkillAFreshness: AClaude Code +9 - 0.561score
add-git-sync
Ability.ai
Add git-as-state hooks to an agent — auto-commits on Stop, rebases on SessionStart, snapshots on PreCompact.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 1
- Last commit (this folder)
- Sep 6, 2026 (1 month ago)
- Last release
- Oct 21, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.1
- License
- Apache-2.0
- Repository
- github.com/Abilityai/trinity-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Ability.ai
- 0.570score
animated-explainer
Ability.ai
Build an animated, data-driven explainer film for a real system — a canvas film that renders live from the product's own data and cannot drift, not an…
SkillAFreshness: AClaude Code - 0.570score
explain-visually
Ability.ai
Explain a complex topic back to you with visuals - the right diagram for each facet (flowchart, timeline, sequence, schema/ER, state machine, chart…
SkillAFreshness: AClaude Code - 0.567score
gemini-critic
Ability.ai
Ask Gemini's most powerful model for an independent second opinion - critique code with fresh eyes, evaluate an article, challenge a plan.
SkillAFreshness: AClaude Code +9 - 0.566score
agent-fleet-analysis
Ability.ai
Scan one or more directories of agents in ANY paradigm — Claude Code, n8n workflow exports, framework apps (LangChain/CrewAI/AutoGen), or freeform-coded…
SkillAFreshness: AClaude Code +9 - 0.565score
add-pipeline
Ability.ai
Scaffold a Trinity-compatible long-running pipeline inside any agent — creates projects/<slug>/{project.md, pipeline.yaml, instances/}, copies…
SkillAFreshness: AClaude Code - 0.561score
close
Ability.ai
Close the current issue without a git commit — adds summary comment and marks done.
SkillAFreshness: AClaude Code +9
Cite this page
commit skill. Agent Mart. https://agentmart.dev/skills/abilityai-commit (last updated 2026-10-24)