Skip to main content

engram-testing-coverage

TDD and coverage standards for Engram. Trigger: When implementing behavior changes in any package.

소스 정보

저장소
Gentleman-Programming/engram
최근 소스 활동
2026년 9월 25일 17:40
감지된 SKILL.md 언어
영어
스타
7,608
포크
798

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
engram-testing-coverage
description
TDD and coverage standards for Engram. Trigger: When implementing behavior changes in any package.
license
Apache-2.0
metadata
{"author":"gentleman-programming","version":"1.0"}
## When to Use Use this skill when: - Adding new behavior - Fixing a bug - Refactoring logic with branch complexity --- ## TDD Loop 1. Write a failing test for the target behavior. 2. Implement the smallest code to pass. 3. Refactor while keeping tests green. 4. Add edge/error-path tests before closing. --- ## Coverage Rules - Cover happy path + error paths + edge cases. - Prefer deterministic tests over flaky integration paths. - Add seams only when branches are impossible to trigger naturally. - Keep runtime behavior unchanged when adding seams. --- ## Verification Ownership Verification is evidence about the candidate; CI is the automated execution venue, not a substitute for local focused evidence. - For behavior changes, run a focused regression test and tests for the affected package(s) locally before proposing the change. Report the commands and outcomes. - Use targeted coverage when useful to find missed behavior or branches. Do not require a numeric coverage target or total module coverage for every PR. - After the candidate is pushed to a PR, GitHub CI owns the full unit suite (`go test ./...`), E2E suite (`go test -tags e2e ./internal/server/...`), lint, and applicable platform checks. Do not report CI evidence until those checks actually run. - When there is no PR or the candidate is unpushed, or when risk justifies more verification, run the additional applicable checks locally. Report checks that could not run as missing evidence rather than claiming CI covered them. Avoid duplicating the broad suite locally by default when PR CI will run it.
GitHub에서 보기