diff --git a/.agents/skills/git-coauthor/SKILL.md b/.agents/skills/git-coauthor/SKILL.md index fbeaf7d7..a606f592 100644 --- a/.agents/skills/git-coauthor/SKILL.md +++ b/.agents/skills/git-coauthor/SKILL.md @@ -13,31 +13,27 @@ co-author using the [GitHub co-author trailer convention](https://docs.github.co ## Co-author identity -Use the following trailer exactly — GitHub resolves the noreply address to the -model's public profile: +Use your own agent identity for the trailer. Known identities: -``` -Co-authored-by: Claude -``` - -If the agent is known to be a different model (e.g. GPT-4, Gemini), substitute -the appropriate name and a matching noreply address: +| Agent | Trailer | +|---|---| +| Bob (IBM) | `Co-authored-by: Bob ` | +| Claude (Anthropic) | `Co-authored-by: Claude ` | +| GPT-4 (OpenAI) | `Co-authored-by: GPT-4 ` | +| Gemini (Google) | `Co-authored-by: Gemini ` | -``` -Co-authored-by: GPT-4 -Co-authored-by: Gemini -``` +If your identity is not listed, use `Co-authored-by: `. ## Commit message format The trailer **must** be separated from the subject/body by a blank line: -``` +```text -Co-authored-by: Claude +Co-authored-by: ``` ## Steps @@ -53,13 +49,13 @@ Co-authored-by: Claude second for the trailer (git appends them with a blank line between): ```shell - git commit -m "" -m "Co-authored-by: Claude " + git commit -m "" -m "Co-authored-by: " ``` If a longer body is also needed: ```shell - git commit -m "" -m "" -m "Co-authored-by: Claude " + git commit -m "" -m "" -m "Co-authored-by: " ``` 3. Verify the trailer was recorded: diff --git a/content/cluster-configuration/gatekeeper-opa/index.md b/content/cluster-configuration/gatekeeper-opa/index.md index 665ce470..60929b49 100644 --- a/content/cluster-configuration/gatekeeper-opa/index.md +++ b/content/cluster-configuration/gatekeeper-opa/index.md @@ -6,12 +6,12 @@ tags: ['gatekeeper','opa','security'] --- # Gatekeeper / OPA -{% set current_page_title = page.title %} -{% for n in navigation if n.title == current_page_title %} -{% for c in n.children if c.title != current_page_title %} +{% set section = page.parent %} +{% if section and section.children %} +{% for c in section.children if c.title != page.title %} {% if c.abs_url is string %} -- [{{ c.title }}]({{c.canonical_url}}) +- [{{ c.title }}]({{ c.canonical_url }}) {% else %} @@ -19,4 +19,4 @@ tags: ['gatekeeper','opa','security'] {% endif %} {% endfor %} -{% endfor %} +{% endif %} diff --git a/content/cluster-configuration/monitoring/index.md b/content/cluster-configuration/monitoring/index.md index 58fd6809..43e88093 100644 --- a/content/cluster-configuration/monitoring/index.md +++ b/content/cluster-configuration/monitoring/index.md @@ -8,12 +8,12 @@ tags: ['monitoring'] ## Content -{% set current_page_title = page.title %} -{% for n in navigation if n.title == current_page_title %} -{% for c in n.children if c.title != current_page_title %} +{% set section = page.parent %} +{% if section and section.children %} +{% for c in section.children if c.title != page.title %} {% if c.abs_url is string %} -- [{{ c.title }}]({{c.canonical_url}}) +- [{{ c.title }}]({{ c.canonical_url }}) {% else %} @@ -21,4 +21,4 @@ tags: ['monitoring'] {% endif %} {% endfor %} -{% endfor %} +{% endif %} diff --git a/content/cluster-installation/vmware/index.md b/content/cluster-installation/vmware/index.md index 7d7ec835..2f766e64 100644 --- a/content/cluster-installation/vmware/index.md +++ b/content/cluster-installation/vmware/index.md @@ -13,12 +13,12 @@ Please check-out ## Content -{% set current_page_title = page.title %} -{% for n in navigation if n.title == current_page_title %} -{% for c in n.children if c.title != current_page_title %} +{% set section = page.parent %} +{% if section and section.children %} +{% for c in section.children if c.title != page.title %} {% if c.abs_url is string %} -- [{{ c.title }}]({{c.canonical_url}}) +- [{{ c.title }}]({{ c.canonical_url }}) {% else %} @@ -26,4 +26,4 @@ Please check-out {% endif %} {% endfor %} -{% endfor %} +{% endif %} diff --git a/content/kubevirt/livemigration/index.md b/content/kubevirt/livemigration/index.md index 040c1231..46e751a3 100644 --- a/content/kubevirt/livemigration/index.md +++ b/content/kubevirt/livemigration/index.md @@ -8,12 +8,12 @@ tags: ['tagA','tagB','v4.17'] ## Content -{% set current_page_title = page.title %} -{% for n in navigation if n.title == current_page_title %} -{% for c in n.children if c.title != current_page_title %} +{% set section = page.parent %} +{% if section and section.children %} +{% for c in section.children if c.title != page.title %} {% if c.abs_url is string %} -- [{{ c.title }}]({{c.canonical_url}}) +- [{{ c.title }}]({{ c.canonical_url }}) {% else %} @@ -21,4 +21,4 @@ tags: ['tagA','tagB','v4.17'] {% endif %} {% endfor %} -{% endfor %} +{% endif %} diff --git a/new-page-template.md b/new-page-template.md index 73049571..8396014d 100644 --- a/new-page-template.md +++ b/new-page-template.md @@ -18,12 +18,12 @@ Tested with: ## Content -{% set current_page_title = page.title %} -{% for n in navigation if n.title == current_page_title %} -{% for c in n.children if c.title != current_page_title %} +{% set section = page.parent %} +{% if section and section.children %} +{% for c in section.children if c.title != page.title %} {% if c.abs_url is string %} -- [{{ c.title }}]({{c.canonical_url}}) +- [{{ c.title }}]({{ c.canonical_url }}) {% else %} @@ -31,4 +31,4 @@ Tested with: {% endif %} {% endfor %} -{% endfor %} +{% endif %}