Git Full-Platform Sync Publisher
Paste the following prompt into your AI chat to install this skill:
Please install @user_800d68d6/git-sync according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
git-sync addresses version and content consistency issues in skill/agent publishing: local directories, _meta.json, SKILL.md frontmatter, changelog, repository README, ZIP artifacts, and targets such as ClawHub, SkillHub, and PyPI can drift apart. When publishing is done with multiple manual commands, mismatches, leaked sensitive data, and packaging gaps are harder to catch early.
How it works
- Multi-target sync: pushes a skill or agent to
GiteeandGitHub, and can publish toClawHub,SkillHub, orPyPIas needed. - Automatic type detection: identifies skills from
_meta.jsonand agents from__version__in__init__.py, then routes them to the appropriate publish path. - LLM handoff decisions: file filtering and sensitive-data redaction write a
resumestate and exit with code3; the caller writes the decision file and reruns the same command, avoiding long in-process polling. - Resumable flow:
resume_{name}.jsonrecords whether the workflow stopped atfile_filterorsensitive_scan, so a rerun skips completed steps and continues from the current phase. - Unified path and repository management:
_paths.pycentralizes paths, thereposregistry inconfig.jsondefines target repositories, andmanifest.jsonrecords sync state. - Pre-publish checks: version consistency checks,
SKILL.mdaudit, ZIP packaging, and HTML index generation reduce issues that would otherwise appear after release.
Boundaries
Use it for explicit sync, upload, publish, packaging, or release intents, not as a replacement for generic git commit or git push. It does not resolve git merge conflicts automatically; conflicts require manual handling. Multi-platform publishing depends on network access and valid credentials, and ClawHub, SkillHub, and PyPI have different requirements for version parameters, path formats, and build behavior.
Use Cases
- Sync a local skill to Gitee and GitHub while updating README and version metadata.
- Prepare an agent for PyPI by checking `__version__`, building isolated, and uploading via twine.
- Filter out unwanted files before sync, then provide sensitive-data redaction decisions to resume.
- Create a release by tagging and calling GitHub/Gitee APIs to generate artifacts.
Best For
- Engineers maintaining skill repos who need to push local skills to Gitee/GitHub with consistent versions.
- Developers publishing agents who need isolated PyPI builds based on `__init__.py` versions.
- Maintainers managing multiple skill directories who need bulk sync via manifest and repos registry.
- Workflow integrators handling LLM handoff who need to write decision files and resume filtering/redaction.
Related Skills
A systematic code error fixing skill that follows a five-step workflow: Reproduce, Isolate, Understand, Fix, Verify, to help developers resolve code errors.
Supports inline SVG/HTML rendering and Mermaid code output, covering common technical diagram creation like architecture and flow diagrams.
Publish HTML, static assets, or build output as a public link, with account management, update, deletion, and AI safety review.
A comprehensive browser automation guide covering navigation, interaction, multi-tab management, and data collection, tailored for domestic web ecosystems and tools like Playwright/Selenium.