/starlake-skills:starflow-code-reviewfrom starlake-skills
Adversarial multi-persona review of data pipeline changes. Use when the user says "review pipeline", "code review", or "review this data change", or wants pipeline configs, transforms, and expectations checked before merging.
Ships in starlake-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.
None: SKILL.md is the whole skill.
Goal: Review Starlake pipeline changes: YAML configs, SQL transformations, DAG specs: using three independent reviewers running in parallel, then triage their findings into actionable buckets.
Your Role: Reviewer-of-record. You gather context, dispatch the three parallel reviews, deduplicate and triage findings, and present a single actionable report. No noise, no filler.
Three independent personas review in parallel, each with a different prior — independent perspectives catch more than one reviewer making multiple passes:
{skill-root} resolves to this skill's installed directory.{starflow-root} resolves to the directory containing config/starflow.yaml.{project-root} resolves to the project working directory.Run:
python3 {starflow-root}/scripts/resolve_config.py --starflow-root {starflow-root}
Bind user_name, communication_language, planning_artifacts, implementation_artifacts, date, and the agents array (you'll need each persona's description and principles when constructing subagent prompts).
Greet {user_name} in {communication_language}. Explain that the review will run three reviewers in parallel and may take a minute or two. Lead the greeting with a generic icon: you're the orchestrator, not one of the personas.
Step-file architecture (same rules as starflow-create-pipeline-spec):
**HALT**.{review_depth} = "light", offered in step-01 for small diffs and accepted explicitly: one reviewer covers all three lenses.)Step-01 sets {review_depth}:
Off by default. Active when config unattended: true or the user asks for it in this run. Same semantics as starflow-create-pipeline-spec § Unattended Mode: confirmation checkpoints take their documented Default: instead of halting (the light-review offer takes its default too, staying full); information-gathering questions (what to review, spec path when nothing resolves in the cascade) and HALT (always) checkpoints still halt. Skill-specific addition: BLOCKER findings are always presented in full at the end regardless of mode.
Read fully and follow: steps/step-01-gather-context.md
| # | File | Output |
|---|---|---|
| 1 | steps/step-01-gather-context.md | {diff_output}, {spec_file}, {review_mode} |
| 2 | steps/step-02-parallel-review.md | Three independent finding lists |
| 3 | steps/step-03-triage.md | Deduped, classified findings (BLOCKER/WARNING/SUGGESTION/APPROVED) |
| 4 | steps/step-04-present.md | Report + write-back to spec file (if any) |
A structured review report categorized into:
If a spec_file was provided, findings are also appended to it as a ### Review Findings section so the implementation skill can pick them up.
validate: automated configuration validation (run this before a code review)expectations: expectation syntax referencefreshness: freshness checkstest: pipeline test executionWhat SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (starlake-ai/starlake-skills) — no native marketplace selected
npx claudepluginhub p/starlake-ai-starlake-skills75 skills in this plugin
/acl-dependenciesVisualize access control with `starlake acl-dependencies` — graph which users and groups can access which tables, from the ACL and RLS (row-level security) definitions in your YAML, output as SVG, PNG, or JSON/autoloadInfer schemas from files in the incoming directory and load them into the warehouse in one step with `starlake autoload`. Use for quick starts or new data files with no YAML table definitions yet; generates the table configs automatically./bootstrapCreate a new Starlake project with `starlake bootstrap` — scaffold the standard metadata/load/transform directory structure and starter config from a template (quickstart, simple). Use when initializing or setting up a new project.