ocaml-coding SKILL.md skillA

ocaml-coding from jeong-sik/masc is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add jeong-sik/masc/ocaml-coding@git:20261022.fddba53

Pins git:20261022.fddba53 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
jeong-sik/masc
Path
.agents/skills/ocaml-coding/SKILL.md
Versions recorded
13
Latest version
git:20261022.fddba53, committed Oct 22, 2026
First version recorded
Sep 15, 2026
Size
12,064 bytes
Repository stars
4
License
MIT

masc 저장소에서 OCaml 5.5 + Eio 코드를 쓰기 전에 보는 점검표다. 오류를 Result 와 닫힌 합타입으로 다루는 법, 예외 잡기와 Eio 취소, fiber 예약 순서와 예약 반환·CAS·파일 교체·변경 검증, Mutex·Lazy 선택, 자원 정리(Switch.on_release 와 Fun.protect), 막히는 I/O 와 executor의 실제 worker 정리, .mli 먼저 고치기, 있을 거라고 착각하기 쉬운 표준 라이브러리 호출을 다룬다. lib/·bin/·test/ 의 .ml/.mli 를 새로 쓰거나 고칠 때 쓴다.

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

# masc OCaml 점검표

이 저장소는 OCaml 5.5 에 고정돼 있다(`dune-project` 의 `(ocaml (= 5.5.1))`).
표준 라이브러리와 Eio 의 사실은 공식 인터페이스로 확인한다.

- OCaml 매뉴얼: https://ocaml.org/manual/5.5/index.html
- API: `https://ocaml.org/manual/5.5/api/<Module>.html`
- Eio: opam 스위치의 `lib/eio/*.mli`, 또는 https://ocaml.org/p/eio/latest/doc/Eio/index.html

규칙의 원본은 `docs/constitution.xml` 이다. 이 문서와 헌법이 다르면 헌법이 맞다.

이 점검표에는 여러 기능에 두루 통하는 OCaml·Eio 규칙만 둔다. 한 기능의 설계와 경계는
그 모듈의 `.mli` 에 적는다. 본문이 `Common.max_tool_result_wire_bytes` 를 넘으면
Skill 카탈로그가 이 Skill 을 통째로 빼서 모든 Keeper 가 읽지 못한다.

## 1. 상태와 오류는 닫힌 합타입

- 서로 배타적인 상태·판정·오류는 variant 로 쓴다. 문자열이나 부분 문자열을 비교해 다음 동작을
  고르지 않는다(헌법 `string_matching`). `String.starts_with ~prefix:"..."` 로 분기하고 싶어지면
  그 값을 만드는 쪽에 생성자를 하나 더 둔다.
- 파서는 모르는 입력에 `None` 이나 `Error` 를 준다. 편한 기본값으로 눌러 담지 않는다.
- `match` 는 경우를 다 적는다. 새 생성자를 넣었을 때 컴파일러가 빠진 자리를 알려 주게 한다.
  상태 전이표에 `| _ -> false` 를 두면 새 상태의 전이가 빠져도 컴파일된다.
- 실패할 수 있는 계산은 `Result` 로 돌려준다.

  ```ocaml
  let ( let* ) = Result.bind

  let process input =
    let* parsed = parse input in
    let* computed = compute parsed in
    Ok (render computed)
  ```

- `failwith "not implemented"` 같은 자리 채움을 두지 않는다. 컴파일은 되고 실행하면 터진다.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jeong-sik/masc/ocaml-coding@sha256:20673fae2cc09128

