add-team
/add-team
Wypełnia bibliotekę drużyn Gscouter danymi z bazy gcsim lub z jednego linku, sprawdza drużyny według DPS i naprawia zaimportowane drużyny.
- Autor
- cenoda ↗
- Repozytorium
- Gscouter ↗
- Licencja
- AGPL-3.0
- Ostatnia zmiana repozytorium
- 07.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 07.11.2026, bez odwołań do wycofanych modeli i API.
AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.
Co robi i kiedy
Wypełnia bibliotekę drużyn Gscouter danymi z bazy gcsim lub z jednego linku, sprawdza drużyny według DPS i naprawia zaimportowane drużyny.
Oryginalny opis (EN)
Fill the Gscouter team library from the community gcsim database (cmd/harvest) or a single gcsim share link (cmd/import), validate teams against their source's DPS (cmd/validate), or fix an imported team. Use when asked to add, harvest, import or fix library teams or their rotations.
Jak działa
- 1. Harvest (many teams)
- 2. Import (one team)
- 3. Validate
- 4. Finish
Podgląd SKILL.md
---
name: add-team
description: Fill the Gscouter team library from the community gcsim database (cmd/harvest) or a single gcsim share link (cmd/import), validate teams against their source's DPS (cmd/validate), or fix an imported team. Use when asked to add, harvest, import or fix library teams or their rotations.
---
# Add a team to the library
Library rotations have a source, in this order:
1. A community gcsim config: the database (step 1) or a share link
(step 2).
2. When no config exists for the team, whatever its members (a
character upstream gcsim lacks, or one the database has not caught
up with yet, such as Iansan in October 2026): a published community
guide (KQM quick guide or similar), under the rules in
`docs/design.md` §5.4. The team gets `tier: experimental` (plus
`gcsim_fork` only when a member is in `library.ForkOnly`), the guide
in `sources`, no `reference`, a `cross_check` recording a public DPS
or what was searched, and must pass the full check. `cmd/validate`
skips the reference comparison for such a team, and `cmd/harvest`
replaces it once a database entry for it passes. Record the batch
(guide, builds, scores, cross-check, known problems) in its
character's document, `docs/characters/<name>.md`, not in the
design document.
Never write a rotation from your own idea of the team: a batch written
that way scored a third of the community numbers and was deleted. Stop
only when neither a config nor a guide exists, and say so. A missing
config is never by itself a reason to leave a character unscored.
Run Go commands with `GOTOOLCHAIN=auto` (gcsim needs Go 1.27).
## 1. Harvest (many teams)
```sh
GOTOOLCHAIN=auto go run ./cmd/harvest -n 10000 -cache /tmp/kqm.json # every team, keep existing ones
GOTOOLCHAIN=auto go run ./cmd/harvest -n 64 -force # replace them
GOTOOLCHAIN=auto go run ./cmd/harvest -n 10000 -cache /tmp/kqm.json -alternatives # only redo every team's alternatives
```
This reads the community gcsim database at db.kqm.gg (`-cache <file>` saves the download and reuses it). It ranks teams by how many entries use them. Every entry is usable except those without four characters, with a rotation that never ends on its own (`while 1`) or without an `active` setup; gcsim tags, enemies and energy do not matter. For each team it tries the entries from the lowest constellations and refinements up. An entry must pass the reference check (`validate.CheckReference`: one pass under the entry's own conditions, 20 iterations, within 15% of the database's DPS) and the full check (the looped rotation must not stall); of the first five that pass (`-choose`), it imports the one whose score keeps the most of its one pass, as `supported` if it meets the criteria in step 3 and as `draft` otherwise. Teams run in parallel (`-j`, one per CPU by default).
Each team harvested also gets its alternatives in `teams/<id>/alt/<entry>/`: for each set of higher constellations than its own entry's that the database has, the entry picked the same way, kept when its rotation differs and it meets the criteria for supported. The score runs the player's build with every supported rotation of the team and keeps the best (design §5.2). `-alternatives` redoes only them, for every team already in the library. An earlier alternative is replaced or removed only once its constellations' entries were measured: when none of some constellations' entries passes the checks (a parse error, a failed simulation, a timeout) or the new set cannot be written, the earlier alternatives stay as they were, and the log names those kept and those removed.
Teams that fail every entry are written to `teams/harvest-failed.txt` and skipped by the next run; `-retry-failed` tries them again. Run `cmd/validate -j 4` afterwards as a final check. To add one particular team, use a share link instead.
## 2. Import (one team)
```sh
GOTOOLCHAIN=auto go run ./cmd/import https://gcsim.app/sh/<key>
# or a database link: https://gcsim.app/db/<id>
```
This writes `teams/<id>/`:
- `build.txt`: the source config's character setup, used for validation.
- `source.txt`: the source config's `options`, `target`, `energy` and
`hurt` lines, used only for the reference check.
- `rotation.gcsl`: everything after the setup (`active`, actions,
conditions), as written in the source.
- `team.yaml`: members, `sources`, `params` (character params such as Hu
Tao's `start_hp=1`, added to each player's character line) and
`reference` (the DPS the share reports and its gcsim version).
The site replaces the source's `options`, `target` and `energy` lines
with the common conditions (`internal/config`); the import prints them.
If they differ from ours (other enemy level, resistance, several
targets, other energy), the site's DPS differs from the source's, but
validation still compares like with like.
The site derives the team's archetype from its members' elements; set
`archetype` in `team.yaml` only to name one elements cannot (a written
team's guide archetype, e.g. `Stellar Swirl`). Leave `status: draft`; `cmd/validate -promote` sets `supported` once the
team meets the criteria (step 3).
## 3. Validate
```sh
GOTOOLCHAIN=auto go run ./cmd/validate -v teams/<id>
GOTOOLCHAIN=auto go run ./cmd/validate -detail teams/<id> # actions, damage by source, reactions
```
- The validator runs the rotation once from full energy under
`source.txt` (the common conditions if the team has none) and compares
it with the source's `reference.dps`, then loops it under the common
conditions (as the site scores it) and reports energy and other waits.
- `FAIL` when the one-pass DPS with `build.txt` is more than 15% from the
source's `reference.dps` (`WARN` above 5%), when it has no source, when
the rotation never ends, or when the looped rotation stops advancing
(e.g. `while rotations { ... }` with the counter set once in the
setup). Such a team cannot be served: remove it.
- With several teams, `cmd/validate` checks each in its own process
(`-j 4` runs four at a time).
- A gap usually means another gcsim version (`reference.gcsim_version`
vs. ours in `go.mod`) or a random rotation. Explain it in `notes`, or
find a source that matches.
- CI fully validates the team directories a push changes (a random 30
of them when it changes more, so validate a harvest in full locally),
or 10 random teams when it changes none.
- The rotation must choose `active <char>;` in its setup and must end.
Gscouter loops it itself: the setup (`active`, `let`, `fn`, `set_*`)
runs once and the rest repeats. A source with its own unconditional
`while 1` loop cannot be used as is.
- Warnings about action waits or a member with almost no damage are
information; note anything a reviewer should know.
- `-promote` sets each team's status from the result: `supported` when
the check passes, the one pass is within 5% of `reference.dps` and the
looped score keeps 80% to 130% of the one pass under the common
conditions (more means the rotation depends on the source's own
conditions) (`validate.Report.Unpromotable`), `draft` otherwise.
It records the result in `team.yaml` (`validation`: looped DPS,
`kept`, `gap`, and on a draft team the criterion it misses); a looped
score more than 5% from the recorded one is a warning.
Result pages warn on draft teams. Blocked teams are left alone, and
experimental teams (`tier: experimental`) are never promoted: a person
reviews them first. Run it
on every team you add, and on the whole library after a gcsim update:
```sh
GOTOOLCHAIN=auto go run ./cmd/validate -promote teams/<id>
GOTOOLCHAIN=auto go run ./cmd/validate -promote -iter 20 -j 4 # every team
```
## 4. Finish
`go test ./...` must pass (the library and web tests load every team).
Commit only when asked, with a message such as
`Add Hu Tao / Yelan / Xingqiu / Zhongli team`.
Wersje
W bazie nie ma innych skilli o nazwie add-team.
Migawka bazy z 13.11.2026 · wersja paczki 65d45a3066e0 (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
- 100charbuild-dps-ablation
Odtwarza DPS buildu udostępnionego online modelem CharBuild z dna-builder i wykonuje ablację po elementach (buffy, towarzysze, bronie, parametry), by uzyskać dokładne wartości zysku do poradników i optymalizacji buildów. - 86vgc-team-audit
Przeprowadza audyt drużyny w Pokémon Champions, zaczynając od ustaleń i błędów. - 98pob-bd-builder
Buduje konfigurację postaci w Path of Building: importuje link, dobiera talenty i umiejętności, sprawdza DPS i przetrwanie oraz iteruje do celu.