Skip to content
Skill

Ljg push

Syncs updated ljg-* skills to the ljg-skills GitHub repo on master and md branches

Ljg push is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
shell, TypeScript
Platforms
Claude Code, Codex, Cursor
GitHub stars
7.8K
Last commit
License
MIT
Listing updated

Similar skills

About Ljg push

This skill publishes locally edited ljg-* skills from a personal skills folder to the ljg-skills GitHub repository. It pushes to the master branch first, keeping the org-mode output style, then switches to the md branch and converts the files to a markdown style before pushing again.

The workflow runs bash and TypeScript scripts that compare files by checksum, so only real content, file addition, deletion or executable-bit changes trigger a publish. Before each push it checks that the README lists every local skill, and it stops with a report when it finds a mismatch. A dry-run option previews what would be synced and converted without committing or pushing.

It expects a local clone of the repository with working git credentials already configured, since the skill does not handle authentication. It also bumps the patch version in the plugin and marketplace metadata on each push.

When your agent uses it

把 ~/.agents/skills/ljg-* 里所有更新过的 skills 同步到 github repo (ljg-skills),先推 master 分支(org-mode 输出风格),再切 md 分支(markdown 输出风格)做基础 markdown 化后推。Use when user says '/ljg-push', 'push skills', '推送 skills', '同步 skills', 'sync ljg', or whenever ljg-* skills get updated and need shipping. NOT FOR pushing non-ljg skills or arbitrary git repos.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 6 files (68 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the ljg-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add lijigang/ljg-skills
/plugin install ljg-skills@ljg-skills

Or copy only this skill to ~/.claude/skills/ljg-push:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lijigang/ljg-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ljg-push &&
cp -R "$tmp/skills/ljg-push" ~/.claude/skills/ljg-push &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/ljg-push inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/ljg-push to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lijigang/ljg-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ljg-push &&
cp -R "$tmp/skills/ljg-push" ~/.agents/skills/ljg-push &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/ljg-push inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/ljg-push to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lijigang/ljg-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ljg-push &&
cp -R "$tmp/skills/ljg-push" ~/.cursor/skills/ljg-push &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/ljg-push inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/lijigang/ljg-skills.git --path skills/ljg-push

Or copy the folder to ~/.gemini/skills/ljg-push yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/ljg-push:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lijigang/ljg-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ljg-push &&
cp -R "$tmp/skills/ljg-push" ~/.copilot/skills/ljg-push &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/ljg-push inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/lijigang/ljg-skills.git

Then copy ljg-skills/skills/ljg-push into your agent's skills folder as ljg-push. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Selective skill sync
Detects which local ljg-* skills differ from the repository and copies only those across.
Dual branch publishing
Pushes the org-mode master branch first, then a converted markdown md branch.
Markdown conversion
Converts org files, headers, links and embedded org templates into markdown equivalents.
README consistency gate
Blocks the push when local skills and the README skill list do not match.
Dry-run preview
Lists the skills and conversions that would run without committing or pushing.
Version bump
Increments the patch version in plugin and marketplace metadata on each push.

Good for

  • Push my recently edited ljg skills to GitHub
  • Preview which skills would be synced before publishing
  • Check that the README lists all my local skills before a release
  • Convert org-format skill files to markdown for the md branch

Ljg push FAQ

What does Ljg push need to run?

A local clone of the ljg-skills repository and git credentials already set up over SSH or a personal access token. The skill does not handle authentication itself.

Which skills does Ljg push push?

Only ljg-* skills from the local skills folder that have changed. It is not meant for non-ljg skills or arbitrary git repositories.

Does Ljg push change my local repository branch?

After pushing the md branch it switches the local repository back to master.

What happens if the README is out of date?

The push is stopped and a list of differences is reported, unless the skip flag is passed after reviewing the README.

How do I install Ljg push in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ljg-push to use it in all your projects, or to .claude/skills/ljg-push in one project. Or install the ljg-skills plugin, which includes it: /plugin marketplace add lijigang/ljg-skills, then /plugin install ljg-skills@ljg-skills.

Does Ljg push run scripts?

Yes. It runs shell and TypeScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Ljg push?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Ljg push?

The closest alternatives to Ljg push are Harness sync, Harness release, Add skill, Fix merge conflicts and Release notes.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from lijigang/ljg-skills

  1. Finds a vivid analogy that maps a relationship from a familiar scene onto your topic

    • Open source
    • 7.8K GitHub stars
    • Productivity
  2. Scans yesterday's AI chats for a thinking blind spot and pairs it with a WeRead chapter

    • Open source
    • 7.8K GitHub stars
    • Productivity
  3. Explains a whole book's threads, turns and ending for readers who have not read it

    • Open source
    • 7.8K GitHub stars
    • Productivity
  4. Turns a business description into a nine-block Business Model Canvas card

    • Open source
    • 7.8K GitHub stars
    • Productivity
  5. Turns text into PNG cards, long reads, full-text layouts, comics or whiteboards

    • Open source
    • 7.8K GitHub stars
    • Design and media
  6. Builds annotated classical Chinese chapter sheets with word notes and a chapter reading

    • Open source
    • 7.8K GitHub stars
    • Files and documents