mcpbeat Sign in

Ln 62 Repository Publisher Skill for Claude

Validates, commits, pushes, and remotely verifies approved repository changes. Use when publication is requested; not for releases, package publishing, or announcements.

2k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
527
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-62-repository-publisher

The instruction itself

9 sections, as written by the author

Repository Publisher

Goal: Publish only changes the user has authorized, then verify the result from the remote source.

Execution contract: Treat the ordered checkbox workflow below as this skill's Definition of Done. Work through every item in order, and mark it complete only when its action and required evidence are complete. N/A, skipped, unavailable, or delegated items remain incomplete.

Before returning, apply this skill's verdict, decision, and approval rules to every incomplete item and prepend Checklist: X/Y complete<br>Incomplete: None | section/item — reason; outcome impact; exact next action; list every incomplete item.

Tool Routing

| Need | Preferred capability | Fallback |

|---|---|---|

| Scope, staging, history, and synchronization | Native Git CLI | Stop if equivalent Git evidence is unavailable |

| Repository validation | Project-native commands and installed validators | Documented manual checks |

| Remote branch and CI state | Authenticated hosting CLI or connector | Git remote evidence plus direct workflow URLs |

| Clean-source verification | Temporary clone and isolated host configuration when distribution surfaces changed | Remote raw files plus BLOCKED for required install evidence |

| Static-site verification | Deployment workflow plus direct HTTP request | Hosting API deployment state |

| Current marketplace behavior | Official host documentation | Mark assumptions and avoid destructive retries |

Prefer compact Git output first, then open the full diff for files that will be staged. Never pipe commands in a way that hides the failing exit code.

Use hosting APIs for remote facts and Git for repository facts. Local distribution or deployment state cannot prove that a remote consumer update works.

Checklist

  • [ ] Confirm the user explicitly requested a commit and push and identify the intended branch.
  • [ ] Read repository instructions, release rules, and the current branch policy before mutation.
  • [ ] Check git status -sb, staged and unstaged diffs, untracked files, remotes, and recent commit style.
  • [ ] Identify unrelated user changes; do not stage them without explicit whole-worktree authorization.
  • [ ] Inspect deletions and generated files as carefully as edited text.
  • [ ] Check whether behavior, installation commands, catalogs, layout, or the public site require matching documentation updates.
  • [ ] Do not create a changelog merely because one is absent; follow the repository's documented release policy.
  • [ ] Do not change versions, tags, or release metadata during an ordinary publication unless the request or repository policy explicitly includes them.
  • [ ] For marketplace edits, confirm every stable identifier is unchanged unless an intentional migration was approved.
  • [ ] When multiple host catalogs exist and repository policy requires parity, confirm they contain the same distribution units in the required order.
  • [ ] When metadata is duplicated across manifests or catalogs, confirm descriptions and source paths agree with the canonical source.

Validation Routing

  • [ ] Discover and run repository-native validation commands before generic checks.
  • [ ] For changed skills, run repository-required or host-native skill validators, or perform their documented manual fallback.
  • [ ] For changed plugins or packages, run repository-required validators, or perform their documented manual fallback.
  • [ ] Run every host-native strict validator whose distribution surface exists and changed or is required by repository policy.
  • [ ] Run only the catalog parity, manifest parsing, stale-reference, local-link, and whitespace checks required by the repository and affected surfaces.
  • [ ] Run only relevant product tests; do not invent a heavyweight release gate absent from repository policy.
  • [ ] Stop before commit on a confirmed failing required check unless the user explicitly accepts the failure.
  • [ ] Record skipped checks with the exact missing dependency or environment.

Synchronization and Commit

  • [ ] Fetch the target remote and compare local HEAD with the remote branch before committing.
  • [ ] If histories diverge, stop and report the commits on both sides; do not force-push or rewrite history implicitly.
  • [ ] Stage explicit paths when the worktree is mixed; use whole-worktree staging only when the user approved all changes.
  • [ ] Review the cached diff and diffstat after staging.
  • [ ] Remove secrets, local caches, temporary artifacts, and unintended credentials from the staged set.
  • [ ] Match the repository's commit-message convention and summarize the entire staged change.
  • [ ] Do not add an automated co-author or signature unless repository policy or the user requests it.
  • [ ] Create the commit and capture its full SHA.
  • [ ] Push to the authorized branch without changing branch protections or using force.

Remote Verification

  • [ ] Confirm the remote branch resolves to the pushed commit using both Git and the hosting API when available.
  • [ ] Watch required CI runs for that commit until completion; report direct run URLs and failures.
  • [ ] If the static site changed, wait for deployment and verify live content with a cache-busting request.
  • [ ] If installation or marketplace content changed, clone an authorized consumer-accessible remote into a clean temporary directory and validate the affected distribution surface.
  • [ ] When install or update behavior changed, test at least one affected package or plugin from its documented distribution source in isolated host configuration.
  • [ ] When stable distribution identifiers or versions exist, verify the installed artifact resolves under the expected identifier and version.
  • [ ] Keep temporary host configuration isolated from the user's active settings and remove it safely afterward.
  • [ ] Recheck the local worktree and confirm local HEAD equals the remote branch.

Safety Gates

  • [ ] Never expose authentication tokens or credential values in output.
  • [ ] Never create a release, tag, package publication, discussion, or pull request unless explicitly requested.
  • [ ] Never delete remote branches or alter the default branch as a side effect.
  • [ ] Never treat a successful push as proof that CI, marketplace refresh, or deployment succeeded.
  • [ ] Return BLOCKED rather than bypassing branch protection, authentication, or required checks.

Verdict

  • PUBLISHED — commit, push, required CI, and applicable remote verification succeeded.
  • PARTIAL — the push succeeded but a non-destructive remote check is pending or failed.
  • BLOCKED — publication did not complete because authorization, synchronization, validation, or remote access failed.

Output Contract

Return:

  • Published scope and excluded changes.
  • Branch, commit SHA, and remote URL.
  • Validation commands and results.
  • CI and deployment URLs.
  • Clean-source installation or update evidence when applicable.
  • Verdict.
  • Residual risks and any manual follow-up.

If publication is PARTIAL, state whether the pushed commit is safe to leave in place and what observable event would close the remaining check.

Do not call the result PUBLISHED until the remote commit and every applicable required workflow are observable.

Other skills for the same job

different authors, same section of the catalogue
MCP Builder
by anthropics
vendor ×13

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

30k tokens scripts
Changelog Generator
by frostant
×9

Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

774 tokens
Finishing A Development Branch
by ZhanlinCui
×7

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup

1k tokens
MCP Builder
by JayZeeDesign
×7

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

37k tokens scripts
Vercel React Native Skills
by vercel-labs
vendor ×6

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

39k tokens
Vercel React Best Practices
by ratacat
×5

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

34k tokens
Next Best Practices
by vercel-labs
vendor ×4

Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling

20k tokens
Using Git Worktrees
by ZhanlinCui
×4

Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification

1k tokens

How to use it

Copy the folder

Take levnikolaevich/ln-62-repository-publisher from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.