#2 (fix): handle binary assets in /ak:commit skill#7
Open
bezael wants to merge 4 commits into
Open
Conversation
- Deleted obsolete skill documentation files for /commit, /debug, /memory, /plan, /pr, /review, and /vibe-audit to streamline the codebase and eliminate redundancy.
…ples - Add "Getting started in 60 seconds" section at top of both READMEs - Link each skill/agent name to its source file in the repo - Add "Real output examples" section with collapsible blocks per skill Closes #5 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objective
The
/ak:commitskill failed or produced malformed commit messages when staged files included binary assets (images, fonts, compiled files). Without explicit handling, the model had no file names or semantic context when all staged content showed only asBinary files a/... and b/... differ.Bug Fixes
git diff --staged --name-statusto the skill context so binary file names and statuses are always available, even when diff content is absent--name-statusoutput to describe binary files and never omit them from the commit messageantigravity-skills/commit/SKILL.mdfor Google Antigravity / Gemini usersskills/commit/SKILL.mdin the new frontmatter format (ak:commit,disable-model-invocation,allowed-tools) so the CLI installer picks it up againTests
evals/fixtures/sample-diffs/chore-add-assets.diff— a realistic diff with two binary files (logo.png,inter.woff2) and a text changeevals/skills/commit.eval.jswith an extra rubric criterion verifying binary filenames are not silently dropped from the messagerunCommitEvalto acceptextraCriteriaso individual test cases can inject additional rubric checksRelated
#2