Przejdź do treści
Biblioteka skilli
Programowanie · Automatyzacja

catalogue-sort

/catalogue-sort

Ustawia domyślne sortowanie katalogu, zapisując jeden klucz w site.config.json, na przykład według gwiazdek lub daty.

Repozytorium
reposhowcase ↗
Licencja
MIT
Ostatnia zmiana repozytorium
01.11.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 01.11.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

Ustawia domyślne sortowanie katalogu, zapisując jeden klucz w site.config.json, na przykład według gwiazdek lub daty.

Wyzwalacze z opisu

sort by starssort by newestmost viewed firstdefault to alphabeticalput the most popular firstchange the default order
Oryginalny opis (EN)

Sets how the catalogue sorts by default, by writing one key in site.config.json. Use when the user says "sort by stars", "sort by newest", "most viewed first", "default to alphabetical", "put the most popular first", or "change the default order". Do NOT use to change which repositories appear (catalogue-curate) or to add filters (catalogue-tag).

Jak działa

  1. When to use
  2. Inputs
  3. Procedure
  4. Scripts used
  5. How to tell it worked
Sekcje z nagłówków SKILL.md, w oryginale · 52 linii, 243 słów
Podgląd SKILL.md
---
name: catalogue-sort
description: Sets how the catalogue sorts by default, by writing one key in site.config.json. Use when the user says "sort by stars", "sort by newest", "most viewed first", "default to alphabetical", "put the most popular first", or "change the default order". Do NOT use to change which repositories appear (catalogue-curate) or to add filters (catalogue-tag).
---

# catalogue-sort

Sorting is a preference, so it is one config key and no code.

## When to use

- "Sort them by stars." → `sort.default: "stars"`.
- "Newest first." → `sort.default: "newest"`.
- "Most viewed first." → `sort.default: "views"`.
- "Alphabetical." → `sort.default: "name"`.

## Inputs

The phrase the user used, mapped to a comparator name:

| Phrase | Value |
|---|---|
| newest, latest, most recent | `newest` |
| most viewed, popular by traffic | `views` |
| most starred, most popular | `stars` |
| alphabetical, by name | `name` |

## Procedure

1. Read `sort.options` in `site.config.json`. The value must be one of them:
   the loader rejects a default that is not offered, and names the key.
2. Write `sort.default`.
3. If the user asked for an order that is not in `options`, adding it is a
   code change: a new comparator in `src/components/Catalogue.astro` and a
   label in `SORT_LABELS`, plus the name added to `sort.options`. Say that
   plainly rather than quietly picking the nearest existing mode.
4. The buttons are generated from `sort.options`, so nothing else needs
   editing.

## Scripts used

```bash
npm run build        # the loader validates sort.default against sort.options
```

## How to tell it worked

```bash
npm run build
grep -o 'data-sort="stars" aria-pressed="true"' dist/index.html   # one match
grep -c 'data-sort="' dist/index.html                            # equals sort.options.length
```

A mismatch means the page is not reading the config: check that
`sortDefault` is passed through `define:vars` in `Catalogue.astro`.

Wersje

W bazie nie ma innych skilli o nazwie catalogue-sort.

Migawka bazy z 13.11.2026 · wersja paczki 104f044d5571 (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

  • 100catalogue-curate
    Decyduje, które repozytoria trafią do katalogu, zapisuje reguły w site.config.json i podaje, co zostało wykluczone i dlaczego.
  • 100catalogue-tag
    Przypisuje repozytoriom katalogu cel, platformę i język z zamkniętej listy i zapisuje je jako tematy GitHub.
  • 90add-entry
    Dodaje lub poprawia pozycję w katalogu Gearlist, np. narzędzie, serwer MCP lub platformę, także z kolejki gwiazdek.
  • 100audit-swift-pattern-catalogue
    Ocenia katalog wzorców Swift pod kątem użyteczności, klasyfikacji, przeinżynierowania i gotowości do wydania.
  • 90codex-project-recency-sort-recovery
    Diagnozuje błędne sortowanie projektów w aplikacji Codex Desktop po ponownym uruchomieniu i przywraca właściwą kolejność.
  • 100setup
    Ustawia katalog planów projektu i to, czy ma być objęty gitignore, zapisując plik .claude/plans-config.json.

Uwagi i zgłoszenia

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