Agent skill

Cohesion Over Testability

by EpicenterHQ in EpicenterHQ/epicenter

Collapse test-shaped production boundaries while preserving behavior and coverage.

Custom licenceAuto-check passedTesting & QA

Install Cohesion Over Testability

skills CLI
$ npx skills add EpicenterHQ/epicenter --skill cohesion-over-testability -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install EpicenterHQ/epicenter cohesion-over-testability --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/EpicenterHQ/epicenter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/cohesion-over-testability .claude/skills/cohesion-over-testability && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cohesion-over-testability
GitHub stars
4.8k
Token cost
~2k tokens
SKILL.md length
1,046 words
Files
2 (incl. references)
Skills in repo
65
Repo updated
First seen
Licence
Custom licence

At a glance

Collapse test-shaped production boundaries while preserving behavior and coverage.

  • Works in 3 steps: The split: production code is in two… → The seam: the inner takes injected… → The test: a unit test calls the inner…
  • Injected dependency
  • SKILL.md covers References, The Signal vs The Reason, The Procedure and When NOT to Inline, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Cohesion Over Testability is an agent skill from EpicenterHQ/epicenter. Collapse test-shaped production boundaries while preserving behavior and coverage. Use when a helper, wrapper, injected dependency, or export exists mainly to let a unit test reach internals.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/sweep-procedure.md`).

It sits in Testing & QA, covering Unit testing. The repository describes itself as: Open-source, local-first apps.

When your agent uses it

  • Injected dependency
  • Export exists mainly to let a unit test reach internals

Example prompts

  • “/cohesion-over-testability”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. The split: production code is in two pieces.
  2. The seam: the inner takes injected dependencies.
  3. The test: a unit test calls the inner with fakes.

What it can do on your machine

Read from SKILL.md and the folder at commit 9cc65c3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cohesion Over Testability loads about 2k tokens when it runs, and up to ~4.4k if it reads all its reference files. Until then it costs about 54 tokens; SKILL.md has 1,046 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~54
When it runs · the whole SKILL.md, loaded when a task matches
~2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,046 words (~2,048 tokens).

“A unit test is supposed to verify production code. Sometimes the relationship inverts: the test reaches for an invariant the natural API won't surface, so the production code is split into a "pure inner" and a "thin outer", with the…”

— opening of SKILL.md by EpicenterHQ, Custom licence
name
cohesion-over-testability
metadata.author
epicenter
metadata.version
1.0

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in .agents/skills/cohesion-over-testability of EpicenterHQ/epicenter.

  • SKILL.md
  • references/sweep-procedure.md

Open the folder on GitHubat commit 9cc65c3

Compare with similar skills

Cohesion Over Testability next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cohesion Over Testability compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cohesion Over Testability this skillEpicenterHQ/epicenter4.8k—~2kAutomated safety check: PassCustom licence
TDD WorkflowhellangleZ/burn-in-cceverywhere-ralph11211 repos~2.4kAutomated safety check: PassNone
Testing OpenLogi UIAprilNEA/OpenLogi23k—~1.1kAutomated safety check: PassApache-2.0
Go Testingcxuu/golang-skills1701 repos~1.3kAutomated safety check: PassApache-2.0
Contractssamchon/nestia2.2k—~1.3kAutomated safety check: PassMIT
JS-in-HTML Testingliaohch3/claude-tap3.3k—~924Automated safety check: PassMIT

Similar skills

  • TDD Workflow

    hellangleZ/burn-in-cceverywhere-ralph

    A skill your agent uses when writing new features, fixing bugs, or refactoring code.

    112 GitHub starsUsed in 11 repos~2.4k tokens
    Testing & QAAuto-check passed
  • Testing OpenLogi UI

    AprilNEA/OpenLogi

    Verifies OpenLogi's native GPUI interface with focused tests, the component gallery and a mock agent, choosing the evidence that fits each change.

    23k GitHub stars~1.1k tokensUpdated 5 days ago
    Testing & QAAuto-check passed
  • Go Testing

    cxuu/golang-skills

    A skill your agent uses when writing, reviewing, or improving Go test code — including table-driven tests, subtests, parallel tests, test helpers, test doubles, and assertions with cmp.Diff.

    170 GitHub starsUsed in 1 repo~1.3k tokens
    Testing & QAAuto-check passed
  • Contracts

    samchon/nestia

    Defines self-acknowledgments for production declarations and tests.

    2.2k GitHub stars~1.3k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • JS-in-HTML Testing

    liaohch3/claude-tap

    Tests JavaScript embedded in an HTML file in two layers: pytest checks of the logic ported to Python, and Playwright runs in a real browser for the DOM.

    3.3k GitHub stars~924 tokensUpdated 16 days ago
    Testing & QAAuto-check passed
  • Testing

    owent/libatbus

    A skill your agent uses when: designing, writing, reviewing, or running libatbus unit tests, filtering private-framework cases, testing topology/channel behavior, or diagnosing Windows test…

    235 GitHub stars~1k tokensUpdated 28 days ago
    Testing & QAAuto-check passed

More from EpicenterHQ/epicenter

All 65 skills in this repo
  • Agent Instructions

    EpicenterHQ/epicenter

    Write and maintain repository guidance across AGENTS.md, CLAUDE.md, and .agents/skills.

    4.8k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Consult Claude

    EpicenterHQ/epicenter

    Assign Claude Code a read-only investigation, recommendation, or finished text draft.

    4.8k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Better Auth security hardening: rate limits, secrets, CSRF, trusted origins, cookies, sessions, OAuth tokens, and audit logging.

    4.8k GitHub stars~896 tokensUpdated yesterday
    Auto-check passed
  • Collapse Pass

    EpicenterHQ/epicenter

    Remove indirection that does not earn its boundary across a diff or package.

    4.8k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Error Handling

    EpicenterHQ/epicenter

    Apply Wellcrafted Result patterns to fallible operations and preserve failures at boundaries.

    4.8k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Factory Function Composition

    EpicenterHQ/epicenter

    Factory function patterns to compose clients and services. An agent skill from EpicenterHQ/epicenter.

    4.8k GitHub stars~3k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Cohesion Over Testability

What does Cohesion Over Testability do?

Collapse test-shaped production boundaries while preserving behavior and coverage. Cohesion Over Testability is an agent skill from EpicenterHQ/epicenter. Collapse test-shaped production boundaries while preserving behavior and coverage.

When should I use Cohesion Over Testability?

Cohesion Over Testability fits situations like: injected dependency; export exists mainly to let a unit test reach internals.

How do I install Cohesion Over Testability in Claude Code?

Run `npx skills add EpicenterHQ/epicenter --skill cohesion-over-testability -a claude-code`. Or copy the skill folder (.agents/skills/cohesion-over-testability in EpicenterHQ/epicenter) into .claude/skills/cohesion-over-testability in your project. Claude Code loads it when a task matches its description.

How do I install Cohesion Over Testability in Codex?

Run `npx skills add EpicenterHQ/epicenter --skill cohesion-over-testability -a codex`. Or copy the skill folder (.agents/skills/cohesion-over-testability in EpicenterHQ/epicenter) into .agents/skills/cohesion-over-testability in your project. Codex loads it when a task matches its description.

Can I use Cohesion Over Testability in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add EpicenterHQ/epicenter --skill cohesion-over-testability -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cohesion-over-testability, .gemini/skills/cohesion-over-testability, .github/skills/cohesion-over-testability and .opencode/skills/cohesion-over-testability in your project.

What does Cohesion Over Testability need to run?

SKILL.md names no scripts, command-line tools or credentials: Cohesion Over Testability is instructions for the agent only.

Does Cohesion Over Testability access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cohesion Over Testability safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cohesion Over Testability use?

Cohesion Over Testability has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Cohesion Over Testability use?

About 2k tokens (SKILL.md is roughly 8.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.4k tokens, read only when the agent opens those files.

What are the alternatives to Cohesion Over Testability?

Skills that share tags, products or a category with Cohesion Over Testability: TDD Workflow (hellangleZ/burn-in-cceverywhere-ralph, 112 stars), Testing OpenLogi UI (AprilNEA/OpenLogi, 23k stars), Go Testing (cxuu/golang-skills, 170 stars) and Contracts (samchon/nestia, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cohesion Over Testability?

EpicenterHQ (a GitHub organization) maintains it in EpicenterHQ/epicenter, which has 4,819 GitHub stars. The repository holds 65 skills in this directory. The repository was last updated on October 8, 2026.

Source: EpicenterHQ/epicenter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.