Community코딩 & 개발github.com

테스트 감사

새로운 테스트 작성/변경/검토/정리: 중복되거나 구현에 결합된 증명을 거부하고, 테스트 전용 프로덕션 접합부를 제거합니다.

테스트 감사란 무엇인가요?

이 스킬은 AI 에이전트가 테스트 스위트에 대해 체계적인 감사를 수행할 수 있도록 설계된 지침 모음입니다. '테스트 감사' 스킬은 새로운 테스트를 추가하기 전에 저자 게이트를 적용하여 각 테스트가 보호된 관찰 가능한 동작, 불변 조건 또는 독립적인 계약을 검증하는지 확인합니다. 또한 중복되거나 낮은 가치의 증명(자체 비교, 구현 세부 사항 복사, 테스트 전용 프로덕션 접합 등)을 제거하는 감사 프로세스를 정의합니다. 이 스킬은 모든 AI 코딩 에이전트(Claude Code, Codex, Cursor 등)에 중립적으로 적용할 수 있는 마크다운 명세로 제공됩니다. 주요 메커니즘으로는 저자 게이트, 정크 패턴 식별, 유지 기준, 감사 편집 전 필수 검증 절차가 있습니다. 사용자는 CAMPAIGN.md를 먼저 읽고, 전신 감사 캠페인을 수행할 수 있습니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/.agents/skills/test-audit

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

테스트 감사은(는) 무엇을 하나요?

  • 저자 게이트: 모든 새롭거나 변경된 테스트를 심사합니다.
  • 감사: 일관된 소유자 배치 단위로 낮은 가치의 증명을 제거합니다. 삭제 개수를 쫓지 마십시오.
  • 전체 서브시스템 캠페인: 먼저 CAMPAIGN.md를 읽으십시오.

저자 게이트

테스트를 추가하기 전에 다음 질문에 답하십시오:

  1. 보호된 관찰 가능 동작, 불변 조건 또는 독립 계약입니까?
  2. 실패하게 만드는 신뢰할 수 있는 회귀 테스트입니까?
  3. 기존 증명이 왜 이를 놓쳤습니까? 각 계약에는 가장 강력한 경계에 하나의 기본 소유자가 있습니다. 다른 계층은 별도의 전송/수명 주기 위험이 필요합니다. 테이블/공유 픽스처를 확장하고, 반복된 설정을 통합하십시오.
  4. 프로덕션 호출자가 없는 익스포트, 플래그, 래퍼, 주입 훅이 필요합니까? 대신 실제 경계로 증명을 이동하십시오.
  • 경계 및 비용 가이드를 사용하십시오.
  • 회귀 테스트는 수정 전에는 의도된 이유로 실패하고, 수리 후에는 통과해야 합니다. 사용할 수 없는 기준 증명을 보고하십시오.
  • 하나의 소유자 회귀 테스트가 버그를 커버합니다. 모든 교차 계층에서 재생하지 마십시오.
  • 동작을 보존하는 리팩터링은 테스트를 깨뜨리지 않아야 합니다.

정크 패턴

  • 자체 비교, 복사된 인벤토리, 소스 그렙, 구현/호출 형태 단언, 중복 계약, 테스트 전용 접합부, 피험자가 생성한 기대값, 단언된 동작을 제공하는 목을 거부하십시오.
  • 픽스처는 소유자 영수증/주문을 조작하거나, 실제로 쓰지 않는 영속성 경로를 주장해서는 안 됩니다.
  • 부정 제어는 의도된 가드에서 실패해야 하며, 이름은 실행된 동작과 일치해야 합니다.
  • 감사 후보: 전체 체크리스트를 사용하십시오.

유지 기준

  • 독립 API, SDK, 프로토콜, 구성, 마이그레이션, 저장소, 보안, 플랫폼, 기본값, 프롬프트-바이트, 생성 언어, 패키지, 릴리스, 아키텍처, 관찰 가능 순서 계약을 유지하십시오. 정적/느리다고 해서 폐기 가능한 것은 아닙니다.
  • 소스 검사는 식별자 전용 리팩터링과 독립적인 사용자 대면 계약을 보호할 수 있어야 합니다.
  • 기준 실패는 삭제할 테스트가 아니라 수리해야 할 버그일 수 있습니다.

감사 및 검증

  • 감사 편집 전: 후보 증거 및 워크플로를 읽고, 전체 소유자/호출자/이력을 검사하고, 삭제 전에 남은 증명을 기록하십시오.
  • 테스트와 함께 쓸모없는 프로덕션 접합부를 삭제하십시오. 삭제 개수를 최적화하지 마십시오.
  • 증명 정책을 따르고, 활성 Vitest 체크아웃을 보존하며, 소유자/형제 증명 + 변경된 검사를 실행한 다음 자동 검토를 수행하십시오.
  • 원인, 유지된 계약, 증명/비용, 프로덕션 대비 테스트 LOC, 후속 조치를 보고하십시오. 작업 권한이 있을 때만 커밋/푸시/랜딩하십시오.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

관련 스킬