Conventional commit
本地 Agent 会话控制台 — 基于 AgentScope Java 的轻量级 AI 对话运行时
npx -y skills add quynj/quynj-claw --skill conventional-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
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 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
Create Git commits that follow the Conventional Commits specification. Use whenever the user asks Codex to commit changes, create a git commit, write a commit message, amend a commit message, or prepare a PR/commit summary that should become a commit. Enforce type(scope): subject formatting, choose an accurate type from the diff, protect unrelated work, and include body/footer only when useful.
SKILL.md
3.5 KB, as published. Nobody here has run it
Conventional Commit
Overview
Use this skill for every git commit in this project. The goal is a clean, truthful commit message that follows Conventional Commits and reflects exactly the staged changes.
Commit Workflow
-
Inspect repository state before committing:
- Run
git status --short. - Review staged changes with
git diff --cached. - If nothing is staged and the user asked you to commit your work, stage only files you intentionally changed for this task.
- Do not stage unrelated or user-owned changes unless the user explicitly asks.
- Run
-
Choose a Conventional Commits type:
feat: user-visible feature or capabilityfix: bug fix or correctness changedocs: documentation onlystyle: formatting only, no behavior changerefactor: code change that is neither feature nor bug fixperf: performance improvementtest: tests only or test infrastructurebuild: build system, dependencies, packagingci: CI configuration or automationchore: maintenance that does not fit aboverevert: revert a previous commit
-
Choose a scope when it clarifies the affected area:
- Prefer a module, package, app, or feature name, such as
studio,agent,pom,api,ui,tests. - Omit scope if the change is broad or a scope would be forced.
- Prefer a module, package, app, or feature name, such as
-
Write the subject:
- Format:
<type>(<scope>): <subject>or<type>: <subject>. - Use imperative mood:
add,fix,update,remove,configure. - Keep it concise, ideally 72 characters or fewer.
- Use lowercase after the colon unless a proper noun or identifier requires capitalization.
- Do not end with a period.
- Format:
-
Add body/footer only when useful:
- Body: explain why, migration notes, or non-obvious behavior.
- Footer: include
BREAKING CHANGE: ...for breaking changes, or issue references likeRefs #123. - If the user gave an issue number, include it in the footer rather than forcing it into the subject.
-
Commit:
- Prefer
git commit -m "<subject>"for simple commits. - Use multiple
-marguments when a body or footer is needed. - After committing, report the commit hash and message.
- Prefer
Guardrails
- Never use vague subjects like
update files,changes,fix stuff, orwip. - Never claim a feature, fix, or test was added unless the diff shows it.
- Do not include generated dependency/cache files unless they are intentionally part of the change.
- If the staged diff mixes unrelated purposes, ask whether to split into separate commits.
- If the working tree contains unrelated user changes, leave them unstaged and mention that they were left alone.
- If a command fails because the repository has no commits, no staged files, or missing git identity, explain the blocker and the exact next step.
Examples
feat(studio): add Web UI conversation runnerfix(studio): align OpenTelemetry dependency versionsbuild(pom): add AgentScope Studio extensiondocs: document Studio startup workflowtest(agent): cover prompt routing behavior