yd-go-expert SKILL.md skillA
This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.
yd-go-expert from leeyudok/agents-scaffold is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add leeyudok/agents-scaffold/yd-go-expert@git:20261024.c5b81d9Pins git:20261024.c5b81d9 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- leeyudok/agents-scaffold
- Path
.claude/skills/yd-go-expert/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261024.c5b81d9, committed Oct 24, 2026
- Size
- 9,803 bytes
- Repository stars
- 36
- License
- MIT
Go 코드를 작성·리뷰·리팩터링하거나 에러 처리, 동시성, 테스트, net/http 서버, go:embed 를 다룰 때 사용한다. Go 1.22+ 기준.
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-go-expert
Go 코드가 대상이다. SQL·스키마는 `yd-db-expert` 와 엔진별 스킬(`yd-pg-expert`·`yd-oracle-expert`·`yd-sqlite-expert`),
프론트 산출물 내장의 빌드 순서는 `yd-frontend-build` 가 맡는다.
이 문서는 **일반론을 적지 않는다.** 판단이 갈리는 지점, 자주 틀리는 곳, 최근 버전에서
바뀐 것만 담는다.
## 1. 에러
- **감싸서 올린다.** `fmt.Errorf("%s 열기 실패: %w", path, err)` — `%w` 여야
`errors.Is`/`errors.As` 가 통한다. `%v` 로 감싸면 사슬이 끊긴다.
- **호출부가 분기해야 하는 실패는 센티널로 노출한다.** `var ErrNotFound = errors.New(...)`.
문자열 비교로 분기하지 않는다.
- 메시지는 소문자로 시작하고 마침표를 붙이지 않는다. 한국어 메시지도 문장부호 없이 짧게.
- **로그와 반환을 동시에 하지 않는다.** 둘 다 하면 같은 실패가 여러 번 기록된다.
최상위(핸들러·main)에서 한 번만 기록한다.
- `panic` 은 프로그래머 오류에만. 입력이 잘못된 것은 에러다.
- **error 자리에 nil 포인터를 돌려주지 않는다(typed nil).** `var e *MyErr; return e` 는
호출부에서 `err != nil` 이 **참**이다. 인터페이스 값에 타입 정보가 남기 때문이다.
실패가 없으면 리터럴 `nil` 을 반환한다.
```go
if errors.Is(err, chatdb.ErrNotFound) { ... } // 분기
var perr *fs.PathError
if errors.As(err, &perr) { ... } // 타입 정보가 필요할 때
```
Go 1.26+ 는 `errors.AsType` 으로 변수 선언 없이 꺼낸다. `go.mod` 의 `go` 버전이 1.26 미만이면 `errors.As` 를 쓴다.
`go vet` 는 `go.mod` 보다 새로운 표준 라이브러리 API 를 쓰면 `requires go1.26 or later` 로 잡는다. 완료 조건의 `go vet` 가 그 확인을 겸한다.
```go
…Read the whole file at its exact version.
How to install
mdr add leeyudok/agents-scaffold/yd-go-expert@sha256:ae4905eff357cda7The line at the top of this page pins the label git:20261024.c5b81d9, 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_sba5wajm3p22vyey)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 24, 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 (9803 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/agents-scaffold · 36 stars · license MIT · pushed 2026-10-25 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_sba5wajm3p22vyey GET https://markdownregistry.com/api/v1/resolve?ref=leeyudok/agents-scaffold/yd-go-expert GET https://markdownregistry.com/api/v1/blob/ae4905eff357cda74e743c62620099f8ae4bbacf6973108877d5cc59b39e9dc4
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/agents-scaffold
Every file in leeyudok/agents-scaffold