Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/microsoft/TypeScript --skill restack명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | restack |
| description | Only invoke when explicitly instructed to |
You need to "re-stack" your commits to match the following format:
Since you can't force-push, start with a commit that undoes all your prior changes and gets you back to main.
Then add your test case(s) in a single commit. A test case isn't necessarily a new file; it could be a modification to an existing test or a change in the test configuration. Ensure that at least one test in the full run fails - you might be operating on a bad PR that didn't actually introduce a failing scenario! If zero tests failed, abort and post a message explaining what you observed. Remember that baseline tests do not "fail" in the traditional sense; they are used to verify that the output matches the expected baseline. You should examine the PR description to determine what the desired passing baseline should look like.
Then, add your fix. You can break this apart into multiple commits if it's more logical to review that way; use your judgment. Ensure that this makes the test pass. Again, be mindful of how baselines work - a failed baseline test just means a diff; review that diff for correctness vis a vis the goal of the PR. Do not accept baseline diffs yet!
Finally, if there are baseline diffs, commit those in a separate commit.
Ensure that the final diff you have matches the original diff you started with; this process should not introduce any unintended changes.
Are you doing security research on this repo? This document covers what guarantees and non-guarantees are provided. Consult this document before reporting a security issue or conducting security research.
How to write, run, and debug compiler tests and fourslash (LSP) tests in the TypeScript repository. Covers test file formats, directives, markers, baseline management, and the fourslash verification API.