yd-go-expert SKILL.md skillA

yd-go-expert from leeyudok/doksam-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add leeyudok/doksam-skills/yd-go-expert@git:20261004.6e1e1fe

Pins git:20261004.6e1e1fe 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-go-expert/SKILL.md
Versions recorded
3
Latest version
git:20261004.6e1e1fe, committed Oct 4, 2026
First version recorded
Oct 4, 2026
Size
9,795 bytes
Repository stars
14
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

The exact contents, by fingerprint
mdr add leeyudok/doksam-skills/yd-go-expert@sha256:ed5fcc6dc705a408

The line at the top of this page pins the label git:20261004.6e1e1fe, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_nhlajyqzz5v57uv6.svg)](https://markdownregistry.com/a/art_nhlajyqzz5v57uv6)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, all committed on Oct 4, 2026.

versioncommittedcommitsizeaudit
git:20261004.6e1e1fe latest2026-10-04 6e1e1fe 9,795 BA view · diff
git:20261004.3b82bdd2026-10-04 3b82bdd 8,668 BA view · diff
git:20261004.0d5ff502026-10-04 0d5ff50 6,608 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9795 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

GitHub

leeyudok/doksam-skills · 14 stars · license MIT · pushed 2026-10-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_nhlajyqzz5v57uv6
GET https://markdownregistry.com/api/v1/resolve?ref=leeyudok/doksam-skills/yd-go-expert
GET https://markdownregistry.com/api/v1/blob/ed5fcc6dc705a40863a13c9de5ddf59f487ceddf8fb9d8bbd61b8e0351be4a6c

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

AGENTS.md AGENTS.md file
leeyudok/doksam-skills · AGENTS.md
git:20261017.ec49e19 · audit A · 14 stars
yd-agents-mem SKILL.md skill
leeyudok/doksam-skills · skills/yd-agents-mem/SKILL.md · 에이전트 메모리·전역 지침·설정을 GitLab agents-mem 레포에 백업하고 되돌린다. 전역 CLAUDE.md·infra-*.md·ref-*.md·프로젝트 메모리·스킬·에이전트·settings 를 고친 뒤…
git:20261011.76a7b1a · audit A · 14 stars
yd-agents-yaml SKILL.md skill
leeyudok/doksam-skills · skills/yd-agents-yaml/SKILL.md · 저장소의 에이전트 지침을 사람용 AGENTS.md + 기계 판독용 AGENTS.yaml + 검증기 scripts/check-agents-yaml.sh 세 파일로 세팅하거나 갱신한다. AGENTS.yaml 이 없는…
git:20261011.76a7b1a · audit A · 14 stars
yd-blueprint SKILL.md skill
leeyudok/doksam-skills · skills/yd-blueprint/SKILL.md · 프로젝트의 구조·기록 흐름·구현 현황·남은 작업을 JSONL 데이터로 적고 bun+Vite+React 청사진 화면(localhost:5173/blueprint/)으로 띄운다. 청사진·구조도·구현 현황표를 만들거나…
git:20261011.fc9c4fb · audit A · 14 stars
yd-claude-auth-sync SKILL.md skill
leeyudok/doksam-skills · skills/yd-claude-auth-sync/SKILL.md · 한 PC 에서 claude login 으로 다시 인증한 Claude Code 로그인을, 사용자가 등록해 둔 다른 PC·서버에도 똑같이 맞춘다. 키체인·~/.claude/.credentials.json 의…
git:20261017.ec49e19 · audit B · 14 stars
yd-db-expert SKILL.md skill
leeyudok/doksam-skills · skills/yd-db-expert/SKILL.md · 엔진과 무관한 관계형 설계를 다룰 때 사용한다 — 스키마 정규화·키·NULL 의미·DB 제약·소프트 삭제·인덱스 선택 원칙·쿼리 규칙(N+1·플레이스홀더·커서 페이징)·트랜잭션 경계·마이그레이션 단계…
git:20261011.76a7b1a · audit A · 14 stars
yd-doc-sync SKILL.md skill
leeyudok/doksam-skills · skills/yd-doc-sync/SKILL.md · 문서 현행화(doc-sync) — 코드·구성이 바뀐 뒤(디렉터리 삭제·이동, 포트·명령·의존성 변경, 큰 리팩터링 머지) 에이전트 지침(AGENTS.md·CLAUDE.md)·README·규칙(.claude/rules…
git:20261011.980cdb2 · audit A · 14 stars
yd-doksam-ui SKILL.md skill
leeyudok/doksam-skills · skills/yd-doksam-ui/SKILL.md · doksam 프로젝트의 UI 를 만들거나 수정할 때, 사용자가 "ui.doksam.com 참고" / "doksam-ui" / "독삼 표준 UI" 라고 말할 때, 프론트엔드 작업이 doksam 인프라를 대상으로 할…
git:20261004.0d5ff50 · audit B · 14 stars
yd-finguard SKILL.md skill
leeyudok/doksam-skills · skills/yd-finguard/SKILL.md · FinGuard CLI로 소스코드 취약점을 점검하고 심각도 기반 보안 게이트와 제한된 수정·재검증 루프를 수행할 때 사용한다. 일반 코드 품질 리뷰나 SCA·모의해킹은 범위 밖이다.
git:20261004.0d5ff50 · audit A · 14 stars
yd-frontend-build SKILL.md skill
leeyudok/doksam-skills · skills/yd-frontend-build/SKILL.md · pnpm 워크스페이스와 Vite 빌드를 설정·정비하거나, 의존성·락파일·번들 크기·폐쇄망 self-host 문제를 다룰 때 사용한다. 프레임워크 자체의 코드 작성이 아니라 빌드/패키징 층이 대상이다.
git:20261004.c66a4ea · audit A · 14 stars
yd-git-ship SKILL.md skill
leeyudok/doksam-skills · skills/yd-git-ship/SKILL.md · GitLab 레포에 에이전트(Claude Code·Codex·Antigravity)가 작업을 올리는 절차 — 이슈 등록, batch/<agent>-<날짜>-<8자리 hex> 브랜치, "[<model>]…
git:20261011.76a7b1a · audit A · 14 stars
yd-git-sync SKILL.md skill
leeyudok/doksam-skills · skills/yd-git-sync/SKILL.md · 여러 호스트(맥·pig·doksam 등)에 클론해 둔 같은 저장소를 맞춘다 — 각 클론을 git pull --ff-only 로 origin 에 맞추고 추적 파일 수·목록 해시를 비교한 뒤, git 이 관리하지 않는…
git:20261015.6d4494b · audit A · 14 stars

Every file in leeyudok/doksam-skills

Other files named yd-go-expert

yd-go-expert SKILL.md skill
leeyudok/agents-scaffold · plugins/yd-skills/skills/yd-go-expert/SKILL.md · Go 코드를 작성·리뷰·리팩터링하거나 에러 처리, 동시성, 테스트, net/http 서버, go:embed 를 다룰 때 사용한다. Go 1.22+ 기준.
git:20261024.27d9360 · audit A · 36 stars
yd-go-expert SKILL.md skill
leeyudok/agents-scaffold · .claude/skills/yd-go-expert/SKILL.md · Go 코드를 작성·리뷰·리팩터링하거나 에러 처리, 동시성, 테스트, net/http 서버, go:embed 를 다룰 때 사용한다. Go 1.22+ 기준.
git:20261024.c5b81d9 · audit A · 36 stars

Browse by kind, by grade A, or by owner.