Agent skill

Self Review

by pyathena-dev in pyathena-dev/PyAthena

Run the first PyAthena self-review after creating a Draft PR, checking implementation behavior, public contracts, simplicity, and regression coverage.

MITAuto-check passedDatabases

Install Self Review

skills CLI
$ npx skills add pyathena-dev/PyAthena --skill self-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pyathena-dev/PyAthena self-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pyathena-dev/PyAthena.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/self-review .claude/skills/self-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
self-review
GitHub stars
493
Token cost
~740 tokens
SKILL.md length
328 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Run the first PyAthena self-review after creating a Draft PR, checking implementation behavior, public contracts, simplicity, and regression coverage.

  • The affected scope after a reviewed repair
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Self Review is an agent skill from pyathena-dev/PyAthena. Run the first PyAthena self-review after creating a Draft PR, checking implementation behavior, public contracts, simplicity, and regression coverage. Also use for the affected scope after a reviewed repair.

Its SKILL.md is about 740 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Databases. It works with SQLAlchemy. The repository describes itself as: PyAthena is a Python DB API 2.0 (PEP 249) client for Amazon Athena. The licence is MIT.

When your agent uses it

  • The affected scope after a reviewed repair

Example prompts

  • “/self-review”

What it can do on your machine

Read from SKILL.md and the folder at commit 971dd12. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Self Review loads about 740 tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 328 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~740

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from pyathena-dev/PyAthena at commit 971dd12, republished under its MIT licence (© pyathena-dev). 328 words, ~740 tokens.

