engram-testing-coverage

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

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "engram-testing-coverage" with this command: npx skills add gentleman-programming/engram/gentleman-programming-engram-engram-testing-coverage

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.

Validation Commands

Run:

go test ./...
go test -cover ./...

Report package coverage and total coverage in the PR.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

engram-memory-protocol

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

gentleman-bubbletea

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

engram-pr-review-deep

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

engram-plugin-thin

No summary provided by upstream source.

Repository SourceNeeds Review