The line at the top of this page pins the label git:20261022.fddba53, 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_ptnsup3jnqswcd62.svg)](https://markdownregistry.com/a/art_ptnsup3jnqswcd62)

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

Versions

The registry has recorded 13 versions of this file, between Sep 15, 2026 and Oct 22, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
git:20261022.fddba53 latest2026-10-22 fddba53 12,064 BA view · diff
git:20261021.75b1cd32026-10-21 75b1cd3 24,005 BA view · diff
git:20261021.7de4ae92026-10-21 7de4ae9 23,339 BA view · diff
git:20261021.b50a67d2026-10-21 b50a67d 22,583 BA view · diff
git:20261021.2be4ce92026-10-21 2be4ce9 21,879 BA view · diff
git:20261019.4450d702026-10-19 4450d70 17,927 BA view · diff
git:20261019.0d9bc2c2026-10-19 0d9bc2c 17,189 BA view · diff
git:20261019.dccc4ec2026-10-19 dccc4ec 17,510 BA view · diff
git:20261019.5d1754a2026-10-19 5d1754a 16,391 BA view · diff
git:20261019.f9159252026-10-19 f915925 16,731 BA view · diff
git:20261016.2baa2572026-10-16 2baa257 10,012 BA view · diff
git:20260930.3e22dc22026-09-30 3e22dc2 9,979 BA view · diff
git:20260915.1aca47d2026-09-15 1aca47d 11,428 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 (12064 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

jeong-sik/masc · 4 stars · license MIT · pushed 2026-11-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ptnsup3jnqswcd62
GET https://markdownregistry.com/api/v1/resolve?ref=jeong-sik/masc/ocaml-coding
GET https://markdownregistry.com/api/v1/blob/20673fae2cc09128004157d41527f5febede7588a7b7e9ca257cbc7d246b1754

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 jeong-sik/masc

masc-pr-patrol SKILL.md skill
jeong-sik/masc · .agents/skills/masc-pr-patrol/SKILL.md · MASC 스택 PR의 현재 head를 읽고 기능·논리·코드 청결도를 리뷰한다. 일반 PR은 source review, Release/Tag는 명시적 Full CI 증거로 판단한다.
git:20261102.45b7421 · audit A · 4 stars
tui-chat-design SKILL.md skill
jeong-sik/masc · .agents/skills/tui-chat-design/SKILL.md · MASC TUI의 채팅·입력·Ask/승인·원본 요청/Task/검증 증거·로딩 가시성을 바꿀 때 쓴다. 비동기·공유 조회의 부분/종단 수신과 마지막 관측, workspace/ticket 소유권·입력…
git:20261029.3b76f09 · audit A · 4 stars
AGENTS.md AGENTS.md file
jeong-sik/masc · AGENTS.md
git:20261026.1858fa0 · audit A · 4 stars
browser-automation SKILL.md skill
jeong-sik/masc · addons/browser/automation/skills/browser-automation/SKILL.md · Use the owned Gecko automation browser for locate observations, uploads and downloads.
git:20261027.4fe0239 · audit A · 4 stars
browser-ego SKILL.md skill
jeong-sik/masc · addons/browser/ego/skills/browser-ego/SKILL.md · Observe and operate an ego lite task space through its snapshots, refs and native workflows.
git:20261102.1a4b9a8 · audit A · 4 stars
browser-stagehand SKILL.md skill
jeong-sik/masc · addons/browser/stagehand/skills/browser-stagehand/SKILL.md · Use the owned Stagehand Chrome for model-backed act and extract instructions.
git:20261027.4fe0239 · audit A · 4 stars
dos-play SKILL.md skill
jeong-sik/masc · addons/dos-machine/skills/dos-play/SKILL.md · Play the shared DOS machine with other Keepers — controller handoff, reading VGA screens through PNG images, choosing…
git:20261027.fbf2f55 · audit A · 4 stars
sangokushi-3-end-month SKILL.md skill
jeong-sik/masc · addons/dos-machine/skills/sangokushi-3-end-month/SKILL.md · Attempts the observed 삼국지 III end-month sequence (0, enter, y) and returns the resulting PNG. Use only while holding…
git:20261101.23641a1 · audit A · 4 stars
sangokushi-3 SKILL.md skill
jeong-sik/masc · addons/dos-machine/skills/sangokushi-3/SKILL.md · 삼국지 III (Koei 1993, Korean) on the shared DOS machine: boot with KOEI.COM, the copy-protection code, the numbered…
git:20261027.fbf2f55 · audit A · 4 stars
dos-observe SKILL.md skill
jeong-sik/masc · addons/dos-world/skills/dos-observe/SKILL.md · Read the DOS world's counter, captured screen, action receipt and incarnation before deciding whether another input is…
git:20260912.adbe357 · audit A · 4 stars
frame-progress SKILL.md skill
jeong-sik/masc · addons/frame-progress/skills/frame-progress/SKILL.md · Interpret MSX observed frame progress rows and select their two original capture references without confusing frames…
git:20260912.eac50a4 · audit A · 4 stars
msx-observe SKILL.md skill
jeong-sik/masc · addons/msx-machine/skills/msx-observe/SKILL.md · Read the current MSX screen from the attached machine's PNG and preserve its frame identity when identifying prompts…
git:20261009.17e9bb6 · audit A · 4 stars

Every file in jeong-sik/masc

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