Download SKILL.mdSave it as .claude/skills/self-review/SKILL.md (or your agent's skills folder).
name
self-review
description
Run the first PyAthena self-review after creating a Draft PR, checking implementation behavior, public contracts, simplicity, and regression coverage. Also use for the affected scope after a reviewed repair.

Self-review of implementation behavior

Use the scope and evidence rules in development-workflow. For an explicitly bounded review-only request, honor its literal diff, permitted corpus, and no-write/no-test constraints instead of starting delivery or expanding the review.

Read the full initial diff against the intended behavior and inventory the affected contracts. Check the following perspectives separately, selecting only the surfaces the change affects. Perform these passes sequentially yourself; do not report them as independent review.

PerspectivePyAthena questions
Behavior and failure pathsAre DB API return values, exceptions, cursor state, fetch/close behavior, and cancellation preserved? Do synchronous and asynchronous callers share the same assumptions? Are errors translated only when their meaning is known?
Data and resource boundariesAre NULLs, empty results, nested types, precision, names, and quoting handled? Does each relevant pandas/Arrow/Polars/S3 result path preserve conversion behavior? Are streams and temporary resources released on failure?
Framework contractsFor SQLAlchemy, check reflection, DDL/checkfirst, catalog/schema/name identity, cache ownership and invalidation, and missing-table versus permission/throttle failures. For fsspec, check listing, pagination, delimiter use, and path normalization against supported dependencies.
Simplicity and test qualityCan an existing helper or fixture express this more directly? Does a regression test exercise the failing path and assert observable behavior? Could it pass because the fake omits the real service behavior or because only the happy path runs?

Trace shared helpers into their actual callers rather than assuming every backend uses the same path. Check dependency behavior against the versions resolved by the repository and the supported compatibility range when relevant. Treat potential findings as hypotheses: verify the named code and a concrete failure scenario before editing. Apply verified defects and useful simplifications within the task's scope, and run affected checks. Distinguish pre-existing defects from introduced regressions and record out-of-scope findings without silently enlarging the PR.

Record the covered inventory, findings, repairs, and limitations as round one. Then run self-review-round-two, whose initial claim audit remains a full pass even if round one needed only a narrow repair follow-up.

© pyathena-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/self-review of pyathena-dev/PyAthena.

Open the folder on GitHubat commit 971dd12

Compare with similar skills

Self Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Self Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Self Review this skillpyathena-dev/PyAthena493—~740Automated safety check: PassMIT
Change Database Schemamartin-ueding/geo-activity-playground100—~225Automated safety check: PassCustom licence
Specx Sqlalchemy Migrationsmaksimzayats/specx202—~822Automated safety check: PassMIT
Sqlalchemykid-sid/claude-spellbook189—~3.5kAutomated safety check: PassMIT
Specx Add Infrastructure Adaptermaksimzayats/specx202—~1kAutomated safety check: PassMIT
Specx Component Architecturemaksimzayats/specx202—~1.8kAutomated safety check: PassMIT

Similar skills

  • Change Database Schema

    martin-ueding/geo-activity-playground

    How to change the SQLAlchemy data model and generate the matching Alembic migration.

    100 GitHub stars~225 tokensUpdated 10 days ago
    DatabasesAuto-check passed
  • Specx Sqlalchemy Migrations

    maksimzayats/specx

    Add or repair Alembic migrations for specx SQLAlchemy services.

    202 GitHub stars~822 tokensUpdated 2 mo ago
    DatabasesAuto-check passed
  • Sqlalchemy

    kid-sid/claude-spellbook

    A skill your agent uses when using async SQLAlchemy 2.0 — defining models, writing queries, managing async sessions, loading relationships without N+1, or setting up and debugging Alembic migrations.

    189 GitHub stars~3.5k tokensUpdated 2 mo ago
    DatabasesAuto-check passed
  • Add technical infrastructure adapters for specx core scopes.

    202 GitHub stars~1k tokensUpdated 2 mo ago
    DatabasesAuto-check passed
  • Design or review specx core scope boundaries in Python services.

    202 GitHub stars~1.8k tokensUpdated 2 mo ago
    AI & LLM EngineeringAuto-check passed
  • DB Review

    312362115/claude

    数据库代码审查 + Migration 安全检查. An agent skill from 312362115/claude.

    107 GitHub stars~1.8k tokensUpdated 4 mo ago
    DatabasesAuto-check passed

More from pyathena-dev/PyAthena

  • Development Workflow

    pyathena-dev/PyAthena

    Deliver a PyAthena change through a dedicated worktree, Draft PR, two distinct self-reviews, independent review, and current CI once marked Ready.

    493 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check: notes
  • Independent Review

    pyathena-dev/PyAthena

    Obtain and collect an independent read-only review of a PyAthena PR after both self-review rounds, with a frozen diff and recorded findings before Ready.

    493 GitHub stars~996 tokensUpdated yesterday
    Auto-check: notes
  • Self Review Round Two

    pyathena-dev/PyAthena

    Run the second PyAthena self-review after round one, auditing factual claims, caller compatibility, AWS operational effects, and evidence from a user's perspective before Ready.

    493 GitHub stars~820 tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Self Review

What does Self Review do?

Run the first PyAthena self-review after creating a Draft PR, checking implementation behavior, public contracts, simplicity, and regression coverage. Self Review is an agent skill from pyathena-dev/PyAthena. Run the first PyAthena self-review after creating a Draft PR, checking implementation behavior, public contracts, simplicity, and regression coverage.

When should I use Self Review?

Self Review fits situations like: the affected scope after a reviewed repair.

How do I install Self Review in Claude Code?

Run `npx skills add pyathena-dev/PyAthena --skill self-review -a claude-code`. Or copy the skill folder (.agents/skills/self-review in pyathena-dev/PyAthena) into .claude/skills/self-review in your project. Claude Code loads it when a task matches its description.

How do I install Self Review in Codex?

Run `npx skills add pyathena-dev/PyAthena --skill self-review -a codex`. Or copy the skill folder (.agents/skills/self-review in pyathena-dev/PyAthena) into .agents/skills/self-review in your project. Codex loads it when a task matches its description.

Can I use Self Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pyathena-dev/PyAthena --skill self-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/self-review, .gemini/skills/self-review, .github/skills/self-review and .opencode/skills/self-review in your project.

What does Self Review need to run?

SKILL.md names no scripts, command-line tools or credentials: Self Review is instructions for the agent only.

Does Self Review access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Self Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Self Review use?

Self Review is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Self Review use?

About 740 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Self Review?

Skills that share tags, products or a category with Self Review: Change Database Schema (martin-ueding/geo-activity-playground, 100 stars), Specx Sqlalchemy Migrations (maksimzayats/specx, 202 stars), Sqlalchemy (kid-sid/claude-spellbook, 189 stars) and Specx Add Infrastructure Adapter (maksimzayats/specx, 202 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Self Review?

pyathena-dev (a GitHub organization) maintains it in pyathena-dev/PyAthena, which has 493 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 7, 2026.

Source: pyathena-dev/PyAthena on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.