Skip to content

Reference corrections: Serve/Funnel syntax, nodeAttrs, certificate renewal, and DERP availability #1

Open

Description

@jrdeck

The skill's references contain a few statements that differ from current Tailscale documentation:

  • references/cli.md: Serve and Funnel examples use the older positional syntax. The current Serve and Funnel references use target/flag syntax.
  • references/cli.md: the Funnel policy key is written as nodeAttr; the documented key is nodeAttrs.
  • references/cli.md: exported certificate files are described as automatically renewed. The HTTPS documentation assigns renewal and installation of certificates obtained with tailscale cert to the user.
  • references/connectivity.md: DERP fallback is described as always working. Clients can fail to reach a relay, as covered by the relay-unavailable documentation.

We encountered these while evaluating the skill for use at @clevvi.

A focused two-file correction is available in this prepared diff, commit 9a7a573. Pull requests are currently disabled, so reporting here instead.

The examples were checked against official documentation; runtime commands were not executed because the Tailscale CLI was unavailable. The contribution was prepared with OpenAI Codex.

Activity

  1. TyceHerrman commented on Nov 10, 2026

    @TyceHerrman

    @napcs can you take a look? I'm interested in using the skill too

    also, is the skill generally going to be maintained going forward?

  2. qurbanovucal9-ops commented on Nov 18, 2026

    @qurbanovucal9-ops

    class Domino101 {
    constructor(players) {
    this.players = players;
    this.round = 1;
    this.scoreLimit = 101;
    this.currentPlayer = null;
    this.winnerTeam = null;
    this.gameOver = false;
    }

    // Daşları qarışdırmaq
    shuffle(tiles) {
    return [...tiles].sort(() => Math.random() - 0.5);
    }

    // İlk oyunda 1-1 qoşa ilə başlamaq
    startFirstRound() {
    const starter = this.players.find(player =>
    player.tiles.some(tile =>
    tile.left === 1 && tile.right === 1
    )
    );

    if (!starter) {
      throw new Error("1-1 qoşa daşı tapılmadı");
    }
    
    this.currentPlayer = starter;
    return starter;
    

    }

    // Daş atmaq
    playTile(player, tile) {
    if (this.currentPlayer !== player) {
    throw new Error("Sənin növbən deyil");
    }

    const index = player.tiles.indexOf(tile);
    
    if (index === -1) {
      throw new Error("Bu daş sənin əlində yoxdur");
    }
    
    player.tiles.splice(index, 1);
    

    }

    // Əl bitəndə xalı qalib komandaya yazmaq
    finishRound(winnerTeam, losingPlayers) {
    let points = 0;

    losingPlayers.forEach(player => {
      player.tiles.forEach(tile => {
        points += tile.left + tile.right;
      });
    });
    
    winnerTeam.score += points;
    this.winnerTeam = winnerTeam;
    
    if (winnerTeam.score >= this.scoreLimit) {
      this.gameOver = true;
    }
    
    return {
      points,
      totalScore: winnerTeam.score,
      gameOver: this.gameOver
    };
    

    }

    // Növbəti oyunda qalib komanda başlayır
    startNextRound(selectedPlayer) {
    if (this.gameOver) {
    throw new Error("Oyun artıq bitib");
    }

    if (selectedPlayer.team !== this.winnerTeam) {
      throw new Error("Yalnız qalib komanda başlaya bilər");
    }
    
    this.round++;
    this.currentPlayer = selectedPlayer;
    return selectedPlayer;
    

    }
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions