본문으로 건너뛰기
cccskills
무료GitHub에 공개

cdp

Visual verification of a running page through Chrome's DevTools Protocol, capturing screenshots and measuring the rendered DOM. Use when a frontend change can only be confirmed once rendered, for layout, spacing, alignment, overflow, or theme tokens.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wellwelwel/lagune스타 173(GitHub 173 + cccskills 0)
연동 도구Playwright

실행 점수 미검증

설치 방법 보기

포함된 파일(2)

  • SKILL.md2.9 KB
  • tools/cdp.ts6.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Rendered result verification

This skill owns the verification of what the browser actually renders. It drives a running page through Chrome's built-in DevTools Protocol (CDP) to inspect the DOM, computed styles, and layout, and to capture screenshots. It works against any URL, whatever app or domain is serving it.

Measure, never eyeball

For any spacing or alignment claim, measure the rendered DOM and report the numbers. Read geometry off the elements themselves, for example the box between an element and its container's edges, and state the values you found. A screenshot that looks aligned is not evidence.

When to use it

Reach for it when a change is hard to verify from the source alone: layout, spacing, alignment, overflow, theme tokens, or anything that only shows up once rendered. Skip it for simple, self-evident edits, for example adding a shadow, where the result is obvious from the diff.

Dependencies

The helper needs playwright and tsx. Check each with npm ls <package>, install whatever is missing as a development dependency with the package manager the root lockfile points to, then fetch the pinned browser with npx playwright install chromium.

Running it

The helper ships with this skill, at tools/cdp.ts next to this file. Run it from the project root under npx tsx, pointing at wherever the skill is installed, and write the PNGs to a directory the project ignores in git.

npx tsx <path-to-this-skill>/tools/cdp.ts --out ./temp/shots --shot 'label|<url>'
FlagPurpose
--shot 'label|url'One capture, repeatable. The label names the PNG
--measure <expr>Expression evaluated on every shot, its value printed with the shot
--out <dir>Where the PNGs are written
--attach <port>Reuse a Chromium already exposing a CDP endpoint
--width, --height, --scaleViewport and device pixel ratio
--settle <ms>Wait after load before measuring and capturing

Put any query params the page supports, a forced theme, a route, or a flag, straight in the URL. Take the same shot before and after a change when the point is the difference between them.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Authoritative architecture reference for Lagune, covering repository layout, the three owners, the published skills, the catalog, the engine command and its fallback, and the tracking-map model. Use when a decision depends on repo shape.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wellwelwel/lagune1732026년 10월 26일 업데이트

dashboard

무료

Authoritative reference for the Lagune dashboard, a live view of a project's .lagune/ chain with a locked-down local action surface. Use before changing anything under src/dashboard/ or src/types/dashboard/.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wellwelwel/lagune1732026년 10월 26일 업데이트

Authoritative engineering reference covering code conventions, comments, TypeScript type rules, testing, and commit messages. Use before writing or changing any source file, and when suggesting a commit message.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wellwelwel/lagune1732026년 10월 26일 업데이트

lagune

무료

Do the work the prompt asks for, with security guarding the build as it happens. Loads the charter, matches the security knowledge the work touches, builds safe-by-default, then checks its own result against what it used.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wellwelwel/lagune1732026년 10월 26일 업데이트

Establish or update the project's security charter, the safe-by-default principles every later phase must respect. Reads the project's files to learn what it is and uses, weighs any description you give against them, and asks when something is unclear.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wellwelwel/lagune1732026년 10월 26일 업데이트

Detect what the system actually does by reading the code, and map the security-relevant findings (login, uploads, payments, data exposure, and so on) with the evidence later phases need. Scans the whole project, named files, or a focused scope.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

wellwelwel/lagune1732026년 10월 26일 업데이트

wellwelwel의 스킬 모두 보기

이 스킬의 문제 신고