github-sync-gate

GitHub

强制本地审查优先的同步策略,仅在收到精确指令后执行远程写入。前置检查包括隐私扫描、链接验证及安全敏感文件检测,确保推送安全合规。

.agents/skills/github-sync-gate/SKILL.md R6410418/Jackrong-llm-finetuning-guide

触发场景

用户发送'同步'指令准备提交代码 Codex 准备推送到 GitHub 仓库前

安装

npx skills add R6410418/Jackrong-llm-finetuning-guide --skill github-sync-gate -g -y
更多选项

非标准路径

npx skills add https://github.com/R6410418/Jackrong-llm-finetuning-guide/tree/main/.agents/skills/github-sync-gate -g -y

不安装直接使用

npx skills use R6410418/Jackrong-llm-finetuning-guide@github-sync-gate

指定 Agent (Claude Code)

npx skills add R6410418/Jackrong-llm-finetuning-guide --skill github-sync-gate -a claude-code -g -y

安装 repo 全部 skill

npx skills add R6410418/Jackrong-llm-finetuning-guide --all -g -y

预览 repo 内 skill

npx skills add R6410418/Jackrong-llm-finetuning-guide --list

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:

  1. Re-run privacy scans.
  2. Re-run repository-relative Markdown link validation.
  3. Re-run syntax checks.
  4. Re-run git diff --check.
  5. Inspect staged files for tokens, private paths, private SSH aliases, logs, caches, datasets, model weights, GGUF files, safetensors files, and checkpoints.
  6. Fetch the latest remote state and handle divergence safely.

Push Policy

  • Never force-push.
  • Prefer a direct push to main only 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.

版本历史

  • ef2b17f 当前 2026-07-25 05:33

同 Skill 集合

.agents/skills/qwen-mtp-gguf-release/SKILL.md
.agents/skills/qwopus27b-rl-training/SKILL.md
.agents/skills/repository-resource-portal/SKILL.md
qwen-mtp-gguf/SKILL.md

元信息

文件数
0
版本
ef2b17f
Hash
2a4c6b15
收录时间
2026-07-25 05:33

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-26 00:20
浙ICP备14020137号-1 $访客地图$