reset-main

Official

Sync local branch with remote main.

Authorsmykla-skalski
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you quickly synchronize your current local branch with the remote's default branch, especially after a pull request has been merged, or when you need to discard local changes and start fresh.

Core Features & Use Cases

  • Sync with Remote: Resets your current branch to match the latest state of the remote's default branch (e.g., origin/main or upstream/main).
  • Discard Local Changes: Effectively discards all uncommitted local changes and commits, ensuring your branch is identical to the remote.
  • Use Case: After merging a feature branch into main on GitHub, you can use this Skill to reset your local main branch to the new state, ensuring your local repository is up-to-date.

Quick Start

Run the reset-main skill to synchronize your current branch with the remote's default branch.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: reset-main
Download link: https://github.com/smykla-skalski/sai/archive/main.zip#reset-main

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.