Przejdź do treści
Biblioteka skilli
Programowanie · Research

similar-code

/similar-code

Szuka podobnych implementacji i wcześniejszych rozwiązań w wewnętrznych repozytoriach, zanim coś powstanie od zera.

Repozytorium
claude-plugins ↗
Licencja
MIT
Ostatnia zmiana repozytorium
29.09.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 29.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Szuka podobnych implementacji i wcześniejszych rozwiązań w wewnętrznych repozytoriach, zanim coś powstanie od zera.

Oryginalny opis (EN)

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.

Jak działa

  1. Core Principles
  2. Process
  3. If No Good Implementations Found
Sekcje z nagłówków SKILL.md, w oryginale · 146 linii, 591 słów
Podgląd SKILL.md
---
name: similar-code
description: 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.
---

# 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:

```
code_search "[topic] implementation"
code_search "[topic] handler OR service"
code_search "[topic] util OR helper"
```

### Phase 2: Search for Alternative Terms

The same concept might be named differently:

```
code_search "[synonym] implementation"
code_search "[synonym] service"
```

For example, "rate limiting" might also be called "throttling", "quota", "backpressure".

### Phase 3: Find Shared Libraries

Look for centralized implementations:

```
code_search "[topic] package OR library"
search "[topic] shared library OR common"
```

### Phase 4: Find Related Discussions

Search for design discussions about this pattern:

```
search "[topic] design doc OR RFC"
search "[topic] best practices OR guidelines"
```

### Phase 5: Vet Each Implementation

For each implementation found, evaluate:

| Test | ✅ Recommended | ⚠️ Acceptable | ❌ Reject |
|------|--------------|-------------|---------|
| **Quality** | Clean, tested, well-maintained, follows best practices | Works but has caveats | Hacky, untested, deprecated |
| **Maintenance** | Commits in past 3 months | Last commit 3-12 months ago | No activity in 12+ months |
| **Adoption** | Deployed, actively used | Small usage, may have issues | Experiments, abandoned PRs |
| **Ownership** | Clear maintainer, responds to issues | Works but no clear owner | Orphaned, no maintenance |

**Anti-Pattern Signals — reject or warn:**
- In `/deprecated/`, `/old/`, `/legacy/` paths
- Large commented-out sections
- TODOs indicating known issues
- Skipped tests, no tests at all
- Copy-pasted boilerplate

### Phase 6: Present Vetted Comparison

```markdown
# Similar Implementations: [Pattern]

## Vetting Summary
| Found | Recommended | Acceptable | Rejected |
|-------|-------------|------------|----------|
| [X] | [Y] | [Z] | [W] |

## Recommended Solution
- **Library**: [name] ([link])
- **Maintained by**: [team/person]
- **Status**: Active, [X] commits in past month
- **Recommendation**: ⭐ Use this instead of building your own

## Vetted Implementations

### ⭐ [Repo Name] — RECOMMENDED
**Quality**: High
**Location:** [path] ([link])
**Last Updated**: [date]
**Maintainer**: [person/team]

**Approach:** [brief description]

**Why recommended:**
- [specific positive pattern]

### [Repo Name] — ACCEPTABLE
**Quality**: Good with caveats
**Location:** [path] ([link])
**Last Updated**: [date]

**Pros:** [advantage]
**Cons:** [limitation]

## Rejected Implementations
| Repo | Reason |
|------|--------|
| [repo] | No commits in 18 months, likely outdated |
| [repo] | Prototype code, never production-ready |

## Pattern Analysis
| Pattern | Used By | Quality | Recommendation |
|---------|---------|---------|----------------|
| [Pattern A] | [X] repos | Good | Follow this approach |
| [Pattern B] | [Y] repos | Mixed | Avoid unless [condition] |

## Recommendations

1. **Best option**: Use [recommended implementation] because [reason]
2. **If that doesn't fit**: Consider [alternative] for [use case]
3. **Avoid**: Don't follow [anti-pattern] approach
```

## If No Good Implementations Found

```markdown
# Similar Implementations: [Pattern]

## No Recommended Implementations Found

The assistant searched for implementations of [pattern] but didn't find any worth recommending.

**What was found:** [X] matches, but all were [outdated/low quality/abandoned]

**Suggested next steps:**
1. Check for external libraries: [suggestions]
2. Ask in [relevant Slack channel] about approaches
3. If building new, consider making it a shared library
```

Wersje

W bazie nie ma innych skilli o nazwie similar-code.

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki 2c2731ef8ed5 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100find-examples
    Znajduje przykłady użycia API, biblioteki lub wzorca w wewnętrznych repozytoriach, zanim zespół zacznie coś implementować.
  • 90find-similar-code
    Wyszukuje podobny kod za pomocą semantycznego wyszukiwania wektorowego, by znaleźć istniejące implementacje i potencjalne duplikaty.
  • 100using-glean-code
    Przeszukuje wewnętrzny kod firmy w repozytoriach: jak coś działa, gdzie leży kod systemu i jak robią to inne zespoły.
  • 90prior-art
    Zbiera dowody z wcześniejszych rozwiązań, artykułów, post-mortemów i benchmarków przed decyzją projektową, także z porażek.
  • 100code-search-assistant
    Wyszukuje w repozytoriach kod powiązany z podanym fragmentem i szereguje wyniki według podobieństwa łańcucha wywołań, tekstu i funkcji, z fragmentami kodu i oceną trafności.
  • 100code-search
    Przeszukuje GitHub w poszukiwaniu istniejących implementacji, bibliotek i wzorców, na przykład przy szukaniu przykładów kodu w sesji badawczej.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.