mcp-server-polarion: Skill for Claude Code

.claude/skills/deploy/SKILL.md

deploy is a skill for Claude Code from devemberx/mcp-server-polarion. It costs 38 tokens per session (2,082 once invoked), scanned A, original, MIT.

A release workflow for publishing a Python project. It checks the Git state, chooses a version, creates a tag, and publishes the package to PyPI, the Python Package Index.

In plain words
What is it for?
Use it for version bumps and production releases of this project, including Git tags and PyPI publication.
Why use it?
It turns release checks and publishing into a defined sequence and stops when the repository is not ready.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the AskUserQuestion tool.

This is devemberx/mcp-server-polarion's own configuration. It tells Claude Code how to work on mcp-server-polarion 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 mcp-server-polarion configures →

Reuse

Borrowing it

Nothing to install: this file belongs to devemberx/mcp-server-polarion. 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/devemberx/mcp-server-polarion/main/.claude/skills/deploy/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/devemberx/mcp-server-polarion

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 deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/devemberx/mcp-server-polarion/deploy.svg)](https://agentmods.dev/skills/devemberx/mcp-server-polarion/deploy)
Your own site
<a href="https://agentmods.dev/skills/devemberx/mcp-server-polarion/deploy"><img src="https://agentmods.dev/badge/skills/devemberx/mcp-server-polarion/deploy.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,082 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00038 $0.02082
Opus 5 $0.00019 $0.01041
Sonnet 5 $0.00008 $0.00416
Haiku 4.5 $0.00004 $0.00208

Measured 6d ago against content hash a92d190f2f92, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

deploy 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 6d 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/deploy/SKILL.md · 166 lines

How it starts

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

Deploy Skill

Orchestrate production release. Be deliberate. Never skip hooks. Never push without explicit user confirm.

Step 1 — Pre-flight checks (abort on any failure)

git status --porcelain                  # MUST be empty
git rev-parse --abbrev-ref HEAD         # MUST be 'main'
git fetch origin main --tags            # --tags so Step 2's check sees remote tags
git rev-list --count HEAD..origin/main  # MUST be 0
git rev-list --count origin/main..HEAD  # MUST be 0
git config core.hooksPath               # SHOULD be '.githooks'
  • Dirty tree → list offending files, stop. Do NOT auto-stash.
  • Branch != main → ask user switch manually. Do NOT switch.
  • Behind origin → tell user run git pull --ff-only.
  • Ahead of origin → tell user push or reset; release commit must sit on synced main.
  • core.hooksPath.githooks → WARN, ask user run git config core.hooksPath .githooks. Step 4 only prints 50/120 lengths for eye-check; with hook missing nothing enforces them, so restore hook (repo-wide net for every commit, not just this one) before commit.

Step 2 — Determine new version (interactive)

grep -m1 '^version =' pyproject.toml
PREV_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
[ -n "$PREV_TAG" ] && git log "$PREV_TAG..HEAD" --oneline || git log --oneline

Analyze commits since $PREV_TAG:

  • breaking / !: marker → recommend major
  • any feat: → recommend minor
  • only fix: / chore: / docs: → recommend patch

Call AskUserQuestion with options patch / minor / major / custom, note recommendation in question text. For custom, prompt exact X.Y.Z.

Verify tag does not already exist (Step 1's --tags fetch catches remote tags too, not just local):

git rev-parse "v${NEW_VERSION}" 2>/dev/null && abort "tag exists" || true

If exists, abort, tell user pick different version. Remote tag means version already shipped (or mid-publish) — never reuse. Local-only tag likely stale leftover from aborted prior run; user can delete manually (git tag -d v${NEW_VERSION}) after confirming it never reached origin.

Read the full file on GitHub · 166 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. 6d ago First seen · 166 lines · 38 tokens per session scan A a92d190f2f92

Subscribe to this mod's changes

deploy is a skill published in the GitHub repository devemberx/mcp-server-polarion (12 stars, last pushed 4d ago), licensed MIT. It adds 38 tokens to every session and 2,082 once invoked, about $0.0002 per session on Opus 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