TMDb: Skill for Claude Code

.claude/skills/pr/SKILL.md

pr is a skill for Claude Code from adamayoung/TMDb. It costs 6 tokens per session (2,379 once invoked), scanned A, original, Apache-2.0.

A guided workflow for creating a pull request from the current Git branch. It formats the code, reviews relevant changes when needed, commits outstanding work, and stops if a step fails.

In plain words
What is it for?
Use it to prepare a branch for review and create a pull request. It can also skip review when the branch contains no changes covered by the project's review rules.
Why use it?
It removes the need to remember the preparation and review steps before opening a pull request. It also avoids repeating a review that has already been completed.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is adamayoung/TMDb's own configuration. It tells Claude Code how to work on TMDb itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything TMDb configures →

Reuse

Borrowing it

Nothing to install: this file belongs to adamayoung/TMDb. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/adamayoung/TMDb/main/.claude/skills/pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/adamayoung/TMDb

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/adamayoung/tmdb/pr/github.svg)](https://agentmods.dev/skills/adamayoung/tmdb/pr)
Your own site
<a href="https://agentmods.dev/skills/adamayoung/tmdb/pr"><img src="https://agentmods.dev/badge/skills/adamayoung/tmdb/pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/adamayoung/tmdb/pr"><img src="https://agentmods.dev/badge/skills/adamayoung/tmdb/pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,379 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 41
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 75
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00006 $0.02379
Opus 5.5 $0.00002 $0.00952
Sonnet 5.5 $0.00001 $0.00476
Haiku 4.5 $0.00001 $0.00238

Measured 1mo ago against content hash 5d3d2a85bb7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/pr/SKILL.md · 129 lines

How it starts

The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create a pull request

I'll create a pull request for the current branch by following these steps. If any steps fail, stop.

Mode — check the arguments passed to this skill (shown at the end). If they include reviewed (or skip-review), an upstream step already ran the review and fixed its findings (e.g. /deliver's code-review phase via /review-changes), so skip steps 5–7 to avoid reviewing identical code twice. Otherwise (standalone /pr), run the internal review as normal.

Also skip steps 5–7 when the branch changes no reviewable code. Use /review-changes' own gate set, not a narrower one — committed scripts under .claude/workflows/ and Scripts/ are reviewable too, and a PR editing only Scripts/check-defaulted-witnesses.py changes a CI gate:

git diff --name-only origin/main...HEAD \
  | grep -qE '\.swift$|^\.claude/workflows/|^Scripts/' \
  || echo "no reviewable code → skip review"

(If the change rewrites the pipeline's own skills, don't skip — pass force-review to /review-changes; see its §0.)

  1. Run /format to format code

  2. Commit all outstanding work. Run git status. If the working tree has any uncommitted or unstaged changes (the feature work, plus the formatting from step 1), stage and commit them — the PR reflects committed history only, so anything left uncommitted will be missing from the PR. First verify no secrets, .env, or build artifacts are included (per CLAUDE.md — .env must stay gitignored; check git status before git add). Use a descriptive gitmoji message (or several logical commits if the work spans concerns); formatting-only changes can use "🎨 apply code formatting". If the tree is already clean (e.g. work was committed during /deliver), this is a no-op.

  3. Rebase onto the latest origin/main. Fetch the remote and rebase the feature branch directly onto origin/main — do this before make ci so the gate (and the eventual PR) reflects the real merge result, not stale code:

    git fetch origin
    git rebase origin/main
    
    • Rebase onto origin/main, not local main — this is worktree-safe. A /deliver runs inside a git worktree, and git checkout main there fails (fatal: 'main' is already used by worktree …) whenever the main checkout is on main; rebasing onto origin/main avoids checking main out at all and uses the true remote base directly.
    • If git rebase reports conflicts, stop, resolve them, then continue. Never skip or force past a conflict you don't understand.
    • The rebase rewrites the branch tip, so a branch that was already pushed will need git push --force-with-lease at the push step below.
    • Already branched off an up-to-date origin/main with nothing to replay → this is a fast no-op.
  4. Run the pre-PR gate — MANDATORY; it must pass before going further. Run it directly (do not delegate). If it fails, stop and fix — commit the fixes — then re-run; never open a PR on a red gate. Scale the gate to the diff:

    • Default — full make ci. The gate CLAUDE.md requires before any PR: lint, markdown lint, unit tests, integration tests, the release build, and the docs build. Use this whenever any code or build-affecting file changed.

    • Docs/config-only fast gate. When the diff touches no build- or test-affecting files — i.e. no *.swift and none of Makefile, Package.swift, Package.resolved, *.xctestplan, .github/workflows/**, or Tests/TMDbTests/Resources/** — the test/release-build legs of make ci have nothing to exercise. Run only the meaningful checks instead: make lint && make lint-markdown && make build-docs (drop build-docs if no *.docc/** changed). Detect this with:

      git diff --name-only origin/main...HEAD \
        | grep -qE '\.swift$|^Makefile$|^Package\.(swift|resolved)$|\.xctestplan$|^\.github/workflows/|^Tests/TMDbTests/Resources/' \
        && echo "code/build touched → full make ci" \
        || echo "docs/config-only → fast gate"
      

Read the full file on GitHub · 129 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 129 lines · 6 tokens per session scan A 5d3d2a85bb7a

Subscribe to this mod's changes

pr is a skill published in the GitHub repository adamayoung/TMDb (179 stars, last pushed yesterday), licensed Apache-2.0. It adds 6 tokens to every session and 2,379 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

crow-ci-queue

Serialize the label-gated ci:full suite across the PRs of live Crow sessions — per repo, exactly one session PR holds ci:full, runs the full suite and merges; then the next ready PR is updated from main and labeled. Strips the extras, orders the rest, and waits on a background watcher. Keeps running after a repo…

corveil/crow · 135 tokens

crow-release-review

Study everything on main since each repo's last release, publish a release review page (a private claude.ai Artifact) with what changes for users, a plain-language before and after, risks, blockers, a phased runbook and post-release test steps, then read the operator's notes and decisions back, help run each tag only…

corveil/crow · 139 tokens

using-xtool

This skill should be used when building iOS apps with xtool (Xcode-free iOS development), creating xtool projects, adding app extensions, or configuring xtool.yml. Triggers on "xtool", "SwiftPM iOS", "iOS on Linux", "iOS on Windows", "Xcode-free", "app extension", "widget extension", "share extension". Covers project…

2389-research/xtool · 93 tokens

releasing-plugin-versions

Use when releasing a new plugin version, bumping versions, creating git tags, or publishing GitHub releases for this marketplace.

ivan-magda/claude-superpowers · 30 tokens

git-rebase

A guide for combining several Git commits into one using interactive rebase. Git is a system that records code changes as commits, and rebase can rewrite that history.

CH3COOH/claude-skills · 83 tokens

ios-bump-version

An iOS release helper for changing an app's marketing version, the version number shown to users, and committing the change on the appropriate branch. It first checks the version format, Git state, branch, and current version.

CH3COOH/claude-skills · 85 tokens