github-repositories
/github-repositories
Zakłada i chroni repozytorium GitHub: domyślnie prywatne, z regułą ochrony gałęzi i skanowaniem sekretów, gdy plan na to pozwala.
- Autor
- JayCommit ↗
- Repozytorium
- jstack ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 04.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 04.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
Zakłada i chroni repozytorium GitHub: domyślnie prywatne, z regułą ochrony gałęzi i skanowaniem sekretów, gdy plan na to pozwala.
Oryginalny opis (EN)
Use when you create or protect a GitHub repository. Keep it private unless the change says otherwise, protect the default branch with a ruleset, and turn on secret scanning where the plan allows.
Jak działa
- Use when
- Steps
- Safety checks
- Rollback
- Done when
Podgląd SKILL.md
--- name: github-repositories description: "Use when you create or protect a GitHub repository. Keep it private unless the change says otherwise, protect the default branch with a ruleset, and turn on secret scanning where the plan allows." license: MIT --- # GitHub repositories A repository ships through a pull request. The default branch is protected. Workflow files inside it follow `pipelines-github-actions-authoring`. This skill is the repository itself. ## Use when - You create a repository, or you change who can push, merge, or delete it. - The default branch has no ruleset, no CODEOWNERS, or an admin bypass. - You turn on secret scanning, push protection, or Dependabot alerts. - A public repository would run a self-hosted runner. Follow `pipelines-runners`. ## Steps 1. Name the organisation and the repository. Private is the default. Public is a written decision. Do not invent an organisation. The agent prepares the settings and stops before anyone bypasses a ruleset. Follow `principle-stop-at-approval`. 2. Create the repository in that organisation. Leave the wiki off unless the change asks for it. Do not put a secret in the first commit. Follow `ops-secrets-handling`. ```bash gh repo create example-org/example --private --disable-wiki ``` 3. Use the default branch name the organisation already uses. Protect that branch with one repository ruleset, unless an organisation ruleset already covers this repository. Do not add a second ruleset that contradicts the first. Block deletion and force-push. Require a pull request, code-owner review, and the status checks the organisation already names. Leave the bypass list empty unless the change names a break-glass actor. Follow `ops-access-review` for that actor. 4. Put CODEOWNERS at `.github/CODEOWNERS` for the paths this repository ships, then require code-owner review. A ruleset that requires code owners, with an empty CODEOWNERS file, names nobody. 5. Turn on secret scanning and push protection where the plan allows. Enable Dependabot alerts. If the plan cannot store a control, write that on the change. Do not claim the control is on. ```bash gh repo edit example-org/example --enable-secret-scanning gh repo edit example-org/example --enable-secret-scanning-push-protection gh api --method PUT repos/example-org/example/vulnerability-alerts ``` 6. Delete head branches after merge. Keep the merge method the organisation already uses. Workflow permissions in this repository start at read. The workflow contents follow `pipelines-github-actions-authoring`. Do not grant a repository-wide write so one workflow can pass. 7. A pull request into this repository follows `github-pull-requests`. A change that can reach production also has a ServiceNow change. Follow `servicenow-changes`. ## Safety checks - The organisation and the visibility are the ones named on the change. - The default branch cannot be deleted or force-pushed, and it requires a pull request. - CODEOWNERS covers the paths this repository ships. - The ruleset bypass list is empty, or the change names the break-glass actor. - Secret scanning and Dependabot are on, or the plan gap is written down. - No secret is in the repository or the chat. - Stop before an apply, a merge, or a grant. Follow `principle-stop-at-approval`. ## Rollback Delete a repository only when it has never held shared history. Otherwise revert the ruleset and CODEOWNERS to the previous settings in a pull request. Follow `principle-rollback-first`. Turning protection off is not a rollback. Follow `github-pull-requests` to land the revert. ## Done when - The repository is private, or the change records why it is public. - The default branch is covered by one ruleset and a CODEOWNERS file. - Secret scanning, push protection, and Dependabot alerts are on, or the plan cannot store them and the change says so.
Pliki w paczce (2)
- SKILL.md 4 KB
- tests/prompts.md 1 KB
Wersje
W bazie nie ma innych skilli o nazwie github-repositories.
Migawka bazy z 13.11.2026 · wersja paczki c00a8b6a8b0f (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
- 100repo-settings
Ujednolica ustawienia repozytorium GitHub: opis, metody scalania, reguły gałęzi, etykiety, Dependabot i profil społeczności. - 100gh-protect
Audytuje lub stosuje na GitHubie ochronę gałęzi, reguły tagów, ustawienia bezpieczeństwa repozytorium i wymagania podpisów zgodnie z aktywnym profilem. - 100skill-install
Instaluje skille Claude z repozytoriów GitHub z automatycznym skanowaniem bezpieczeństwa, pozwala też przeglądać dostępne skille w repozytorium i bezpiecznie dodawać je do środowiska. - 100git-workflow-setup
Konfiguruje Git Flow lub GitHub Flow z ochroną gałęzi i ustawieniami bezpieczeństwa. - 100github-actions-pipeline-builder
Buduje produkcyjne potoki CI/CD w GitHub Actions z macierzami budowania, cache, wdrożeniami, testami i skanowaniem bezpieczeństwa dla automatycznych testów, wdrożeń i workflowów wydań. - 100acp-repo-template
Zakłada nowe repozytorium super-repo ACP i stosuje domyślne ustawienia GitHub oraz regułę gałęzi.