Agent skill

Tsgolint Update Typescript Go

by oxc-project in oxc-project/tsgolint

Update the typescript-go submodule in the oxc-project/tsgolint repository, refresh the local patches/.patch stack against the new upstream base, regenerate shims, open a PR, and watch CI to…

MITAuto-check passedDevelopment

Install Tsgolint Update Typescript Go

skills CLI
$ npx skills add oxc-project/tsgolint --skill tsgolint-update-typescript-go -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install oxc-project/tsgolint tsgolint-update-typescript-go --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/oxc-project/tsgolint.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/tsgolint-update-typescript-go .claude/skills/tsgolint-update-typescript-go && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tsgolint-update-typescript-go
GitHub stars
1.5k
Token cost
~1.1k tokens
SKILL.md length
563 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Update the typescript-go submodule in the oxc-project/tsgolint repository, refresh the local patches/.patch stack against the new upstream base, regenerate shims, open a PR, and watch CI to…

  • Working on routine typescript-go bump PRs for TSGolint
  • SKILL.md covers Workflow and Guardrails
  • Calls git, go and just
  • Repeating the same workflow as prior submodule update PRs

What it does

Tsgolint Update Typescript Go is an agent skill from oxc-project/tsgolint. Update the typescript-go submodule in the oxc-project/tsgolint repository, refresh the local patches/.patch stack against the new upstream base, regenerate shims, open a PR, and watch CI to completion. Use when working on routine typescript-go bump PRs for TSGolint or when repeating the same workflow as prior submodule update PRs.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests. It works with TypeScript. The repository describes itself as: Type aware linting for oxlint. The licence is MIT.

When your agent uses it

  • Working on routine typescript-go bump PRs for TSGolint
  • Repeating the same workflow as prior submodule update PRs

Example prompts

  • “/tsgolint-update-typescript-go”

What it can do on your machine

Read from SKILL.md and the folder at commit 322b385. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • go
    • just

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Tsgolint Update Typescript Go loads about 1.1k tokens when it runs. Until then it costs about 93 tokens; SKILL.md has 563 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~93
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from oxc-project/tsgolint at commit 322b385, republished under its MIT licence (© oxc-project). 563 words, ~1,064 tokens.

