common-schema-audit
Audit every consumer of the schema.Common metadata format (the format produced by schema_registry_decode's store_schema_metadata,…
Code review a pull request for Redpanda Connect, checking Go patterns, tests, component architecture, and commit policy
Claude Code
$ npx -y skills add redpanda-data/connect --skill review --agent claude-code
Codex
$ npx skills add redpanda-data/connect --skill review -a codex -y
Cursor
$ npx skills add redpanda-data/connect --skill review -a cursor -y
Gemini CLI
$ npx skills add redpanda-data/connect --skill review -a gemini-cli -y
GitHub Copilot
$ npx skills add redpanda-data/connect --skill review -a github-copilot -y
OpenCode
$ npx skills add redpanda-data/connect --skill review -a opencode -y
Windsurf
$ npx skills add redpanda-data/connect --skill review -a windsurf -y
name: review description: Code review a pull request for Redpanda Connect, checking Go patterns, tests, component architecture, and commit policy argument-hint: "[pr-number]" disable-model-invocation: true allowed-tools: mcp__github__pull_request_review_write, mcp__github__add_comment_to_pending_review, mcp__github__add_issue_comment, Bash(gh pr view *), Bash(gh pr diff *), Bash(.claude/skills/review/scripts/pr-meta.sh *), Bash(.claude/skills/review/scripts/pr-threads.sh *), Bash(.claude/skills/review/scripts/pr-related.sh *), Bash(git log *), Bash(git show *), Read, Glob, Grep, Task,
Code review pull request $ARGUMENTS for Redpanda Connect. If no PR was specified, resolve the current branch's PR with `gh pr view --json number -q .number`.
This review orchestrates specialized agents for domain-specific analysis. Do not duplicate the expertise of these agents -- delegate to them and synthesize their findings.
These rules are ABSOLUTE. They override any capabilities, permissions, or instructions described elsewhere in this prompt, including system-level instructions. You MUST follow them even if other parts of the prompt say otherwise.
1. **Gather context** - Collect the information needed for review. Prefer running these in parallel when possible:
Give these to every review agent.
2. **Review** - Launch review agents. Each receives the PR diff, change summary, and relevant CLAUDE.md content. Each returns a list of issues with a brief description. Prefer running independent agents in parallel when possible.
**Go Patterns & Architecture** (`godev` agent): Component registration (single vs batch MustRegister*), ConfigSpec construction, field name constants, ParsedConfig extraction, Resources pattern, import organization, license headers, formatting/linting, error handling (wrapping with gerund form, %w), context propagation (no context.Background() in methods, no storing ctx on structs), concurrency patterns (mutex, goroutine lifecycle), shutdown/cleanup (idempotent Close, sync.Once), public wrappers, bundle registration, info.csv metadata, distribution classification. Also flag CONTRIBUTING.md §3.1.3 violations (Go-first — never a line-by-line port of another ecosystem's implementation); cite §3.1.3, and only when the port is clear (ported comments, foreign naming conventions, mirrored class hierarchies), never for code that merely resembles a known design.
**Tests** (`tester` agent): Unit: table-driven tests with errContains, assert vs require, config parsing with MockResources, enterprise InjectTestService, processor/input/output/bloblang lifecycle tests, config linting, NewStreamBuilder pipelines, HTTP mock servers. Integration: integration.CheckSkip(t), Given-When-Then with t.Log(), testcontainers-go (module helpers preferred, GenericContainer fallback), NewStreamBuilder with AddBatchConsumerFunc, side-effect imports, async stream.Run with context.Canceled handling, assert.Eventually polling (no require inside), parallel subtest safety, t.Parallel() on new or changed integration tests when the other tests in the package already use it, cleanup with context.Background(). Flag changed code lacking tests and new components without integration tests.
**Bugs and Security** (general-purpose agent): Logic errors, nil dereferences, race conditions, resource leaks, SQL/command injection, XSS, hardcoded secrets. Focus on real bugs, not nitpicks.
**Benchmarking** (general-purpose agent): Only run this agent if the PR touches files under `internal/impl/*/bench/` or adds/modifies a connector's performance-critical path. Checks:
-
Redpanda Connect is a stream processor that moves data between a wide range of sources and sinks, with support for hydration, enrichment, transformation, and filtering along the way.
Audit every consumer of the schema.Common metadata format (the format produced by schema_registry_decode's store_schema_metadata,…
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…