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
9 changes: 6 additions & 3 deletions .agents/skills/cross-pc-ssh/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,12 @@ alone, and the guard then accepts exactly the boundary commits recorded when it

1. `ssh -n -o BatchMode=yes <alias> hostname` must print the peer's name. If it asks for a password or
fails host-key verification, stop: setting up keys and known_hosts is the user's step, not this skill's.
If it times out, the alias's `HostName` may be a stale address (DHCP). Try the peer's hostname with the
pinned key, `ssh -n -o BatchMode=yes -o HostKeyAlias=<alias> <user>@<HOSTNAME> hostname`, and pass
the same options as `--peer`. Fixing `~/.ssh/config` is the user's step.
If it times out, the alias's `HostName` may be a stale address (DHCP). To check by hostname with the
pinned key, first find the name `known_hosts` holds it under (`ssh-keygen -F <alias>`, then
`ssh-keygen -F <old address>`): ssh saves a key under the `HostName` unless `HostKeyAlias` is set.
Then run `ssh -n -o BatchMode=yes -o HostKeyAlias=<that name> <user>@<HOSTNAME> hostname`. The helper's
`--peer` takes only an alias or `user@host`, with fixed ssh options, so before using the helper the
user updates `HostName` in `~/.ssh/config`.
2. `locate`. If it finds no checkout, the repository isn't cloned there (or lives outside the roots); say so
rather than searching the peer's disks.

Expand Down
2 changes: 1 addition & 1 deletion .agents/skills/ship-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Handle every failing job, one cause at a time.
| Already broken on base | The base branch's latest run fails the same way | Stop and report |
| Flaky test | Force the timing, and show it fail the same way | Fix the race in the test |
| Infrastructure | The log shows a runner, network or quota error | One rerun, then stop (with `--no-ci`, step 2b) |
| Repository setting | The job fails before any project step, for example "Dependency review is not supported on this repository" | Name the setting. With the user's go-ahead, change it (that one: `gh api -X PUT repos/<owner>/<repo>/vulnerability-alerts`, which turns on the dependency graph), then rerun the job once |
| Repository setting | The job fails before any project step, for example "Dependency review is not supported on this repository" | Name the setting. With the user's go-ahead, change it (that one: `gh api -X PUT repos/<owner>/<repo>/vulnerability-alerts`, which turns on the dependency graph), then rerun the job once |

3. **Find the root cause before editing.** A test that passes locally and fails in CI is usually a
race. Force it, for example by delaying a mock, and confirm the same error before changing anything.
Expand Down
9 changes: 6 additions & 3 deletions .claude/skills/cross-pc-ssh/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,12 @@ alone, and the guard then accepts exactly the boundary commits recorded when it

1. `ssh -n -o BatchMode=yes <alias> hostname` must print the peer's name. If it asks for a password or
fails host-key verification, stop: setting up keys and known_hosts is the user's step, not this skill's.
If it times out, the alias's `HostName` may be a stale address (DHCP). Try the peer's hostname with the
pinned key, `ssh -n -o BatchMode=yes -o HostKeyAlias=<alias> <user>@<HOSTNAME> hostname`, and pass
the same options as `--peer`. Fixing `~/.ssh/config` is the user's step.
If it times out, the alias's `HostName` may be a stale address (DHCP). To check by hostname with the
pinned key, first find the name `known_hosts` holds it under (`ssh-keygen -F <alias>`, then
`ssh-keygen -F <old address>`): ssh saves a key under the `HostName` unless `HostKeyAlias` is set.
Then run `ssh -n -o BatchMode=yes -o HostKeyAlias=<that name> <user>@<HOSTNAME> hostname`. The helper's
`--peer` takes only an alias or `user@host`, with fixed ssh options, so before using the helper the
user updates `HostName` in `~/.ssh/config`.
2. `locate`. If it finds no checkout, the repository isn't cloned there (or lives outside the roots); say so
rather than searching the peer's disks.

Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/ship-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Handle every failing job, one cause at a time.
| Already broken on base | The base branch's latest run fails the same way | Stop and report |
| Flaky test | Force the timing, and show it fail the same way | Fix the race in the test |
| Infrastructure | The log shows a runner, network or quota error | One rerun, then stop (with `--no-ci`, step 2b) |
| Repository setting | The job fails before any project step, for example "Dependency review is not supported on this repository" | Name the setting. With the user's go-ahead, change it (that one: `gh api -X PUT repos/<owner>/<repo>/vulnerability-alerts`, which turns on the dependency graph), then rerun the job once |
| Repository setting | The job fails before any project step, for example "Dependency review is not supported on this repository" | Name the setting. With the user's go-ahead, change it (that one: `gh api -X PUT repos/<owner>/<repo>/vulnerability-alerts`, which turns on the dependency graph), then rerun the job once |

3. **Find the root cause before editing.** A test that passes locally and fails in CI is usually a
race. Force it, for example by delaying a mock, and confirm the same error before changing anything.
Expand Down
9 changes: 6 additions & 3 deletions .cursor/skills/cross-pc-ssh/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,12 @@ alone, and the guard then accepts exactly the boundary commits recorded when it

1. `ssh -n -o BatchMode=yes <alias> hostname` must print the peer's name. If it asks for a password or
fails host-key verification, stop: setting up keys and known_hosts is the user's step, not this skill's.
If it times out, the alias's `HostName` may be a stale address (DHCP). Try the peer's hostname with the
pinned key, `ssh -n -o BatchMode=yes -o HostKeyAlias=<alias> <user>@<HOSTNAME> hostname`, and pass
the same options as `--peer`. Fixing `~/.ssh/config` is the user's step.
If it times out, the alias's `HostName` may be a stale address (DHCP). To check by hostname with the
pinned key, first find the name `known_hosts` holds it under (`ssh-keygen -F <alias>`, then
`ssh-keygen -F <old address>`): ssh saves a key under the `HostName` unless `HostKeyAlias` is set.
Then run `ssh -n -o BatchMode=yes -o HostKeyAlias=<that name> <user>@<HOSTNAME> hostname`. The helper's
`--peer` takes only an alias or `user@host`, with fixed ssh options, so before using the helper the
user updates `HostName` in `~/.ssh/config`.
2. `locate`. If it finds no checkout, the repository isn't cloned there (or lives outside the roots); say so
rather than searching the peer's disks.

Expand Down
2 changes: 1 addition & 1 deletion .cursor/skills/ship-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Handle every failing job, one cause at a time.
| Already broken on base | The base branch's latest run fails the same way | Stop and report |
| Flaky test | Force the timing, and show it fail the same way | Fix the race in the test |
| Infrastructure | The log shows a runner, network or quota error | One rerun, then stop (with `--no-ci`, step 2b) |
| Repository setting | The job fails before any project step, for example "Dependency review is not supported on this repository" | Name the setting. With the user's go-ahead, change it (that one: `gh api -X PUT repos/<owner>/<repo>/vulnerability-alerts`, which turns on the dependency graph), then rerun the job once |
| Repository setting | The job fails before any project step, for example "Dependency review is not supported on this repository" | Name the setting. With the user's go-ahead, change it (that one: `gh api -X PUT repos/<owner>/<repo>/vulnerability-alerts`, which turns on the dependency graph), then rerun the job once |

3. **Find the root cause before editing.** A test that passes locally and fails in CI is usually a
race. Force it, for example by delaying a mock, and confirm the same error before changing anything.
Expand Down