ljg-push

Synchronize updated ljg-* skills to ljg-skills repository branches via git and rsync.

6.8k|781|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/lijigang/ljg-skills --skill ljg-push
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ljg-push
Source: https://github.com/lijigang/ljg-skills/tree/main/skills/ljg-push
Command: npx skills add https://github.com/lijigang/ljg-skills --skill ljg-push

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, rsync, awk, grep, sed, bash.

What problem does it solve?

This skill automates the one-click synchronization of locally modified ljg-* skills to the ljg-skills repository, ensuring both master and md branches stay up-to-date.

Core Features & Use Cases

  • Synchronizes changed local ljg-* skills to the central repository.
  • Updates two branches: master (org-mode style) and md (markdown style), applying markdown conversion where needed and maintaining version bumps.
  • Enforces a README consistency gate before pushing to prevent drift between local skills and the documented skill list.

Quick Start

Run /ljg-push to push updated local ljg-* skills to the ljg-skills repository on both master and md branches.

Frequently Asked Questions about ljg-push

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

FAQPage Schema
How do I synchronize local skills to a GitHub repository across multiple branches?

Synchronizing local skills to GitHub across branches requires a bash workflow using git and rsync to detect changes, commit, and push updates to both master and markdown branches simultaneously.

What is the best way to automate git push for org-mode and markdown files?

Automating git push for org-mode and markdown files is best handled by a script using sed and awk to apply markdown conversion where needed, maintaining version bumps for both branch formats.

How does a README consistency gate prevent documentation drift during git workflow?

A README consistency gate prevents documentation drift by enforcing a validation check before pushing, ensuring local skills match the documented list in the repository to avoid synchronization conflicts.

Do I need rsync and bash installed to synchronize skills with per-file conversion?

You need rsync, bash, git, awk, grep, and sed installed to execute this synchronization workflow, as these tools detect changes, perform per-skill rsync, and handle markdown conversion.

Can I use this workflow to bump versions and push only modified skill files?

Yes, you can use this workflow to bump versions and push modified files because it detects changes locally and performs per-skill rsync to selectively synchronize only updated skills to the repository.