Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 12 additions & 16 deletions .agents/skills/git-coauthor/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <claude@anthropic.com>
```

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 <bob@ibm.com>` |
| Claude (Anthropic) | `Co-authored-by: Claude <claude@anthropic.com>` |
| GPT-4 (OpenAI) | `Co-authored-by: GPT-4 <gpt4@openai.com>` |
| Gemini (Google) | `Co-authored-by: Gemini <gemini@google.com>` |

```
Co-authored-by: GPT-4 <gpt4@openai.com>
Co-authored-by: Gemini <gemini@google.com>
```
If your identity is not listed, use `Co-authored-by: <AgentName> <agentname@provider.com>`.

## Commit message format

The trailer **must** be separated from the subject/body by a blank line:

```
```text
<subject line>

<optional body paragraphs>

Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: <AgentName> <identity@provider.com>
```

## Steps
Expand All @@ -53,13 +49,13 @@ Co-authored-by: Claude <claude@anthropic.com>
second for the trailer (git appends them with a blank line between):

```shell
git commit -m "<subject>" -m "Co-authored-by: Claude <claude@anthropic.com>"
git commit -m "<subject>" -m "Co-authored-by: <AgentName> <identity@provider.com>"
```

If a longer body is also needed:

```shell
git commit -m "<subject>" -m "<body paragraph>" -m "Co-authored-by: Claude <claude@anthropic.com>"
git commit -m "<subject>" -m "<body paragraph>" -m "Co-authored-by: <AgentName> <identity@provider.com>"
```

3. Verify the trailer was recorded:
Expand Down
10 changes: 5 additions & 5 deletions content/cluster-configuration/gatekeeper-opa/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ 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 %}

- **[{{ c.title }}]({{ c.children[0].canonical_url }})**

{% endif %}
{% endfor %}
{% endfor %}
{% endif %}
10 changes: 5 additions & 5 deletions content/cluster-configuration/monitoring/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ 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 %}

- **[{{ c.title }}]({{ c.children[0].canonical_url }})**

{% endif %}
{% endfor %}
{% endfor %}
{% endif %}
10 changes: 5 additions & 5 deletions content/cluster-installation/vmware/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ Please check-out <https://github.com/openshift-examples/vmware-permission-check>

## 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 %}

- **[{{ c.title }}]({{ c.children[0].canonical_url }})**

{% endif %}
{% endfor %}
{% endfor %}
{% endif %}
10 changes: 5 additions & 5 deletions content/kubevirt/livemigration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ 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 %}

- **[{{ c.title }}]({{ c.children[0].canonical_url }})**

{% endif %}
{% endfor %}
{% endfor %}
{% endif %}
10 changes: 5 additions & 5 deletions new-page-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ 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 %}

- **[{{ c.title }}]({{ c.children[0].canonical_url }})**

{% endif %}
{% endfor %}
{% endfor %}
{% endif %}
Loading