Skip to main content

add-code-quality-hook

Recipe for wiring a new linter into Opik's unified ๐Ÿ™ Code Quality pipeline (pre-commit + CI). Use when adding a pre-commit-driven linter/formatter to the repo โ€” enumerates every file that must change (`.pre-commit-config.yaml`, `scripts/precommit-hook-descriptions.tsv`, `scripts/precommit-detect-hooks.py`, `CONTRIBUTING.md`), the non-obvious gotchas (mandatory explicit `files:`, the blank-description trap, `TOOLCHAIN_BY_ID`/`TYPED_IDS`), the retroactive fix-vs-suppress policy, and the pass/fail verification loop. Worked examples: actionlint (live) and hadolint (OPIK-6673).

์†Œ์Šค ์ •๋ณด

์ €์žฅ์†Œ
comet-ml/opik
์ตœ๊ทผ ์†Œ์Šค ํ™œ๋™
2026๋…„ 7์›” 7์ผ 08:24
๊ฐ์ง€๋œ SKILL.md ์–ธ์–ด
์˜์–ด
์Šคํƒ€
23,352
ํฌํฌ
1,947

์„ค์น˜ ๋ฐฉ๋ฒ•

๊ธฐ๋ณธ์ ์œผ๋กœ ์†Œ์Šค๋ฅผ ๋จผ์ € ํ™•์ธํ•˜๋Š” Prompt๊ฐ€ ์„ ํƒ๋ฉ๋‹ˆ๋‹ค. ์ง์ ‘ ๋ช…๋ น์œผ๋กœ ์ „ํ™˜ํ•˜๊ฑฐ๋‚˜ ๋กœ์ปฌ ์‚ฌ๋ณธ์„ ๋‹ค์šด๋กœ๋“œํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค.

์†Œ์Šค ํŒŒ์ผ ๊ฒ€ํ† 

์„ค์น˜ ์—ฌ๋ถ€๋ฅผ ๊ฒฐ์ •ํ•˜๊ธฐ ์ „์— SKILL.md์™€ SkillsMP์— ํ‘œ์‹œ๋œ ๋ณด์กฐ ํŒŒ์ผ์„ ์ฝ์–ด ๋ณด์„ธ์š”.

SKILL.md ํ‘œ์‹œ ์ค‘

SKILL.md
์†Œ์Šค ์ง€์นจ ยท ์ฝ๊ธฐ ์ „์šฉ ๋ฏธ๋ฆฌ๋ณด๊ธฐ
nameadd-code-quality-hook
descriptionRecipe for wiring a new linter into Opik's unified ๐Ÿ™ Code Quality pipeline (pre-commit + CI). Use when adding a pre-commit-driven linter/formatter to the repo โ€” enumerates every file that must change (`.pre-commit-config.yaml`, `scripts/precommit-hook-descriptions.tsv`, `scripts/precommit-detect-hooks.py`, `CONTRIBUTING.md`), the non-obvious gotchas (mandatory explicit `files:`, the blank-description trap, `TOOLCHAIN_BY_ID`/`TYPED_IDS`), the retroactive fix-vs-suppress policy, and the pass/fail verification loop. Worked examples: actionlint (live) and hadolint (OPIK-6673).