agentsclimarketplace

Cohesive

Skill recrsn/agent-skills/skills/cohesive

Check code modified in the current branch for cohesiveness, and execute refactorsFrom its SKILL.md

Install
npx -y skills add recrsn/agent-skills --skill cohesive

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 2 commands, including `git fetch origin` and 1 more.

SKILL.md

1.6 KB, 275 tokens by cl100k_base, as published. Nobody here has run it

Check the diff against origin/main, and review the changed code for cohesiveness. Run git fetch origin to make sure git context is up-to-date.

Here is the list of files changed in this branch: !git diff --name-only origin/main

For each changed file, read the full file and assess whether the modifications maintain or improve cohesion. Then execute refactors to fix any issues found.

What to look for

  • Functions/methods that handle multiple unrelated concerns
  • Classes that gained responsibilities outside their original purpose
  • Modules that mix abstraction levels (e.g., business logic interleaved with I/O)
  • Logic added to a file/module where it doesn't conceptually belong
  • New dependencies between modules that should be independent; functions reaching into other modules' internals; shared mutable state across boundaries
  • Related logic for a single feature scattered unnecessarily; duplicated logic that should be consolidated

Rules

  • Only refactor code touched by the branch diff — do not reorganize unrelated code
  • Preserve external behavior exactly; no functional changes
  • Follow existing project conventions for file organization and naming
  • Do not create new files unless a clear, existing organizational pattern calls for it
  • Run the project's linter/formatter after refactoring if one is configured

Report at the end with a brief summary of refactors performed.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.