Przejdź do treści
Biblioteka skilli
AI i agenci · Automatyzacja

setup-routines

/setup-routines

Konfiguruje rutyny Claude Code: automatyczny przegląd PR, kontrolę zdrowia kodu, triage zgłoszeń i wykrywanie rozjazdów dokumentacji, uruchamiane w chmurze.

Repozytorium
ui-harness ↗
Licencja
MIT
Ostatnia zmiana repozytorium
24.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
7
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
3
Przestarzałość

Brak sygnałów. Repozytorium zmienione 24.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Konfiguruje rutyny Claude Code: automatyczny przegląd PR, kontrolę zdrowia kodu, triage zgłoszeń i wykrywanie rozjazdów dokumentacji, uruchamiane w chmurze.

Oryginalny opis (EN)

Configure Claude Code routines for automated PR review, codebase health, issue triage, and docs drift detection. Use when setting up recurring automation, GitHub-triggered workflows, or API-triggered tasks that run on Anthropic cloud infrastructure.

Jak działa

  1. How it works
  2. Available templates
  3. Setup
Sekcje z nagłówków SKILL.md, w oryginale · 94 linii, 487 słów
Podgląd SKILL.md
---
name: setup-routines
description: "Configure Claude Code routines for automated PR review, codebase health, issue triage, and docs drift detection. Use when setting up recurring automation, GitHub-triggered workflows, or API-triggered tasks that run on Anthropic cloud infrastructure."
---

# Setup Routines

Configure [Claude Code routines](https://claude.ai/code/routines) -- cloud-hosted auto sessions triggered by schedule, GitHub events, or API. Routines clone repo, run as full Claude Code sessions. Hooks + CLAUDE.md rules enforce auto.

## How it works

```
Routine fires -> clones repo -> SessionStart hooks -> CLAUDE.md loads
-> routine prompt executes -> PostToolUse hooks enforce on every edit
-> Stop hooks run quality gates -> session ends
```

### Enforcement model

Hooks = enforcement layer | routine prompts = task layer. Standards evolve
in repo (hooks + CLAUDE.md), routine prompts stay stable. Every routine
session runs the same PostToolUse/Stop gates as an interactive dev session,
so a routine cannot ship code that a developer could not ship locally.

### vs. Sandcastle

Sandcastle = local background agent in a tmux pane. Routines = cloud-hosted
sessions triggered by schedule/webhook/API. Pick Sandcastle for long-running
local work you want to supervise; pick routines for recurring automation
that must survive your laptop closing.

## Available templates

| Template | Trigger | What it does |
|---|---|---|
| [pr-review](routines/pr-review.md) | `pull_request.opened` | Reviews PR vs standards, posts inline comments |
| [pr-feedback-resolve](routines/pr-feedback-resolve.md) | `pull_request.review_submitted` | Reads unresolved threads, fixes code, replies, resolves |
| [issue-triage](routines/issue-triage.md) | `issues.opened` | Explores codebase, classifies, labels, posts investigation |
| [weekly-health](routines/weekly-health.md) | Schedule: weekly | Runs quality checks, measures drift, opens health report issue |
| [docs-drift](routines/docs-drift.md) | Schedule: weekly | Detects stale docs from recent changes, opens fix PR or issue |

## Setup

### 1. Prerequisites

- Claude Code with web access ([claude.ai/code](https://claude.ai/code))
- GitHub connected (`/web-setup` in CLI)
- Pro, Max, Team, or Enterprise plan

### 2. Pick routines

| If you have | Recommended routines |
|---|---|
| Any hooks installed | pr-review |
| resolve-pr-feedback skill | pr-feedback-resolve |
| triage skill | issue-triage |
| Quality gate hooks/scripts | weekly-health |
| REFERENCE.md or other docs | docs-drift |

### 3. Create via web (recommended)

1. [claude.ai/code/routines](https://claude.ai/code/routines) -> **New routine**
2. Name (example "PR Review -- [repo name]")
3. Paste template from `routines/*.md` -- customize `OWNER`/`REPO` placeholders
4. Pick repo + environment
5. Add trigger (GitHub event | schedule | API)
6. Check connectors -- drop unneeded
7. Create

### 4. Create via CLI

```bash
/schedule daily codebase health check at 9am
```

CLI = scheduled routines only. GitHub/API triggers -> use web UI.

### 5. Customize prompts

Templates = start point. Customize:

- **Project-specific checks**: reference patterns hooks enforce
- **Labels**: match issue label taxonomy
- **Scope boundaries**: "only review `src/`" or "skip generated files"
- **Connector actions**: "post summary to #engineering Slack"

See [REFERENCE.md](REFERENCE.md) for customization examples + API trigger setup.

### 6. Test

Run once by hand before trusting triggers:

1. Web: **Run now** on routine detail page
2. CLI: `/schedule run`
3. Watch session live at returned URL
4. Check output -- tweak prompt if wandered

See [REFERENCE.md](REFERENCE.md): routine-vs-sandcastle decision, enforcement model, trigger/API/customization setup, troubleshooting.
Pliki w paczce (7)
  • REFERENCE.md 7 KB
  • SKILL.md 4 KB
  • routines/docs-drift.md 3 KB
  • routines/issue-triage.md 3 KB
  • routines/pr-feedback-resolve.md 3 KB
  • routines/pr-review.md 3 KB
  • routines/weekly-health.md 3 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · redpanda-data/ui-harness100MIT
alexboo86/booharness86MIT

Migawka bazy z 13.11.2026 · wersja paczki 02be1523cfa4 (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

  • 100list
    Wyświetla wszystkie rutyny Claude Code zapisane na koncie użytkownika, gdy ten prosi o listę swoich rutyn lub wyzwalaczy.
  • 100claude-code-github-workflows
    Opisuje wzorce workflowów GitHub Actions z Claude Code: przeglądy PR, triage zgłoszeń i integracja z CI/CD.
  • 100routines
    Ustawia cykliczne rutyny championów jako zaplanowane zadania Claude Code, np. tygodniowe podsumowania i kontrolę przestarzałych wytycznych.
  • 90pull
    Pobiera wszystkie rutyny Claude Code z chmury i zapisuje każdą z nich jako osobny plik markdown na dysku.
  • 100claude-native-workflow-builder
    Buduje zawsze działające automatyzacje należące do organizacji na Claude Routines i Claude Scheduled Tasks zamiast GitHub Agentic Workflows: przenosi istniejące workflow lub projektuje nowe.
  • 100claude-native-workflow-builder
    Buduje zawsze działające automatyzacje należące do organizacji na Claude Routines i Claude Scheduled Tasks zamiast GitHub Agentic Workflows: przenosi istniejące workflow lub projektuje nowe.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.