code-host
/code-host
Ustala, na jakiej platformie działa repozytorium oraz jakie polecenia obsługują pull requesty, recenzje, sprawdzenia i scalanie.
- Autor
- ian-pascoe ↗
- Repozytorium
- skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 12.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 8
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Ustala, na jakiej platformie działa repozytorium oraz jakie polecenia obsługują pull requesty, recenzje, sprawdzenia i scalanie.
Oryginalny opis (EN)
Find a repo's code host and the commands for its PRs, reviews, checks, and merges. Use when acting on a PR, or when another skill names it.
Jak działa
- Find the code host
- Check access
Podgląd SKILL.md
--- name: code-host description: Find a repo's code host and the commands for its PRs, reviews, checks, and merges. Use when acting on a PR, or when another skill names it. --- Find the repo's **code host** and load its **code host reference** from `references/`: that host's commands, under the same headings in every reference. A skill that runs this one points at a heading in parentheses, like (**Checks**), and takes the command from there. ## Find the code host The code host is the service holding the remote the branch pushes to: its push remote, else the one the **code host config** (`docs/agents/code-host.md`) names, else `origin`. Take the host you were told, by the user or a brief, else the config's host and reference when it names that remote, else the one the tracker doc (`docs/agents/issue-tracker.md`) names, else the remote's hostname from this table: | Hostname | Reference | | ---------------------------------------------------------- | ----------------- | | `github.com`, `*.ghe.com` | `github.md` | | `gitlab.com` | `gitlab.md` | | `bitbucket.org` | `bitbucket.md` | | `dev.azure.com`, `ssh.dev.azure.com`, `*.visualstudio.com` | `azure-devops.md` | | `codeberg.org` | `forgejo.md` | | `gitea.com` | `gitea.md` | | `git.cafe` | `gitcafe.md` | For any other hostname, probe in order: `https://<host>/api/forgejo/v1/version` answers, Forgejo; `https://<host>/api/v1/version` answers, Gitea; otherwise the host whose CLI (`gh`, `glab`, `cafe`) recognises the repo. When none does, or more than one, the host is **ambiguous**. Take the code host config's merge method too, if it names one, when it names that remote, for the skill that ran this one. A code host config naming a remote this repo doesn't have is **stale**: report it rather than detecting past it. ## Check access Check that the host's tool or token works and that you can push to that remote, or learn it from the first push where the host can't tell (**Detect & auth**). Done when you hold one reference whose tool works and can push, plus the code host config's merge method if you took it; or can name what's missing: no remote, a stale code host config, an ambiguous host, a host or edition no reference covers, missing auth, or no push access.
Pliki w paczce (8)
- SKILL.md 3 KB
- references/azure-devops.md 12 KB
- references/bitbucket.md 11 KB
- references/forgejo.md 9 KB
- references/gitcafe.md 10 KB
- references/gitea.md 11 KB
- references/github.md 9 KB
- references/gitlab.md 10 KB
Wersje
W bazie nie ma innych skilli o nazwie code-host.
Migawka bazy z 13.11.2026 · wersja paczki be10d89e25ac (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90github
Przeszukuje i czyta pull requesty, issues i kod w skonfigurowanej organizacji lub repozytorium, na potrzeby przeglądów. - 96pr-lifecycle
Prowadzi commity, wypychanie zmian, pull requesty, wątki recenzji i scalanie gałęzi. - 100github
Sprawdza pull requesty na GitHubie: szczegóły, listy plików, diffy, komentarze, recenzje oraz zawartość plików repozytorium w wybranej wersji. - 86github-workflow
Obsługuje na GitHubie pull requesty, zgłoszenia i CI, w tym recenzje, scalanie, podgląd przebiegów i pliki zdalne. - 100github
Obsługuje GitHub przez gh CLI: pull requesty, issues, status CI, uruchomienia workflow, informacje o repozytorium oraz tworzenie, recenzowanie i scalanie PR. - 100sq-gomod-dependabot
Przegląda i scala pull requesty Dependabot dla modułów Go, w tym aktualizacje go.mod i poprawki bezpieczeństwa.