Harness commit
File-native project continuity and engineering standards for coding agents.
npx -y skills add cekrauseee/harness --skill harness-commitAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 23 days oldThe repository was created 23 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Classify changes, prepare and validate English Conventional Commit messages, and create commits only with explicit authorization. Use when a user asks to name, organize, validate, or create one or more Git commits.
SKILL.md
2.4 KB, 447 tokens by cl100k_base, as published. Nobody here has run it
Harness Commit
Prepare cohesive commits with English Conventional Commit messages. Message preparation is read-only; creating a commit requires explicit authorization and never implies pushing it.
Prepare a Commit
-
Read applicable repository instructions.
-
Inspect
git status, the relevant staged and unstaged diffs, and recent commit style. Do not stage unrelated user changes. -
Group changes by one primary intent. Prefer multiple cohesive commits over one message that hides unrelated changes.
-
Choose the type and optional stable scope. Read references/conventional-commits.md when classification is ambiguous.
-
Write a concise English imperative description, then validate it:
python3 scripts/validate_conventional.py \ --message "docs(harness): define artifact routing" \ --branch "docs/artifact-routing" -
Report the proposed grouping and message when commit authorization is absent.
-
Run
git commitonly when the user explicitly requested a commit. Recheck the staged diff immediately before committing and report the resulting hash.
Format
<type>(<optional-scope>)<optional-!>: <imperative English description>
<optional body>
<optional footer(s)>
- Use lowercase type and scope.
- Keep the header at 72 characters or fewer and omit a terminal period.
- Use
!and/or aBREAKING CHANGE:footer for a breaking change. - Use
docsonly for documentation-only changes andchoreonly as a fallback. - Treat tests or documentation accompanying a feature or fix as part of that feature or fix.
The validator enforces structure, allowed types, ASCII text, and branch syntax. The agent must still verify that the description is truthful, English, imperative, and aligned with the actual diff.
Authorization Boundary
- Do not stage, commit, amend, rebase, reset, push, tag, or publish without authorization for that action.
- A request to draft or validate a message is not authorization to commit.
- A request to commit is not authorization to push.
- Never bypass hooks unless the user explicitly requests it and understands the consequence.
What ships with it: 3 files
5.0 KB alongside SKILL.md, 1 of them executable
agents/
- openai.yaml261 B
references/
- conventional-commits.md1.4 KB
scripts/
- validate_conventional.pyruns3.4 KB