Przejdź do treści
Biblioteka skilli
Inne · Nauka i wyjaśnianie

akcli-net-naming

/akcli-net-naming

Wyjaśnia i przewiduje, jaką nazwę dostaje sieć w akcli według priorytetu eeschema: etykieta globalna, port zasilania, etykieta lokalna, etykieta hierarchiczna.

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

Wyjaśnia i przewiduje, jaką nazwę dostaje sieć w akcli według priorytetu eeschema: etykieta globalna, port zasilania, etykieta lokalna, etykieta hierarchiczna.

Wyzwalacze z opisu

whichever label you placed
Oryginalny opis (EN)

Predict and debug WHICH name a net gets — akcli follows eeschema's driver priority (global label > power port > local label > hierarchical label > auto), so the canonical name is not "whichever label you placed". Use this skill when: choosing a label scope while authoring an op-list; a net in `akcli nets`/`sim`/`diff` output carries an unexpected name; a sim probe, intent snapshot or contract rule misses a net you can see; a net shows several names (aliases); migrating pre-0.21 files where the canonical pick changed (e.g. a local MID becoming the global VOUT); or the user asks "why is this net

Jak działa

  1. The driver ladder (KiCad sources)
  2. Old names keep working
  3. Debugging a surprising name
  4. Authoring rules of thumb
Sekcje z nagłówków SKILL.md, w oryginale · 82 linii, 537 słów
Podgląd SKILL.md
---
name: akcli-net-naming
description: >-
  Predict and debug WHICH name a net gets — akcli follows eeschema's driver
  priority (global label > power port > local label > hierarchical label >
  auto), so the canonical name is not "whichever label you placed". Use this
  skill when: choosing a label scope while authoring an op-list; a net in
  `akcli nets`/`sim`/`diff` output carries an unexpected name; a sim probe,
  intent snapshot or contract rule misses a net you can see; a net shows
  several names (aliases); migrating pre-0.21 files where the canonical pick
  changed (e.g. a local MID becoming the global VOUT); or the user asks
  "why is this net called X" / "網名" / "命名".
---

# akcli-net-naming — which name a net gets, and why

One net can touch several name sources at once: a local label, a global
label, a power symbol, a hierarchical port. Exactly one becomes the
**canonical** name (what `nets`/`diff`/`sim`/netlists print); every other
explicit name survives as an **alias**. akcli resolves the tie the same way
eeschema does, so `kicad-cli sch export netlist` and akcli agree.

## The driver ladder (KiCad sources)

Higher wins; equal rank tie-breaks alphabetically:

| rank | driver | note |
|---|---|---|
| 6 | global label | beats everything |
| 5 | power symbol's net (`+3V3`, `GND`) | beats a local label |
| 4 | local label | |
| 3 | hierarchical label / Altium port | BELOW local — a child sheet's own local label outranks its port name |
| 2 | Altium sheet entry | |
| 0 | none | synthetic auto-name from sorted membership (`net_<hash>`) |

Altium sources keep Altium's own rule instead: labels beat power ports
unless the project sets `PowerPortNamesTakePriority`.

Consequences you must design for:

- **A local label on a power rail does not rename the rail.** Tagging the
  `+3V3` net `VDD_MCU` gives you net `+3V3` with alias `VDD_MCU`.
- **Want to force a name? Use a global label** — it outranks power symbols
  too. (It also merges with every same-named global label in the tree, so
  force names deliberately.)
- **Sheet paths prefix local/hierarchical names only** (`/child/X`);
  global- and power-driven names stay bare.
- Never write a synthetic `net_<hash>` name into an intent/contract file —
  it changes whenever membership changes.

## Old names keep working

Aliases are not second-class: `check --contract` rules, `intent` files and
`sim --probe`/`--gnd` resolve a net by canonical name, alias or source
name. A pre-0.21 intent file that says `MID` still matches the net now
canonically called `VOUT`. Only the *printed* name changed — see
`docs/migration-0.21.md` before pinning names in new files.

## Debugging a surprising name

```bash
akcli nets board.kicad_sch --json
```

shows every net with `name`, `aliases` and `source_names` — if your label
is in `aliases`, a higher-ranked driver took the canonical slot.

```bash
akcli net board.kicad_sch --why R1.2
```

explains one pin's attachment: which net it landed on, how it attached
(wire end / label / junction), and the nearest name sources with distances
— the fastest way to see *which* label actually drives the net a pin
joined.

```bash
akcli net board.kicad_sch VOUT
```

prints the members and aliases of one net (works with an alias too).

## Authoring rules of thumb

- Naming a signal: one **local** label on the pin-adjacent wire is enough;
  don't also add a global one unless you *want* tree-wide merging.
- Naming a rail: place the power symbol and stop — extra descriptive local
  labels become aliases, which is fine for humans but means your sim decks
  and netlists will print the power name.
- Cross-sheet nets: the parent sheet pin ↔ child hierarchical label pair
  carries connectivity; the child's *displayed* net name follows the ladder
  (a local label inside the child outranks the port name).
- After every `draw --apply`, read the names back with `akcli nets` before
  writing intent/contract files or sim probes against them.

Wersje

W bazie nie ma innych skilli o nazwie akcli-net-naming.

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

  • 93akcli-setup
    Sprawdza i naprawia środowisko akcli, w tym Pythona, kicad-cli i libngspice oraz podpowiada poprawki brakujących składników.
  • 100akcli-circuit-debug
    Diagnozuje błędne schematy i awarie narzędzia akcli: rozdzielone lub źle połączone sieci, niejasne wyniki akcli check oraz odmowy zapisu przy plan i draw.

Uwagi i zgłoszenia

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