Download SKILL.mdSave it as .claude/skills/tsgolint-update-typescript-go/SKILL.md (or your agent's skills folder).
name
tsgolint-update-typescript-go
description
Update the `typescript-go` submodule in the `oxc-project/tsgolint` repository, refresh the local `patches/*.patch` stack against the new upstream base, regenerate shims, open a PR, and watch CI to completion. Use when working on routine `typescript-go` bump PRs for TSGolint or when repeating the same workflow as prior submodule update PRs.

Update typescript-go

Use this workflow for the standard TSGolint typescript-go refresh.

Workflow

  1. Inspect the last successful submodule-update PR in the repo history.

Use it to mirror the expected shape of the change:

  • advance the root typescript-go gitlink to a real upstream microsoft/typescript-go commit
  • rebase the local patches/*.patch series onto that upstream base
  • regenerate shims if the refreshed patch stack changes the exported surface
  • make any small TSGolint compatibility fix required by upstream API drift
  • open a PR titled chore: update typescript-go submodule
  • wait for CI to finish and report the result
  1. Fetch the latest typescript-go upstream state.

Check the current root gitlink and the current checkout inside typescript-go/ separately. The submodule checkout may temporarily sit on a patched local branch while you refresh the patch series, but the final root gitlink committed in TSGolint should point at the upstream base commit, not at a local patched commit.

  1. Rebuild the patch stack on top of the new upstream base.

Inside typescript-go/:

  • create a temporary branch from the target upstream commit
  • replay ../patches/*.patch with git am --3way --no-gpg-sign
  • resolve drift in the submodule if upstream moved APIs or signatures
  • continue until the full patch stack applies cleanly

If a patch fails, treat that as the main job. Update the patch content so it still expresses the same local intent on the new upstream files.

  1. Regenerate repo artifacts from the refreshed patched submodule state.

From the TSGolint root:

  • run just shim or go run ./tools/gen_shims when shim output changes
  • update root call sites that depend on upstream signature changes
  • prefer the smallest compatibility edit needed
  1. Re-export the patch series from the refreshed submodule branch.

Use git format-patch --no-signature <upstream-base>..HEAD from inside typescript-go/, then replace the root patches/*.patch files with the regenerated series. Keep the existing numbering and filenames when possible.

  1. Verify using the same model as CI.

Important: direct local go test ./... against the bare upstream gitlink can fail because the root repo expects the patch series to be applied first. CI behavior matters more:

Show full SKILL.md (225 more words)Show less
  • PR workflows check out submodules
  • .github/actions/setup/action.yml applies patches/*.patch
  • then build, test, and lint run against the patched submodule state

Locally, verify against the patched state before resetting the gitlink back to the upstream commit. At minimum run the same Go surface used by CI when practical.

  1. Prepare the final root repo state.

Before committing in TSGolint:

  • set the root typescript-go gitlink to the upstream commit being adopted
  • keep the refreshed patches/*.patch
  • keep regenerated shim files and any compatibility fix in TSGolint
  • do not commit unrelated local workspace changes
  1. Create and monitor the PR.

Push a branch on origin, open a PR against main, and watch the checks until they finish. For this repo, the relevant PR checks usually include:

  • test-go
  • test-e2e
  • lint
  • Typos
  • autofix
  • check-schemas
  • test-windows may be skipped on PRs

If GitHub exposes Actions runs instead of classic statuses, query the check runs for the PR head SHA and wait until all required checks are completed.

Guardrails

  • Never commit a root gitlink pointing at a local-only patched typescript-go commit.
  • Never discard unrelated root worktree changes unless the user explicitly asks.
  • Treat the previous successful chore: update typescript-go submodule PR as the template for branch name, commit message, PR title, and expected diff shape.
  • If CI is red, inspect the failing job before changing anything. Prefer a minimal follow-up fix over speculative refactors.

© oxc-project, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/tsgolint-update-typescript-go of oxc-project/tsgolint.

Open the folder on GitHubat commit 322b385

Compare with similar skills

Tsgolint Update Typescript Go next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Tsgolint Update Typescript Go compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tsgolint Update Typescript Go this skilloxc-project/tsgolint1.5k—~1.1kAutomated safety check: PassMIT
Skyvern Version BumpSkyvern-AI/skyvern23k—~1kAutomated safety check: NotesAGPL-3.0
Code Reviewerjewbetcha/opentrace1162 repos~1.1kAutomated safety check: NotesMIT
Beachball Change Filemicrosoft/beachball816—~2kAutomated safety check: PassMIT
Markbind Typescript MigrationMarkBind/markbind158—~2kAutomated safety check: PassMIT
Coding Agentmastra-ai/mastra29k—~2.3kAutomated safety check: PassCustom licence

Similar skills

  • Skyvern Version Bump

    Skyvern-AI/skyvern

    Walks through a Skyvern open-source release bump: update the version, rebuild the Python and TypeScript SDKs with Fern, commit, and open a pull request.

    23k GitHub stars~1k tokensUpdated today
    DevelopmentAuto-check: notes
  • Code Reviewer

    jewbetcha/opentrace

    Comprehensive code review skill for TypeScript, JavaScript, Python, Swift, Kotlin, Go.

    116 GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check: notes
  • Beachball Change File

    microsoft/beachball

    Official

    Create and validate Beachball change files. An agent skill from microsoft/beachball.

    816 GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • Complete guide for migrating JavaScript files to TypeScript in the MarkBind project, including the two-commit strategy, import/export syntax conversion, and best practices.

    158 GitHub stars~2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Coding Agent

    mastra-ai/mastra

    Authoring playbook for building agents that write, edit, review, or refactor code.

    29k GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Review

    nteract/semiotic

    Review Semiotic pull requests for behavioral bugs, regressions, contract drift, and missing evidence.

    2.7k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed

Works with

Categories

Questions about Tsgolint Update Typescript Go

What does Tsgolint Update Typescript Go do?

Update the typescript-go submodule in the oxc-project/tsgolint repository, refresh the local patches/.patch stack against the new upstream base, regenerate shims, open a PR, and watch CI to…. Tsgolint Update Typescript Go is an agent skill from oxc-project/tsgolint.patch stack against the new upstream base, regenerate shims, open a PR, and watch CI to completion.

When should I use Tsgolint Update Typescript Go?

Tsgolint Update Typescript Go fits situations like: working on routine typescript-go bump PRs for TSGolint; repeating the same workflow as prior submodule update PRs.

How do I install Tsgolint Update Typescript Go in Claude Code?

Run `npx skills add oxc-project/tsgolint --skill tsgolint-update-typescript-go -a claude-code`. Or copy the skill folder (.agents/skills/tsgolint-update-typescript-go in oxc-project/tsgolint) into .claude/skills/tsgolint-update-typescript-go in your project. Claude Code loads it when a task matches its description.

How do I install Tsgolint Update Typescript Go in Codex?

Run `npx skills add oxc-project/tsgolint --skill tsgolint-update-typescript-go -a codex`. Or copy the skill folder (.agents/skills/tsgolint-update-typescript-go in oxc-project/tsgolint) into .agents/skills/tsgolint-update-typescript-go in your project. Codex loads it when a task matches its description.

Can I use Tsgolint Update Typescript Go in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add oxc-project/tsgolint --skill tsgolint-update-typescript-go -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tsgolint-update-typescript-go, .gemini/skills/tsgolint-update-typescript-go, .github/skills/tsgolint-update-typescript-go and .opencode/skills/tsgolint-update-typescript-go in your project.

What does Tsgolint Update Typescript Go need to run?

Going by SKILL.md and its folder, Tsgolint Update Typescript Go needs the command-line tools its instructions call (git, go and just).

Does Tsgolint Update Typescript Go access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Tsgolint Update Typescript Go safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Tsgolint Update Typescript Go use?

Tsgolint Update Typescript Go is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Tsgolint Update Typescript Go use?

About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Tsgolint Update Typescript Go?

Skills that share tags, products or a category with Tsgolint Update Typescript Go: Skyvern Version Bump (Skyvern-AI/skyvern, 23k stars), Code Reviewer (jewbetcha/opentrace, 116 stars), Beachball Change File (microsoft/beachball, 816 stars) and Markbind Typescript Migration (MarkBind/markbind, 158 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tsgolint Update Typescript Go?

oxc-project (a GitHub organization) maintains it in oxc-project/tsgolint, which has 1,452 GitHub stars. The repository was last updated on October 8, 2026.

Source: oxc-project/tsgolint on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.