no-comments
하는 일
이 스킬은 변경 사항의 코드 주석을 정리해, 외부 시스템을 설명하는 주석만 남깁니다. 설명 없이도 이해되는 코드를 원하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓코드 변경에 실제 동작을 그대로 반복하는 주석이 있을 때.
- ✓변경 내용에 팀의 자체 코드를 변명하는 주석이 들어 있을 때.
- ✓일부 파일에서 불필요한 주석을 제거해 달라고 요청할 때.
스킬 링크
https://github.com/remotion-dev/remotion/blob/main/.agents/skills/no-comments/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 풀 리퀘스트에 코드가 하는 일을 그대로 반복하는 주석이 많습니다. 불필요한 것은 지우고 브라우저 버그에 대한 메모는 남겨 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 변경된 줄의 주석을 검토합니다. 팀의 자체 코드를 설명하는 주석은 삭제하고, 외부 시스템에 대한 메모와 eslint-disable 같은 지시문은 남깁니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
No comments
Delete comments that describe our own code. Code we own should explain itself through names, types, and structure. Keep a comment only when it documents something outside our control that a reader could not learn from our code.
Scope
Use the files or diff the user named. Otherwise use the current diff against
main, including staged, unstaged, and untracked changes:
git diff main...HEAD
git diff HEAD
git ls-files --others --exclude-standard
Only touch comments on lines added or modified in scope. Do not sweep untouched code in the same file.
Keep
A comment stays only if it is about an external system and is still accurate:
- Browser behavior: Chrome/Safari/Firefox quirks, WebCodecs, Canvas, CSS, layout, event ordering, autoplay policy, linked bug trackers.
- Media and tooling: FFmpeg, codecs, containers, Mediabunny, Chromium flags, Lambda/Cloud Run limits, Node.js, Bun, TypeScript compiler, bundler behavior.
- Third-party libraries and APIs: why we call them in an unusual way, links to upstream issues.
- OS, hardware, and spec constraints: file system, GPU, Linux/macOS/Windows differences, RFCs, W3C specs.
Also keep:
- Machine-read directives:
eslint-disable*,@ts-expect-error,@ts-ignore,/// <reference>,'use client',istanbul ignore,prettier-ignore,biome-ignore,@vitest-environment, shebangs, license headers. Still check that each suppression is needed; remove dead ones. - JSDoc on public exported APIs (it surfaces in editor tooltips).
@deprecatedtags (see thedeprecate-apiskill).- Comments in docs, MDX, and code snippets that are shown to users.
Delete
- Narration of what the next lines do (
// Get the frame,// Loop over tracks). - Restating names, types, or parameters.
- Explanations of our own architecture, data flow, or design choices.
- Defenses of workarounds for our own bugs. Fix the root cause in scope or leave the code uncommented.
IMPORTANT,do not remove,keep in sync with X,talk to Y firstnotes about our own code. If the constraint is real, offer to encode it (type, shared constant, test, lint) instead; delete the comment either way.- Commented-out code,
TODO/FIXMEwithout a linked issue, changelog-style notes (// Added in v4.0.x), and section dividers.
Mixed comments: keep only the external-system sentence and delete the rest.
If a comment hides a genuine surprise in our code, prefer a clearer name, extracted variable, or type over keeping the comment. Only reshape code when it is a trivial, local change; otherwise delete the comment and mention the surprise in the report.
Steps
Collect every comment in scope (
//,/* */, JSDoc, JSX{/* */},#in shell/YAML).Classify each as keep or delete using the rules above. When unsure whether a comment is about an external system, check: would this still be true if we rewrote our code? If yes, keep. If it only makes sense because of how we wrote something, delete.
Delete. Do not change behavior. Remove blank lines left behind that would break formatting.
Run formatting and lint on touched packages:
bunx turbo run lint --filter='<package-name>'Report: number of comments deleted, comments kept with a one-line reason each, any constraints offered for encoding, and any code surprises that deserve a follow-up.
자주 묻는 질문
어떤 주석이 남나요?
스킬은 브라우저 특이 동작, 코덱 동작, 제3자 API, 플랫폼 버그 같은 외부 시스템에 대한 주석을 남깁니다.
린트 지시문도 제거되나요?
아닙니다. 스킬에 따르면 eslint-disable, ts-expect-error 같은 기계가 읽는 지시문은 그대로 둡니다.
변경하지 않은 코드도 건드리나요?
아닙니다. 스킬은 범위 안에서 추가되거나 수정된 줄의 주석만 바꿉니다.
상세 정보
작성자의 원본 설명
Remove code comments that explain or defend Remotion's own code, keeping only comments about external systems we cannot change (browser quirks, codec/FFmpeg behavior, third-party APIs, OS or platform bugs). Use when the user invokes /no-comments or asks to strip unnecessary comments from a diff or files.
repo: remotion-dev/remotion
인기도
- GitHub 스타
- 70k
- 순위
- #3147
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
fix-root-cause
70k에이전트가 문제가 처음 어긋난 지점을 추적해, 임시방편으로 증상을 가리는 대신 그 지점을 고치도록 가르칩니다.
gh-stack
70k에이전트가 큰 작업을 연결된 브랜치와 풀 리퀘스트 스택으로 나누어, 검토자가 한 번에 작은 변경 층만 보도록 돕습니다.
issue-management
70k에이전트가 GitHub 이슈를 상위 이슈, 하위 이슈, 차단 관계로 연결하도록 돕습니다. 프로젝트 작업이 명확하게 정리되도록 합니다.
pr-ready
70k에이전트가 실패한 검사를 고치고 병합 충돌을 해결하며 로컬 변경을 푸시해서, 풀 리퀘스트를 병합 가능한 상태로 만들도록 돕습니다.