Daw commit
Skill luckypadua/Gestion-de-vacaciones-daw/.claude/skills/daw-commit
Creates a commit following Gitmoji + Conventional Commits, with mandatory AI attribution. Trigger: /daw-commit, when a DAW phase closes and has artifacts to commit (DEFINE, PLAN, CODE, DISCOVERY, RELEASE).From its SKILL.md
npx -y skills add luckypadua/Gestion-de-vacaciones-daw --skill daw-commitAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 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.
SKILL.md
3.6 KB, as published. Nobody here has run it
Skill: /daw-commit
Description
Creates a commit following Gitmoji + Conventional Commits, with mandatory AI attribution.
Inputs
- The staged changes in git.
.daw-state.jsonfor the ticket and tier..daw/rules/commits.instructions.mdfor the format and the gitmoji reference table.
Execution Protocol
- Run
git statusandgit diff --staged. - If nothing is staged, look at the working tree:
- Dirty → ask the user which files to include.
- Clean, in RELEASE → there is nothing left to commit, because the earlier phases already
committed their own artifacts. Do NOT manufacture an empty commit: run
git log <base>..HEAD --oneline, show the branch's commits, and report the gate as satisfied by them. - Clean, in any other phase → this phase produced nothing to commit. Say so and stop.
- Check there are no files carrying secrets (.env, credentials).
- Check the gates this phase's commit depends on: in CODE,
testsandsastmust both betrue. DEFINE, PLAN and DISCOVERY commit documentation and depend on no gate — at the moment they commit, the gate they are about to earn is not set yet, so demanding it would deadlock. - Analyze the changes to classify the type and scope.
- Write the commit message with a gitmoji (see
.daw/rules/commits.instructions.mdfor the reference table):
<gitmoji> <type>(<scope>): <description in the imperative> (<ticket, if there is one>)
<executive summary (if the change is large)>
Refs: <ticket>
AI-assisted: yes
- Pick the gitmoji that describes the change (e.g. ✨ feat, 🐛 fix, 🚑 urgent fix, 🔒 security, 🔥 delete, ⚡ perf). The full palette is available in any tier — the tier only provides the default when nothing fits better.
- Include the tracker ticket in parentheses at the end of the first line if
.daw-state.json.trackeris not null.
- Present the message to the user for approval.
- Only after approval → create the commit.
- NEVER push automatically. Ask the user.
Rules
Format, the gitmoji palette, trailers and prohibitions live in
.daw/rules/commits.instructions.md, which this skill already loads as an input. They are not
restated here — a rule written twice is a rule that will be changed once.
The two worth repeating, because they are about this skill's behaviour:
- Never
git add .daw-state.json. It is the pipeline's runtime, it is gitignored, and a committed state file makes someone else's checkout claim your phase. - Never push automatically. Ask.
Updating .daw-state.json
gates.commit→truewhen this commit is the one a closeout edge depends on — that is, in RELEASE for any tier, and at the DISCOVERY closeout. Anywhere else, do not touchgates. The closeout checks it before resetting to IDLE.- In any other phase, do not touch
gates. DEFINE, PLAN, CODE and DISCOVERY commit their own artifacts (see.daw/rules/commits.instructions.md), and if any of them setcommitthe closeout gate would be true from the first phase onward and would stop meaning anything. The gate does not say "a commit exists" — it says "the release step was completed".
Language
Write the commit message in the language the user is working in, keeping the Conventional Commits type, the scope and the trailers as specified above.