# similar-code

> Claude/Codex skill by [@gleanwork](https://omgskills.com/library/gleanwork/index.md) · 25 stars · Updated 2026-10-22

Find similar implementations and prior art for a code pattern across internal repositories — use when checking whether something already exists internally before building it, or looking for reference implementations to follow.

## Install

```sh
git clone https://github.com/gleanwork/claude-plugins /tmp/claude-plugins && ln -s /tmp/claude-plugins/plugins/glean/skills/similar-code ~/.claude/skills/similar-code
```

## From README

Similar Code Search for similar implementations across the organization to find prior art, alternative approaches, or shared solutions. Determine the pattern or feature from the user's request. If not specified, ask before proceeding. Core Principles Find the blessed path: Look for official/platform solutions first Compare approaches: Different solutions have different tradeoffs Be skeptical: Not every implementation is worth following Quality over quantity: 3 vetted implementations beats 10 random matches Process Phase 1: Search for Direct Implementations Look for the pattern/feature across all repos: Phase 2: Search for Alternative Terms The same concept might be named differently: For example, "rate limiting" might also be called "throttling", "quota", "backpressure".

## Links

- HTML page: https://omgskills.com/library/gleanwork/claude-plugins/plugins/glean/skills/similar-code/
- GitHub: https://github.com/gleanwork/claude-plugins
- Author: [@gleanwork](https://omgskills.com/library/gleanwork/index.md)

## More from this repo

- [catch-up](https://omgskills.com/library/gleanwork/claude-plugins/plugins/glean/skills/catch-up/index.md) — Catch up on what you missed while away — meetings, decisions, action items, mentions, and important threads from a...
   - [@gleanwork](https://omgskills.com/library/gleanwork/index.md) · 25 stars
- [code-owners](https://omgskills.com/library/gleanwork/claude-plugins/plugins/glean/skills/code-owners/index.md) — Identify who owns, maintains, or has expertise in a specific code area — use when asked who to talk to about a system,...
   - [@gleanwork](https://omgskills.com/library/gleanwork/index.md) · 25 stars
- [codebase-context](https://omgskills.com/library/gleanwork/claude-plugins/codebase-context/index.md) — Gather architectural context about an internal system from code and documentation across the organization — use when...
   - [@gleanwork](https://omgskills.com/library/gleanwork/index.md) · 25 stars
