sync-shared-docs

Sync non-gitignored local changes to the main branch on GitHub.

Updated Mar 23, 2026
One-click install
npx skills add https://github.com/swishstar/vwpm-assistant --skill sync-shared-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sync-shared-docs
Source: https://github.com/swishstar/vwpm-assistant/tree/main/.cursor/skills/sync-shared-docs
Command: npx skills add https://github.com/swishstar/vwpm-assistant --skill sync-shared-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Syncs non-gitignored local changes to the main branch on GitHub.

Core Features & Use Cases

  • Verifies remotes and current branch to ensure safe syncing
  • Pulls latest changes with rebase to avoid conflicts
  • Commits and pushes only non-ignored files according to .gitignore
  • Keeps a clear, auditable history of updates for collaborators

Quick Start

Push non-ignored local changes to the main branch on GitHub.

Frequently Asked Questions about sync-shared-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync local documentation changes to a remote GitHub repository?

The best way to sync local changes to GitHub involves verifying the remote URL, validating the current branch, and executing a guarded commit-and-push workflow. This process keeps an auditable history for collaborators.

How do I avoid commit conflicts when syncing documentation to a shared main branch?

To avoid commit conflicts when syncing documentation to a shared main branch, you should pull the latest changes with a rebase before pushing. This replays your local commits on top of the updated remote main branch.

How does a guarded commit-and-push workflow handle gitignored files?

A guarded commit-and-push workflow handles gitignored files by automatically excluding them from the commit. It only stages and syncs non-ignored local modifications to the main branch on GitHub.

Why should I verify remotes before pushing local documentation updates to GitHub?

Verifying remotes before pushing local documentation updates to GitHub ensures your changes are sent to the correct repository. This validation step prevents accidental pushes to unauthorized or incorrect remote URLs.

Can I use this workflow to publish updates for teammates directly on the main branch?

Yes, you can use this workflow to publish updates for teammates directly on the main branch. It validates the current branch, pulls with rebase, and pushes non-ignored files so collaborators can pull the latest docs.