AutoSkillit: Skill for Claude Code

.claude/skills/promote-to-main/SKILL.md

promote-to-main is a skill for Claude Code from TalonT-Org/AutoSkillit. It costs 69 tokens per session (4,234 once invoked), scanned A, original, MIT.

A release-preparation workflow for moving collected changes from one branch, usually integration, into the main branch. It checks the changes, documents them, and prepares a pull request (a request to review and merge code).

In plain words
What is it for?
Use it when a batch of features, fixes, or cleanup work is ready to move to main. It can run checks, inventory changes, create architecture diagrams, write release notes, and open or preview the promotion pull request.
Why use it?
It removes the manual work of finding everything that changed, checking whether it is ready, and writing release notes. It also keeps a record of which changes are included.

Skill for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: mentions subagents; mentions Claude Code.

This is TalonT-Org/AutoSkillit's own configuration. It tells Claude Code how to work on AutoSkillit 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 AutoSkillit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TalonT-Org/AutoSkillit. 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/TalonT-Org/AutoSkillit/main/.claude/skills/promote-to-main/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/TalonT-Org/AutoSkillit

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 promote-to-main

README.md
[![agentmods](https://agentmods.dev/badge/skills/talont-org/autoskillit/promote-to-main/github.svg)](https://agentmods.dev/skills/talont-org/autoskillit/promote-to-main)
Your own site
<a href="https://agentmods.dev/skills/talont-org/autoskillit/promote-to-main"><img src="https://agentmods.dev/badge/skills/talont-org/autoskillit/promote-to-main/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 promote-to-main

Your own site · 80×15
<a href="https://agentmods.dev/skills/talont-org/autoskillit/promote-to-main"><img src="https://agentmods.dev/badge/skills/talont-org/autoskillit/promote-to-main.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,234 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.
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.00069 $0.04234
Opus 5 $0.00034 $0.02117
Sonnet 5 $0.00014 $0.00847
Haiku 4.5 $0.00007 $0.00423

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

Security

Grade A, and why

promote-to-main 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 10d 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/promote-to-main/SKILL.md · 456 lines

How it starts

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

Promote to Main

Orchestrate the integration-to-main promotion workflow. This skill discovers everything that changed on integration since it diverged from main, runs pre-flight quality checks, performs change inventory, generates architecture diagrams, synthesizes release notes, and creates a comprehensive promotion PR.

Arguments

/autoskillit:promote-to-main [batch_branch] [base_branch] [--dry-run]
  • batch_branch (optional) — source branch to promote. Defaults to integration.
  • base_branch (optional) — target branch. Defaults to main.
  • --dry-run — generate the full PR body without creating a PR.

When to Use

  • When the develop branch is stable and ready to be promoted to main
  • After feature PRs, bug fixes, and cleanup work have been collected and tested on develop
  • This is the final gate before changes land on main

Critical Constraints

NEVER:

  • Create files outside .autoskillit/temp/promote-to-main/
  • Modify any source code — this skill is read-only analysis + PR creation
  • Fail silently if gh is unavailable — output pr_url = (empty) and exit successfully
  • Push or merge anything — this skill only creates the PR
  • Skip pre-flight checks — a failing pre-flight must block PR creation
  • Use the Bash tool for file reads — use Read, Grep, Glob for all codebase inspection
  • Use gh pr create --body inline — always use --body-file

ALWAYS:

  • Run ALL pre-flight checks before any analysis work
  • Check gh auth status before any GitHub operations
  • Output pr_url = <url> as a structured token (empty string when GitHub unavailable or dry-run)
  • Output verdict = <value> as a structured token
  • Carry forward ALL Closes #N, Fixes #N, and Resolves #N references from merged PR bodies
  • Use gh pr create --body-file (never inline body via --body)
  • pr_body_path must be an absolute path (prepend CWD)

Workflow

Phase 0: Setup

Step 0.1: Parse Arguments

Parse optional positional arguments and flags:

  • batch_branch — default "develop" if absent or empty
  • base_branch — default "main" if absent or empty
  • dry_runtrue if --dry-run present in ARGUMENTS

Read the full file on GitHub · 456 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. 10d ago First seen · 456 lines · 69 tokens per session scan A 2dd05d7061de

Subscribe to this mod's changes

promote-to-main is a skill published in the GitHub repository TalonT-Org/AutoSkillit (5 stars, last pushed today), licensed MIT. It adds 69 tokens to every session and 4,234 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

release-management

Automates GitHub releases with semantic versioning, changelog generation from merged PRs, and gh CLI integration. Supports draft, prerelease, and standard release workflows with task-tracked multi-phase execution. Use when creating releases, tagging versions, or publishing changelogs.

yonatangross/orchestkit · 58 tokens

ios-app-store-submit

Build, sign, and submit a Flutter/iOS app to the App Store Connect — covers Xcode archive/export, code signing (including headless-Mac keychain workarounds), the asc CLI for App Store Connect metadata automation, screenshot handoff, and final review submission. Use when asked to build and upload an iOS app, set up App…

ZestfulPulse/ios-app-store-submit · 143 tokens

hyperframes-pr-to-video

Turn a GitHub pull request into a changelog, feature-reveal, fix, or refactor explainer video using HyperFrames. Use when the user provides a PR URL, owner/repo#N ref, or says 'this PR'. Reads diff via gh CLI, visualizes code changes as animated diffs with narration. Teaches diff parsing, change visualization, and…

oyi77/1ai-skills · 84 tokens

git-flow-pr

Executes the full PR-driven development workflow: create an isolated feature branch from the current work, commit all staged changes, rebase cleanly onto the selected base branch (skipping any ancestor commits already merged), push the branch, and open a GitHub pull request linked to a related issue. Includes guidance…

soulcodex/agentic · 103 tokens

publish-github-release

Use this whenever the user asks to ship, publish, release, tag, or cut a new version of the project — OR when CHANGELOG.md has an "Unreleased" / in-progress section ready to be shipped. The skill bumps the version across all version-bearing files, regenerates the CHANGELOG entry from git log since the last tag…

iampantherr/SecureContext · 99 tokens

release-management

Tag a commit, publish a GitHub release, and read, correct or withdraw the tags and releases already there.

saidsef/mcp-github-pr-issue-analyser · 22 tokens