diff --git a/.claude/skills/commit/SKILL.md b/.claude/skills/commit/SKILL.md index 78d3db5f62..cb2767772a 100644 --- a/.claude/skills/commit/SKILL.md +++ b/.claude/skills/commit/SKILL.md @@ -12,6 +12,8 @@ Create a git commit: `type(scope): description` **NEVER add Co-Authored-By lines. No Claude attribution in commits.** +Follow [CONTRIBUTING.md](../../CONTRIBUTING.md) for full project conventions. + ## Steps 1. Check branch (`git branch --show-current`). If on `main`, create a feature branch. Use `/` format where `` comes from `gh api user --jq .login`. If unavailable, just use ``. @@ -21,7 +23,8 @@ Create a git commit: `type(scope): description` 5. Write concise imperative description, lowercase, no period, under 72 chars. 6. Breaking changes: `type(scope)!: description` 7. Body (if needed): explain **why**, not what. -8. Stage and commit. No `Co-Authored-By`. +8. Run `make format` or `./Tools/astyle/fix_code_style.sh ` on changed C/C++ files before committing. +9. Stage and commit. No `Co-Authored-By`. ## Examples diff --git a/.claude/skills/pr/SKILL.md b/.claude/skills/pr/SKILL.md index 09463d89e6..b6c1c86e69 100644 --- a/.claude/skills/pr/SKILL.md +++ b/.claude/skills/pr/SKILL.md @@ -10,6 +10,8 @@ allowed-tools: Bash, Read, Glob, Grep **No Claude attribution anywhere (no Co-Authored-By, no "Generated with Claude").** +Follow [CONTRIBUTING.md](../../CONTRIBUTING.md) for full project conventions. + ## Steps 1. Check branch. If on `main`, create a feature branch. Use `/` format where `` comes from `gh api user --jq .login`. If unavailable, just use ``.