dtctl: Skill for Claude Code

.agents/skills/pr-review/SKILL.md

pr-review is a skill for Claude Code, Codex from dynatrace-oss/dtctl. It costs 82 tokens per session (2,186 once invoked), scanned A, original, Apache-2.0.

A checklist for reviewing a pull request or feature branch before it is merged. A pull request is a proposed code change, and a feature branch is a separate line of development; the review covers readiness, code, user experience, documentation, tests, and safety.

In plain words
What is it for?
Use it to inspect a branch or PR, check whether it is ready to merge, and report which review areas pass or need work.
Why use it?
It turns a broad quality check into specific findings tied to files and line numbers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is dynatrace-oss/dtctl's own configuration. It tells Claude Code and Codex how to work on dtctl 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 dtctl configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is go test ./pkg/output/ -run TestGolden.

Reuse

Borrowing it

Nothing to install: this file belongs to dynatrace-oss/dtctl. 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/dynatrace-oss/dtctl/main/.agents/skills/pr-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/dynatrace-oss/dtctl

Made for: Claude Code, Codex.

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-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/dynatrace-oss/dtctl/pr-review/github.svg)](https://agentmods.dev/skills/dynatrace-oss/dtctl/pr-review)
Your own site
<a href="https://agentmods.dev/skills/dynatrace-oss/dtctl/pr-review"><img src="https://agentmods.dev/badge/skills/dynatrace-oss/dtctl/pr-review/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-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/dynatrace-oss/dtctl/pr-review"><img src="https://agentmods.dev/badge/skills/dynatrace-oss/dtctl/pr-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,186 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
  • Socket pass 18 Sept 2026
  • Snyk warn 18 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00082 $0.02186
Opus 5.5 $0.00033 $0.00874
Sonnet 5.5 $0.00016 $0.00437
Haiku 4.5 $0.00008 $0.00219

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

Security

Grade A, and why

pr-review 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • pr-review — 86% identical, 25 lines differ
.agents/skills/pr-review/SKILL.md · 199 lines

How it starts

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

PR Quality Review

Perform a comprehensive quality review of a pull request or feature branch. This skill covers production readiness, code quality, UX, documentation, tests, and safety.

The review is structured as a checklist across seven dimensions. For each dimension, investigate the actual code and report specific findings -- not just "looks good" but concrete observations with file paths and line numbers.

Getting Started

First, understand the scope of the change:

# What branch are we on, what's the base?
git branch --show-current
git log main..HEAD --oneline

# What files changed?
git diff main...HEAD --stat

# Full diff for review
git diff main...HEAD

If reviewing a remote PR, fetch it first:

gh pr view <number> --json title,body,files
gh pr diff <number>

Read the PR description and all commits to understand the intent before diving into code.

Review Dimensions

Work through each dimension below. For each one, report a status:

  • Pass -- meets the bar, no issues
  • Needs work -- specific issues found (list them)
  • N/A -- not applicable to this change

1. Production Readiness

Does this code behave correctly and handle failure gracefully?

  • Error handling: Are all errors checked? Are they wrapped with context (fmt.Errorf("context: %w", err))? Do they surface actionable messages to users?
  • Edge cases: Empty inputs, nil values, missing config, network failures, API rate limits, large datasets, pagination boundaries
  • Safety checks: All mutating commands (create, edit, apply, delete, update) must include safety checks after LoadConfig() and before client operations. Pattern:
    checker, err := NewSafetyChecker(cfg)
    if err := checker.CheckError(safety.OperationXXX, safety.OwnershipUnknown); err != nil { return err }
    
    Verify correct operation type. Skip only in dry-run paths.
  • No stdout in library code: pkg/ must return data, not print. Only cmd/ handles output.
  • No hardcoded secrets or customer data: No real names, env IDs, tokens, or emails in code or tests. Use @example.invalid for emails (RFC 2606).

Read the full file on GitHub · 199 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 Changed · -1 lines 91d76ccef2b5
  2. 2mo ago First seen · 200 lines · 82 tokens per session scan A 688f8ebe81a5

Subscribe to this mod's changes

pr-review is a skill published in the GitHub repository dynatrace-oss/dtctl (198 stars, last pushed 17d ago), licensed Apache-2.0. It adds 82 tokens to every session and 2,186 once invoked, about $0.0003 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

autofix-pr

Watch a pull request and fix it from a worktree of its own (or, with --in-place, the user's own checkout) - CI failures, review feedback from trusted authors and merge conflicts are fixed, pushed to the PR branch and answered on the PR under the user's git and gh identity. Usage - /autofix-pr [ | ] [--once]…

QwenLM/qwen-code · 141 tokens

gh-find-prs

Survey open Codewhale PRs and triage each for mergeability and disposition against the real landing branch.

Hmbown/CodeWhale · 27 tokens

hunk-launch-video

Produces Hunk videos by driving the real TUI headlessly in a PTY, compositing captioned 1080p frames in Chromium, and encoding with ffmpeg. Use for feature demos, workflow explainers, announcements, launch videos, and full-release roundups.

modem-dev/hunk · 60 tokens

hunk-release

Prepares, publishes, verifies, and curates Hunk releases. Use for release metadata, benchmarks, tags, publishing, release videos, backports, or recovery.

modem-dev/hunk · 38 tokens

git

Git and code hosting platform management — GitHub, GitLab, Codeberg, Forgejo. Zero barrier — install x-cmd and manage repos from the terminal. Use for "git", "github", "gitlab", "repo", "pull request", "code hosting".

x-cmd/x-cmd · 58 tokens

vhs-e2e-gif

Record a test run, a TUI session, or any terminal command as a GIF with VHS and attach it to a GitHub PR as a release-hosted asset, never a repo commit. Use when asked to record an e2e run, demo a fix on a PR, attach a GIF or screen recording to a pull request, show a test passing visually, or produce a terminal…

dimetron/pi-go · 106 tokens