/frontend-skills:setup-routinesfrom frontend-skills
Configures cloud-hosted Claude Code routines for automated PR review, codebase health checks, issue triage, and docs drift detection. Use when setting up recurring automation triggered by schedule, GitHub events, or API.
Ships in frontend-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
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
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.
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.
| 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 |
/web-setup in CLI)| 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 |
routines/*.md -- customize OWNER/REPO placeholders/schedule daily codebase health check at 9am
CLI = scheduled routines only. GitHub/API triggers -> use web UI.
Templates = start point. Customize:
src/" or "skip generated files"See REFERENCE.md for customization examples + API trigger setup.
Run once by hand before trusting triggers:
/schedule runSee REFERENCE.md: routine-vs-sandcastle decision, enforcement model, trigger/API/customization setup, troubleshooting.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub redpanda-data/ui-harness --plugin frontend-skills69 skills in this plugin
/brainstormingUse when exploring design options, starting new features, or needing to think before coding. Two modes: design (explore approaches with trade-offs) and challenge (stress-test decisions). No implementation until design is approved./cavemanUltra-compressed reply mode. Use when user asks be brief or /caveman./codex-compatGenerate Codex hooks.json and AGENTS.md from Claude Code hooks. Maps supported hooks directly, including Edit|Write apply_patch aliases, and keeps Stop batch checks only as fallback. Use when setting up Codex compatibility or dual-agent support.Other plugins' skills for the same job