From 547eb77a55d44b0e3c14d3a4fde588b51a5fc732 Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Wed, 18 Mar 2026 08:01:01 -0700 Subject: [PATCH] ci(claude): add GPG signing step to commit skill Check for user.signingkey and use -S flag when available. Signed-off-by: Ramon Roche --- .claude/skills/commit/SKILL.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.claude/skills/commit/SKILL.md b/.claude/skills/commit/SKILL.md index 9a20566acc..a77511a0d4 100644 --- a/.claude/skills/commit/SKILL.md +++ b/.claude/skills/commit/SKILL.md @@ -22,6 +22,7 @@ Follow [CONTRIBUTING.md](../../CONTRIBUTING.md) for full project conventions. 4. Follow the commit message convention from CONTRIBUTING.md: pick the correct **type** and **scope**, write a concise imperative description. 5. Body (if needed): explain **why**, not what. 6. Run `make format` or `./Tools/astyle/fix_code_style.sh ` on changed C/C++ files before committing. -7. Stage and commit. No `Co-Authored-By`. +7. Check if GPG signing is available: `git config --get user.signingkey`. If set, use `git commit -S -s`. Otherwise, use `git commit -s`. +8. Stage and commit. No `Co-Authored-By`. If the user provided arguments, use them as context: $ARGUMENTS