Agent Skills
› R6410418/Jackrong-llm-finetuning-guide
› github-sync-gate
github-sync-gate
GitHubGitHub同步门禁技能,强制本地优先策略。仅在用户发送精确指令后执行远程写入,期间重新运行隐私扫描、链接验证及安全审查,确保无敏感信息泄露并安全处理分支分歧。
Trigger Scenarios
Codex准备提交或推送代码时
用户发送精确的'同步'批准短语时
Install
npx skills add R6410418/Jackrong-llm-finetuning-guide --skill github-sync-gate -g -y
SKILL.md
Frontmatter
{
"name": "github-sync-gate",
"description": "Enforce this repository's local-review-first GitHub sync policy. Use when Codex is preparing, validating, staging, committing, pushing, or opening a pull request for this repository and must wait for the exact approval phrase before any remote write."
}
GitHub Sync Gate
Remote writes are forbidden until the user sends exactly:
同步
Do not treat any other approval phrase as sync approval.
Before Sync
After exact approval and before any remote write:
- Re-run privacy scans.
- Re-run repository-relative Markdown link validation.
- Re-run syntax checks.
- Re-run
git diff --check. - Inspect staged files for tokens, private paths, private SSH aliases, logs, caches, datasets, model weights, GGUF files, safetensors files, and checkpoints.
- Fetch the latest remote state and handle divergence safely.
Push Policy
- Never force-push.
- Prefer a direct push to
mainonly when the local integration can be applied safely and the remote branch has not diverged. - If direct push is unsafe or blocked, push the feature branch and open a pull request.
- Report the pushed branch, commit hash, and remote result.
- Never publish Hugging Face models merely because GitHub sync was approved.
Version History
- ef2b17f Current 2026-07-25 05:33


