yd-git-sync SKILL.md skillA
yd-git-sync from leeyudok/doksam-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add leeyudok/doksam-skills/yd-git-sync@git:20261015.6d4494bPins git:20261015.6d4494b in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- leeyudok/doksam-skills
- Path
skills/yd-git-sync/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261015.6d4494b, committed Oct 15, 2026
- Size
- 5,246 bytes
- Repository stars
- 14
- License
- MIT
여러 호스트(맥·pig·doksam 등)에 클론해 둔 같은 저장소를 맞춘다 — 각 클론을 git pull --ff-only 로 origin 에 맞추고 추적 파일 수·목록 해시를 비교한 뒤, git 이 관리하지 않는 폴더(docs/원본자료 등)를 지우지 않고 합집합으로 채운다. "서버들 레포 동기화", "파일 갯수 같은지 확인", "pig doksam 싱크", "합집합으로 맞춰" 요청에 쓴다. 작업을 커밋·MR 로 올리는 일은 yd-git-ship 이 맡는다.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# yd-git-sync ## 역할 같은 저장소가 여러 호스트에 클론되어 있을 때 둘을 맞춘다. 1. **git 이 추적하는 것**: origin 기준으로 맞추고 같은지 증명한다. 2. **git 이 추적하지 않는 것**: 원본 자료처럼 `.gitignore` 에 있는 폴더다. 호스트 사이에서 합집합으로 채운다. 커밋·푸시·MR 은 하지 않는다. 그것은 `yd-git-ship` 이 맡는다. ## 워크플로 호스트 이름 `local` 은 지금 셸이고, 나머지는 ssh 별칭이다. 저장소 경로는 호스트마다 `$HOME` 기준으로 같다고 본다. 기본값은 지금 저장소의 경로이고, 다르면 `--repo-path` 로 준다. 명령은 대상 저장소 안에서 돌린다. ### 1. git 상태 맞추기 ```bash python3 <skill>/scripts/repo_state.py local pig doksam --pull ``` - 고친 파일이 없는 클론만 `git pull --ff-only` 로 당긴다. 고친 파일이 있는 클론은 건너뛰고 표에 `skip-dirty` 로 남긴다. 그 클론의 변경을 버리거나 stash 하지 않는다. 사용자에게 보고한다. - 판정은 셋이 같아야 "같음"이다. HEAD, 추적 파일 수, 목록 해시(`git ls-files -s | git hash-object --stdin`)다. 목록 해시는 경로·모드·blob 해시를 다 담으므로 이름과 내용이 같다는 뜻이다. - **디스크 파일 수(`find -type f`)로 비교하지 않는다.** 추적 심링크는 빠지고, ignore 된 `node_modules`·`.venv` 는 들어가서 호스트마다 다르게 나온다. 표의 `links` 열이 추적 심링크 수다. ### 2. 미추적 폴더 합집합 ```bash python3 <skill>/scripts/union_sync.py local pig doksam --dir docs # 계획 python3 <skill>/scripts/union_sync.py local pig doksam --dir docs --apply # 복사 + 재검증 ``` 먼저 계획을 보여 주고, 사용자가 범위를 정했으면 `--apply` 한다. 규칙은 이렇다. - **지우지 않고 덮어쓰지 않는다.** 없는 파일만 채운다. …
Read the whole file at its exact version.
How to install
mdr add leeyudok/doksam-skills/yd-git-sync@sha256:55fc3a9c9bcac5ebThe line at the top of this page pins the label git:20261015.6d4494b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_dq2umunc6755y24a)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 15, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5246 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
leeyudok/doksam-skills · 14 stars · license MIT · pushed 2026-10-17 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_dq2umunc6755y24a GET https://markdownregistry.com/api/v1/resolve?ref=leeyudok/doksam-skills/yd-git-sync GET https://markdownregistry.com/api/v1/blob/55fc3a9c9bcac5eb2c11244de566b4560f53b6b2a77f4ee3ba55309244938ef4
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from leeyudok/doksam-skills
Every file in leeyudok/doksam-skills