/typescript:typescript-report-issuefrom typescript
Guides users through reporting a TypeScript bug to the microsoft/TypeScript issue tracker, including pre-work, duplicate search, and a structured agent template.
Ships in typescript. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
To begin, ask the user to describe the bug they want to report in their own words. Ask follow-up questions as necessary until you understand what to do next.
You should consult these documents before proceeding:
You should also search for existing issues that might be a duplicate of what you're going to log.
If the issue seems to be addressed by one of these, consult your user on what to do next.
Otherwise, confirm with the user the kind of investigations you're going to do, and then present them with the option to either review a markdown draft file or post directly to the microsoft/TypeScript issue tracker.
Agents should use a different issue form than the standard ones.
Fill out the following template. Perform the necessary research, and asking the user questions where needed. Each section is described below.
## TypeScript Version
The tested TypeScript version is \***\*\_\*\***.
<!--
Include these fields if it's relevant to the bug
- OS for bugs involving file watching, symlinks, or performance
- Editor for editor bugs
- Package manager if a dependency is needed
-->
## User Goal
<!-- See "User Goal" -->
## Setup and Action
<!-- See "Setup and Action" -->
## Expected and Actual Behavior
**What actually happened**: <!-- describe what happened -->
**What I expected**: <!-- see "expected behavior" -->
## Agent Info
<!--
name your harness version, model, and "Skill Version 1.0",
e.g. Codex 3.141 + Claude Haiku 3.5 + Skill Version 1.0
-->
When writing, please try to be as succinct as possible. More text is more time for humans to read. The TypeScript team does best when the bug report is short and sweet - set up the scenario, describe what went wrong, done. Never describe what something isn't - don't say "This is a suggestion for a better error condition, not a request to change the language". We should be able to tell what something is by looking at it!
You must explain why you're here vis a vis the human that initiated your process.
Examples of good answers:
You don't need to disclose what the human was doing or any personal information about them, but we do need to understand the human intent behind why you're here.
Your setup should include a minimal example. A minimal example does as many of these as possible:
EmployeeOnboardOptions can just be Options, etc., but try to keep the intent of the code readableIf the setup involves more than a few files, publishing a sample repo is recommended. Ask your user for permission to do this.
Action describes what the user action is, e.g. running tsc, doing something in a code editor, or inspecting an emitted file.
For editor bugs, you can speak LSP directly to tsc to verify the issue. Your report should be framed in terms of human verbs in the editor, though (e.g. "invoke signature help on this line").
You should double-check that your minimal example still reproduces the bug you started with.
If the actual behavior is a crash or hang, no justification is required. Otherwise, a bit of justification is usually helpful.
Even if you ended up inspecting the TypeScript codebase for clues, you should generally not attempt to root-cause the issue. These investigations are often misleading for future work. Root-cause analysis should only be included with PRs. Do not include information about your proposed fix.
You may, with reasonable justification, include this information if it feels particularly relevant (e.g. a performance issue and you took a profile).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub microsoft/typescript-skills --plugin typescript6 skills in this plugin
/typescript-build-referencesGuidance for configuring TypeScript project references and incremental builds (`tsc -b`/`--build`, `composite`, solution-style tsconfigs) and declaration emission (`.d.ts` files) with `isolatedDeclarations` in an existing repo or monorepo. Use this whenever asked to add project references, build mode, incremental builds, declaration files, or isolated declarations, even when the repo already has a working build or bundler./typescript-project-setupHow to set up a new TypeScript project/typescript-publish-typesHow to publish TypeScript declarations from an npm package so consumers actually resolve them. Use this when asked to add types/typings to a package, ship .d.ts files, fix "Could not find a declaration file for module", or make a package's published types resolve correctly.Other plugins' skills for the same job