Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/CodySwannGT/expostarter --skill lisa-codify-verification명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | lisa-codify-verification |
| description | Convert empirical verification… |
| allowed-tools | ["Bash","Read","Edit","Write","Glob","Grep","Skill"] |
Take the empirical verification that just passed and encode it as an automated regression test. The manual proof becomes a repeatable check that catches future regressions.
This skill is invoked from the verification lifecycle (between Execute and Spec Conformance) and from each work-type sub-flow (Build / Fix / Improve) after the local verification step.
Invoke once per empirical verification that produced PASS evidence. If a single change had three verifications (UI flow, API endpoint, DB query), this skill runs three times — or once with the three verifications batched, but each must produce its own committed test.
Skip codification only for verification types whose proof is inherently non-behavioral:
For every other verification type, codification is mandatory. If the codification is not possible (e.g., the test framework doesn't exist and can't be installed in scope), escalate via the lifecycle's Escalation Protocol — do not silently skip.
The caller must provide:
If any of these are missing, ask the caller before generating a test — a test built on guesswork will not match the verification it claims to encode.
Before creating anything new, find what the project already has. Use the Tool Discovery Process from verification-lifecycle. Specifically check for:
playwright.config.*, cypress.config.*, e2e/ directory, tests/e2e/, Playwright/Cypress in package.json devDependenciestests/integration/, spec/, test/integration/, supertest/fetch helpers, Vitest/Jest integration configsbenchmarks/, bench/), vitest bench, k6 scriptsDo NOT install a new framework if one already exists for the verification type. Use what's there.
| Verification type | Preferred framework (use whichever the project already has) |
|---|---|
| UI (web) | Playwright > Cypress > Selenium |
| UI (mobile) | Maestro > Detox > Playwright (mobile emulation) |
| API | project's integration test runner (Vitest / Jest / RSpec / pytest) with HTTP client (supertest / fetch / faraday) |
| Database | integration test with real DB + migrations applied |
| Auth | API or UI test asserting role-gated access (multi-role coverage) |
| Security | regression test that reproduces the attack and asserts safe handling |
| Performance | benchmark in the project's bench harness, asserting against the baseline captured in the verification |
| Background Jobs | integration test that enqueues, drains the queue, and asserts terminal state |
| Cache | integration test asserting hit/miss/invalidation behavior |
| Configuration | integration test that loads config and asserts effect |
| Email/Notification | test capturing outbound message via project's mailer test mode |
| Observability | test asserting structured log/metric/trace emission |
| Infrastructure | test or script asserting infra state (terraform plan diff, CDK snapshot test) |
If the project lacks the preferred framework AND no acceptable substitute exists, escalate.
The generated test must:
displays order confirmation after checkout not fixes PROJ-1234.For Playwright UI tests specifically:
test fixture / page fixture / auth helper if one existsgetByRole, getByText) over CSS/XPath — they survive markup churnConcrete verification (UAT) contract. Verification is UAT — codifying it is
how the playthrough becomes durable. For a runtime/behavioral feat/fix: place
the codified test where the project's e2e/Playwright tests live (tests/e2e/**)
so CI re-runs it, and commit the evidence artifact to evidence/<ticket>/
(verdict.json + state + screenshots). For a Phaser game, drive the canvas
through the in-game verification test bridge (seed RNG, read state, inject input,
step frames) with deterministic rendering. CI's verification-coverage check
requires a verification-spec delta on every behavioral change. See the
reference/verification.md "Making verification concrete (UAT)" section.
Run only the new test, using whatever per-test invocation the project supports:
npx playwright test path/to/new.spec.tsnpx vitest run path/to/new.spec.tsnpx jest path/to/new.test.tsbundle exec rspec path/to/new_spec.rbConfirm:
For a bug fix, step 2 is mandatory and easy: check out the failing commit, run the new test, see it fail, return to the fix branch. This proves the test actually guards the regression.
Confirm the test is picked up by the project's standard test command (the one CI runs). Run that command and confirm the count went up by exactly the number of tests added.
If the test is in a directory the standard test command excludes (e.g., E2E suite that runs separately in CI), confirm the appropriate CI workflow includes it.
Commit the test in the same PR as the change it codifies, in its own atomic commit:
test: add e2e for <behavior>test: add regression test for <bug behavior>test: add benchmark asserting <metric> <baseline>The commit message body should reference the verification it encodes (one line linking to the proof artifact or the verification report section).
Append to the verification report (or PR description):
### Codified Verifications
| # | Verification | Framework | Test file | Status |
|---|--------------|-----------|-----------|--------|
| 1 | <description> | Playwright | `e2e/checkout.spec.ts::displays order confirmation after checkout` | PASS |
This evidence shows the verification is now guarded.
For each empirical verification passed in:
If codification was skipped, an explicit reason recorded in the report (one of the skip conditions above) — never silent.
.skip() the new test "temporarily" to make CI green — fix the test or fix the underlying changeexpect(true).toBe(true) placeholders or smoke-only assertions that don't actually exercise the verified behavior