Przejdź do treści
Biblioteka skilli
DevOps i chmura · Integracja z narzędziem

taproot

/taproot

Uruchamia polecenia CLI taproot i czyta bazy MySQL/TiDB, cache Redis lub punkty gRPC przez profile źródeł danych.

Repozytorium
taproot ↗
Licencja
MIT
Ostatnia zmiana repozytorium
13.11.2026

Ocena i bezpieczeństwo

90/ 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ść25 / 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
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 13.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

Uruchamia polecenia CLI taproot i czyta bazy MySQL/TiDB, cache Redis lub punkty gRPC przez profile źródeł danych.

Oryginalny opis (EN)

Use whenever a task runs, names, or points at the `taproot` CLI, or needs to read a MySQL/TiDB database, Redis/Dragonfly cache, or gRPC endpoint through a datasource profile. Also use for TapRoot doctor checks, connector or auth failures (Teleport, kubectl port-forwards), and KB resolution, and instead of ad-hoc `mysql`, `redis-cli`, `grpcurl` or `tsh` commands.

Jak działa

  1. Rules
  2. Output
Sekcje z nagłówków SKILL.md, w oryginale · 24 linii, 441 słów
Podgląd SKILL.md
---
name: taproot
description: Use whenever a task runs, names, or points at the `taproot` CLI, or needs to read a MySQL/TiDB database, Redis/Dragonfly cache, or gRPC endpoint through a datasource profile. Also use for TapRoot doctor checks, connector or auth failures (Teleport, kubectl port-forwards), and KB resolution, and instead of ad-hoc `mysql`, `redis-cli`, `grpcurl` or `tsh` commands.
---

# TapRoot

Learn commands from `taproot --help` and `taproot <command> --help`. Every error carries a code, and most messages name the fix. This page holds only the rules the CLI cannot enforce.

## Rules
- **Every query goes through `taproot query`.** Never run `mysql`, `redis-cli`, `grpcurl`, `tsh db exec` or `tsh proxy db` directly, even when TapRoot fails.
- **Read-only unless the user asks for a write.** `--allow-mutate`, `--allow-flush`, `--allow-keys`, `--allow-partition-scan` and `--allow-discovery` each need the user's explicit go-ahead for that task. On `MISSING_PARTITION_PREDICATE`, add the partition column to `WHERE` instead.
- **Production needs a go-ahead per task.** Never run `query` or `doctor` against a production datasource (`prod-*`) unless the user authorized that task, even read-only. Default to the non-production envs and name the datasource or `--env` explicitly.
- **Ask before changing setup.** `datasource add`, `datasource remove`, `creds set` and any `kb` write persist for every later session. State the command, what it writes and why, and wait for a yes. Before replacing or removing a profile, save `taproot datasource show <name>` so it can be added back. Read-only commands (`query`, `datasource list`, `kb tables`, `creds show`) need no prompt.
- **One fix per error, then stop.** Change the cause before retrying, and never resend a failing query unchanged. If the fix the error names does not work, report `error.code` and `error.message` and stop.
- **Auth is the user's job.** On `ACCESS_DENIED` or `AUTH_EXPIRED`, tell the user to run `tsh login` or `taproot creds set`. Never start an interactive login yourself. On `MISSING_TOOL`, tell the user what to install; do not install it.
- **On `CONNECTIVITY`, run `taproot doctor --datasource <name> --connect` once**, then report what it says.
- **Never probe with `SELECT 1`.** Run the real query; a dead connector fails it with `CONNECTIVITY` anyway.
- **Never guess table or column names.** Use the names the user, code or migrations give, or look them up with `SHOW TABLES` and `SHOW CREATE TABLE`.
- **Keep partition and indexed columns bare** in `WHERE` and `JOIN`. Wrapping them in `DATE()`, `TO_DAYS()` or `CAST()` scans every partition.
- **Never hand-write JSON-path SQL** (`JSON_EXTRACT`, `->`, `->>`, `JSON_VALUE`). Path and null/type handling differ between MySQL and TiDB. Select the raw column and use `--json-extract <column>:<dotpath>`.
- **Never read TapRoot's cache or credential files.** Use TapRoot commands.

## Output
- One line of JSON per command: `{ok, data, meta, error}`. The exit code is non-zero whenever `ok` is false.
- Use `--lines` (one row per line) or `--pluck <path>` instead of `| jq`. A jq filter like `.data.rows` prints `null` on failure and hides the error.
- JSON columns come back already parsed; do not `fromjson` them.
Pliki w paczce (2)
  • SKILL.md 3 KB
  • agents/openai.yaml 1 KB

Wersje

W bazie nie ma innych skilli o nazwie taproot.

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

  • 86tidb
    Pomaga w bazie TiDB: rozproszone transakcje, HTAP i migracje zgodne z MySQL.
  • 95railway-database
    Dodaje oficjalne bazy danych Railway (Postgres, Redis, MySQL, MongoDB) do projektu i pomaga podłączyć je do aplikacji.
  • 95lightning-taproot-channels
    Opisuje proste kanały taproot w Lightning (bity cech 80 i 81): wyjście finansujące z MuSig2, liście Tapscript i HTLC natywne dla taproot.
  • 100redis-cli
    Zawiera opis i wskazówki użycia redis-cli do odpytywania, inspekcji, debugowania i zarządzania Redisem z wiersza poleceń.
  • 100redis-cli
    Zawiera opis i wskazówki użycia redis-cli do odpytywania, inspekcji, debugowania i zarządzania Redisem z wiersza poleceń.
  • 100redis
    Konfiguruje Redis do cache'owania i przechowywania danych, w tym klastrowanie, trwałość danych i Sentinel, przy wdrażaniu cache lub kolejek.

Uwagi i zgłoszenia

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