Skip to content
Skills Library
Programming · Review & audit

review

/review

Full code review for Keboola Python components — covers both code quality (architecture, config/client patterns, typing, Pythonic best practices) and backward compatibility (configSchema changes, sync actions, output tables, state files, telemetry impact). Use for PRs, pre-merge checks, and component audits. Invoke whenever someone asks to review code, check a PR, audit before release, or verify that changes are safe for existing users.

Repository
ai-kit ↗
Licence
MIT
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Full code review for Keboola Python components — covers both code quality (architecture, config/client patterns, typing, Pythonic best practices) and backward compatibility (configSchema changes, sync actions, output tables, state files, telemetry impact). Use for PRs, pre-merge checks, and component audits. Invoke whenever someone asks to review code, check a PR, audit before release, or verify that changes are safe for existing users.

Original author description

Full code review for Keboola Python components — covers both code quality (architecture, config/client patterns, typing, Pythonic best practices) and backward compatibility (configSchema changes, sync actions, output tables, state files, telemetry impact). Use for PRs, pre-merge checks, and component audits. Invoke whenever someone asks to review code, check a PR, audit before release, or verify that changes are safe for existing users.

How it works

  1. 1. Scope
  2. 2. Automated Checks (run first)
  3. 3. Code Quality Review
  4. 4. Backward Compatibility Review
  5. 5. Output
Original SKILL.md headings · 80 lines, 468 words
SKILL.md preview
---
name: review
description: >
  Full code review for Keboola Python components — covers both code quality (architecture,
  config/client patterns, typing, Pythonic best practices) and backward compatibility
  (configSchema changes, sync actions, output tables, state files, telemetry impact).
  Use for PRs, pre-merge checks, and component audits. Invoke whenever someone asks
  to review code, check a PR, audit before release, or verify that changes are safe
  for existing users.
metadata:
  tools: "Glob, Grep, Read, Bash"
  model: sonnet
  color: red
---

# Keboola Component Reviewer

Run both code quality and backward compatibility reviews in a single pass, unless the user asks for only one.

> **CRITICAL: Repos are PUBLIC. Never write client names, project names, stack URLs, or any identifying information anywhere — including PR comments. Anonymized aggregate numbers only.**

## 1. Scope

Default: `git diff $(git merge-base HEAD main)..HEAD` for a PR, or `git diff` for unstaged changes.
Specified: files or directories the user provides.

## 2. Automated Checks (run first)

Run ruff before doing any manual review — it catches formatting and linting mechanically:

```bash
uv run ruff format --check . 2>&1
uv run ruff check --target-version py313 . 2>&1
```

If either fails, report it as a single item: "run `ruff format . && ruff check --fix .`". Don't enumerate individual formatting or lint violations manually — that's ruff's job. Skip any review findings that ruff would catch.

## 3. Code Quality Review

Focus on what ruff doesn't catch. In priority order:

**Blocking — architecture violations:**
- `run()` is not a clean orchestrator (should read like a table of contents, < 30 lines)
- Clients or configuration initialized inside `run()` instead of `__init__` — breaks sync_actions
- Config not encapsulated in a typed object (Pydantic BaseModel or dataclass)

**Important — quality improvements:**
- Missing type hints on public methods
- Deprecated typing imports (`typing.List`, `typing.Dict`, `typing.Optional`) — use built-ins
- Config values accessed as raw `self.configuration.parameters.get(...)` scattered through the code

Only report issues with confidence ≥ 60. See [code-quality.md](references/code-quality.md) for detailed patterns and examples.

## 4. Backward Compatibility Review

### Step 1: Find component IDs

```bash
grep -E 'KBC_DEVELOPERPORTAL_APP|APP_ID' .github/workflows/push*.yml
```

Handles single env var, multiple suffixed vars, and matrix strategy patterns.

### Step 2: Analyze diff

```bash
git diff $(git merge-base HEAD main)..HEAD -- \
  'component_config/' 'src/configuration.py' 'src/component.py' 'Dockerfile' '.github/workflows/'
```

Check each changed file against the breaking change vectors in [breaking-changes.md](references/breaking-changes.md): config schema, Pydantic models, sync actions, output tables, state file, Dockerfile.

### Step 3: Telemetry

If Keboola MCP is available, query telemetry for each component ID — active configs, job stats, and property usage for any changed/removed field. See [telemetry.md](references/telemetry.md) for exact queries and anonymization rules.

When MCP is unavailable, state it explicitly and treat all changes conservatively (assume configs exist).

## 5. Output

Start with a 1-2 sentence overall assessment, then:

**Code quality** — TODOs grouped by Blocking / Important / Nice-to-Have:
```
### TODO N: [Title]
**Location:** `src/component.py:45-52`
**Pattern:** the specific code that's wrong
**Fix:** concrete 2-3 sentence fix
```

**Backward compatibility** — findings grouped by HIGH / MEDIUM / LOW / SAFE risk. Include telemetry table when available. End with verdict: APPROVE / REQUEST CHANGES / WARN.

Use a constructive tone — direct but kind, giving the author agency. "I'd personally..." over "you must...". "LGTM" when there's nothing to flag.
Files in this package (4)
  • SKILL.md 4 KB
  • references/breaking-changes.md 9 KB
  • references/code-quality.md 3 KB
  • references/telemetry.md 6 KB

Versions

RepositoryScoreLicence
This page · keboola/ai-kit100MIT
metabase/metabase-cli100AGPL-3.0
ericrisco/rsc-harness100MIT
ClickHouse/ClickHouse100Apache-2.0
markusleben/ha-nova100MIT
duronext/jig100MIT
borkweb/bork-ai100MIT
microsoft/fluidframework100MIT
microsoft/fluidframework100MIT

Database snapshot: 13.11.2026 · package version 0bacf73c0e45 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100pr-review
    Review PyTorch pull requests for code quality, test coverage, security, and backward compatibility. Use when reviewing PRs, when asked to review code changes, or when the user mentions "review PR", "code review", or "check this PR".
  • 100pr-review
    Review PyTorch pull requests for code quality, test coverage, security, and backward compatibility. Use when reviewing PRs, when asked to review code changes, or when the user mentions "review PR", "code review", or "check this PR".
  • 100do-code-review
    Reviews code changes in azure-ai-ml package for quality, Azure SDK compliance, and best practices. Use when reviewing code, checking pull requests, or when user asks to review changes or check code quality in azure-ai-ml.
  • 100review-pr
    Review a pull request for code quality and security issues. Use when the user wants to review a PR, check PR code changes, or audit a pull request. Triggers on: "review PR", "review pull request", "check this PR", "the `review-pr` skill".
  • 100code-review
    Review C code changes for correctness, safety, and style. Use this when you want to review C code changes or PRs.
  • 100code-review
    Reviews code for quality, best practices, and potential issues. Use when asked to review, audit, or check code for problems.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.