yd-sqlite-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-sqlite-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-sqlite-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-sqlite-expert/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261024.c5b81d9, committed Oct 24, 2026
- Size
- 8,904 bytes
- Repository stars
- 38
- License
- MIT
SQLite 파일을 직접 읽고 쓰거나, 읽기 전용 조회·WAL·잠금·마이그레이션·동적 테이블명 주입 같은 SQLite 고유 문제를 다룰 때 사용한다. 스키마 설계 일반은 yd-db-expert, PostgreSQL 고유 주제는 yd-pg-expert 를 쓴다.
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-sqlite-expert SQLite **엔진 고유의 문제**가 대상이다. 스키마 설계 이론은 `yd-db-expert`, PostgreSQL 은 `yd-pg-expert`, Go 코드 관용구는 `yd-go-expert` 가 맡는다. SQLite 는 "작은 RDB"가 아니라 **파일 하나가 데이터베이스인 라이브러리**다. 서버가 없다는 사실에서 이 문서의 거의 모든 항목이 파생된다. ## 1. 남의 파일을 읽을 때 — 원본을 바꾸지 않는다 앱이 쓰고 있는 캐시·데이터 파일을 조회하는 작업이 흔하다. **원본을 건드리면 그 앱의 데이터가 깨진다.** 기본은 읽기 전용이다. ```go dsn := "file:" + path + "?mode=ro&_pragma=busy_timeout(5000)" ``` - **`mode=ro`** — 쓰기를 엔진 수준에서 막는다. 애플리케이션 규율에 기대지 않는다. - **`busy_timeout`** — 다른 프로세스가 쓰는 중이면 즉시 실패하지 않고 기다린다. 없으면 산발적인 `database is locked` 로 나타난다. - **URI 파일명에서 `?`·`#` 은 구분자다.** 경로에 들어 있으면 퍼센트 인코딩한다. 그냥 이어붙이면 `?` 앞까지를 경로로 읽어 **엉뚱한 빈 파일을 새로 만들고, 뒤의 `mode=ro` 도 무시된다.** 오류는 `no such table` 로만 나온다. ### 곁 파일까지 확인한다 읽기만 해도 `-wal`·`-shm`·`-journal` 이 생기면 **원본 폴더를 오염시킨 것**이다. 롤백 저널 DB 는 `mode=ro` 로 조회해도 곁 파일이 생기지 않는다. **WAL 모드 DB 는 `mode=ro` 만으로 안 된다.** 곁 파일이 없는 WAL DB 를 `mode=ro` 로 열면 SQLite 3.51.0 은 열기 자체가 `unable to open database file` 로 실패하고, 3.53.4 는 열리지만 `-wal`·`-shm` 을 만든다 (2026-10-04 실측). 읽기·쓰기 모드로 열면 조회만 해도 둘 다 생긴다. 정말 건드리면 안 되는 파일은 `immutable=1` 을 고려한다. 곁 파일 없이 읽힌다. 다만 이건 "파일이 변하지 않는다"는 약속이므로 앱이 쓰는 중이면 쓰지 않는다. **가장 안전한 순서**: 사본을 떠서 사본을 연다. WAL DB 의 사본은 본 파일만으로는 모자란다 …
Read the whole file at its exact version.
How to install
mdr add leeyudok/agents-scaffold/yd-sqlite-expert@sha256:6d0d0629164edd3cThe 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_myp6wl3bith472r2)
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 (8904 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 · 38 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_myp6wl3bith472r2 GET https://markdownregistry.com/api/v1/resolve?ref=leeyudok/agents-scaffold/yd-sqlite-expert GET https://markdownregistry.com/api/v1/blob/6d0d0629164edd3cd5f667d7349d58aafe978c7a300c63d85beaaee02d8b4ef6
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