cloud-native-ref: Skill for Claude Code

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

create-pr is a skill for Claude Code from Smana/cloud-native-ref. It costs 35 tokens per session (1,278 once invoked), scanned A, original, Apache-2.0.

A workflow for creating or updating a GitHub pull request from the current branch. It generates a structured description with a diagram, file walkthrough, and links to relevant design documents.

In plain words
What is it for?
Opening a pull request against a base branch, updating an existing pull request, summarizing implementation changes, and documenting how the changed files fit together.
Why use it?
Writing a complete pull-request description requires collecting commits, changed files, design context, and the purpose of the change. This organizes that information into a shared format.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is Smana/cloud-native-ref's own configuration. It tells Claude Code how to work on cloud-native-ref 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 cloud-native-ref configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Design: [`<date>-<topic>-design.md`](../blob/main/docs/superpowers/specs/<date>-<topic>-design.md).

Reuse

Borrowing it

Nothing to install: this file belongs to Smana/cloud-native-ref. 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/Smana/cloud-native-ref/main/.agents/skills/create-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Smana/cloud-native-ref

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 create-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/smana/cloud-native-ref/create-pr/github.svg)](https://agentmods.dev/skills/smana/cloud-native-ref/create-pr)
Your own site
<a href="https://agentmods.dev/skills/smana/cloud-native-ref/create-pr"><img src="https://agentmods.dev/badge/skills/smana/cloud-native-ref/create-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 create-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/smana/cloud-native-ref/create-pr"><img src="https://agentmods.dev/badge/skills/smana/cloud-native-ref/create-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,278 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 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.00035 $0.01278
Opus 5.5 $0.00014 $0.00511
Sonnet 5.5 $0.00007 $0.00256
Haiku 4.5 $0.00003 $0.00128

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

Security

Grade A, and why

create-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.

.agents/skills/create-pr/SKILL.md · 132 lines

How it starts

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

Create PR Skill

Generate and create/update a comprehensive PR using the shared body template.

Mode detection

Parse $ARGUMENTS:

  • Starts with --update or -u followed by a number → Update Mode on that PR.
  • Anything else → Create Mode (argument is the base branch; default main).

Create Mode

0. Rebase first

Run the sync-branch skill before reading the diff. A PR opened from a branch behind origin/${BASE:-main} shows reviewers a diff against the wrong merge base, and its CI result describes code that will not merge.

Opening a PR is explicit direction to publish the branch, so this is the one caller for which sync-branch may force-push. It pushes once, here — not again in step 4.

1. Gather diff information (parallel)

git log origin/${BASE:-main}..HEAD --oneline
git diff origin/${BASE:-main}...HEAD --stat
git diff origin/${BASE:-main}...HEAD

2. Detect the design context

Changed paths → change type:

Path pattern Change type
infrastructure/base/crossplane/configuration-aws/configuration-packages.yaml (composition package pin) composition
opentofu/**/*.tf, terramate.tm.hcl infrastructure
*networkpolicy*, *rbac*, openbao/**, *cilium*policy* security
Multiple top-level dirs + HelmRelease/Kustomization platform

Find the design document behind these changes, if one exists. Non-trivial work goes through the Superpowers flow (see docs/superpowers/AGENTS.md), which commits a design and a plan on the branch:

git diff origin/${BASE:-main}...HEAD --name-only \
  | grep -oE 'docs/superpowers/(specs|plans)/[0-9]{4}-[0-9]{2}-[0-9]{2}-[a-z0-9-]+\.md' \
  | sort -u

When a design is detected, include the Design block:

## 📋 Design

Design: [`<date>-<topic>-design.md`](../blob/main/docs/superpowers/specs/<date>-<topic>-design.md)
Plan: [`<date>-<topic>-plan.md`](../blob/main/docs/superpowers/plans/<date>-<topic>-plan.md)

<one line: which part of the plan this PR delivers>

Read the full file on GitHub · 132 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · +13 lines a27ea3187a77
  2. 1mo ago First seen · 119 lines · 35 tokens per session scan A e3471e6da796

Subscribe to this mod's changes

create-pr is a skill published in the GitHub repository Smana/cloud-native-ref (104 stars, last pushed today), licensed Apache-2.0. It adds 35 tokens to every session and 1,278 once invoked, about $0.0001 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

troubleshoot-sandbox

Troubleshoot OpenSandbox issues by running diagnostics (logs, inspect, events, summary) via CLI or HTTP API to diagnose sandbox failures like OOM, crash, image pull errors, network problems, etc.

opensandbox-group/OpenSandbox · 48 tokens

network-rca

Kubernetes network root cause analysis skill powered by Kubeshark MCP. Use this skill whenever the user wants to investigate past incidents, perform retrospective traffic analysis, take or manage traffic snapshots, extract PCAPs, dissect L7 API calls from historical captures, compare traffic patterns over time, detect…

kubeshark/kubeshark · 163 tokens

mirrord-prev-env

Help users create and manage mirrord preview environments — running a modified service as an isolated pod in a shared Kubernetes cluster, scoped by an environment key and HTTP/queue traffic filtering, so teams can validate and review changes against real traffic without affecting live services. Use when a developer…

metalbear-co/mirrord · 122 tokens

mirrord-kafka

Helps DevOps engineers configure mirrord Operator's Kafka queue splitting feature end-to-end. Generates the MirrordSplitConfig and MirrordPropertyList Kubernetes CRD YAMLs (the current resources; MirrordKafkaTopicsConsumer + MirrordKafkaClientConfig are deprecated but still supported), the matching mirrord.json…

metalbear-co/mirrord · 189 tokens

mirrord-operator

Help users install and configure the mirrord Operator for team/enterprise environments. Use when users ask about operator setup, Helm installation, cloud API key or license configuration, air-gapped/offline licensing, enabling features (queue splitting, DB branching, preview environments, multi-cluster), internal…

metalbear-co/mirrord · 124 tokens

mirrord-up

Helps users run multiple concurrent mirrord sessions from a single mirrord-up.yaml (compose-style multi-service local debugging). Use when the user mentions mirrord up, mirrord-up.yaml, mirrord up init, debugging several related microservices together, or managing multiple mirrord sessions' lifecycle in one command.

metalbear-co/mirrord · 73 tokens