Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

setup-routines

БесплатноБез исполняемых скриптовНе проверен

Configure Claude Code routines for automated PR review, codebase health, issue triage, and docs drift detection. Use when setting up recurring automation…

redpanda-dataот redpanda-data★ 34 звезды на GitHub

Об этом скилле

Setup Routines

Configure Claude 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 pull_request.opened Reviews PR vs standards, posts inline comments
pr-feedback-resolve pull_request.review_submitted Reads unresolved threads, fixes code, replies, resolves
issue-triage issues.opened Explores codebase, classifies, labels, posts investigation
weekly-health Schedule: weekly Runs quality checks, measures drift, opens health report issue
docs-drift Schedule: weekly Detects stale docs from recent changes, opens fix PR or issue

Setup

1. Prerequisites

  • Claude Code with web access (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 -> 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

/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 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: routine-vs-sandcastle decision, enforcement model, trigger/API/customization setup, troubleshooting.

Полный SKILL.md на GitHub

Установить setup-routines в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

REFERENCE.mdroutines/docs-drift.mdroutines/issue-triage.mdroutines/pr-feedback-resolve.mdroutines/pr-review.mdroutines/weekly-health.md

FAQ

Что делает скилл setup-routines?

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?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл setup-routines запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить setup-routines с