sync-tasks
Warm the task graph and vector store by synchronizing a configured task board through the reviewer MCP server. Use when the user asks to sync or ind…
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Sync Tasks
Reply in Russian. This is a thin, server-side trigger: the server enumerates, normalizes, and
indexes the board. Do not enumerate tasks in the client and do not send credentials.
- Resolve the repository path with
git rev-parse --show-toplevel, then run
git -C <path> remote get-url origin. For HTTPS and SSH URLs, remove the scheme, userinfo, and
host; for scp-style remotes, remove everything through the host's first colon. Preserve every
path segment after the host or scp colon, remove the leading slash, strip a trailing .git, then
lowercase and validate the result as the canonical lowercase repository id (owner/name or
group/.../name). Examples:
https://gitlab.example.com/group/sub/repo.git→group/sub/repossh://git@gitlab.example.com/group/sub/repo.git→group/sub/repogit@gitlab.example.com:group/sub/repo.git→group/sub/repo
If origin is missing or ambiguous, ask for the complete namespace/repo id; do not guess from the
directory name.
- Resolve branch independently. Pass a non-null branch only when the user explicitly supplied or
selected one and it is in the tracked branches list (REVIEW_BRANCHES). With no explicit tracked
selection, pass branch=null so the server uses its primary tracked branch. Never infer the
branch from the current worktree branch or blindly pass an untracked feature branch.
- Call only repo mode with operation flags. The server owns effective board-policy resolution; do
not reconstruct policy in the client:
sync_board(repo=<canonical owner/name or group/.../name>,
branch=<explicit tracked branch or null>,
limit=<limit or null>,
purge_orphaned=<explicit request or false>,
keep_with_prs=<explicit request or true>,
force_renormalize=<explicit request or false>)
- If the result is a configuration or policy error, explain it in Russian and stop. Do not retry
through unfiltered explicit mode: that could enumerate or purge the wrong task corpus.
- Report the server-side summary in Russian, including
eligible,filtered_by_age,
filtered_archived, age_unknown, archive_unknown, filter_applied, filter_fingerprint,
filter_source, by_board, purge, and warnings. Explain warnings and leave the local
repository unchanged.
sync_board is idempotent: rerunning is safe and inexpensive when the watermark is warm. It reads
the board; it never writes back.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
plugins/mimfort/rag_for_git/plugin/skills/sync-tasks/SKILL.md