기존 프로젝트의 코드와 설정을 조사해 기술 구성, 구조, 아키텍처, 규칙, 연동, 테스트, 우려 사항을 다루는 문서 7개를 작성합니다. 근거 파일을 연결하고 미확인 항목을 표시하며, 계획과 실제 구현의 차이를 드러냅니다.
- 익숙하지 않은 코드베이스 파악하기
- 프로젝트 인수인계 문서 준비하기
- 설계 문서와 실제 구현 비교하기
GitHub Actions의 npm 게시를 저장된 토큰에서 단기 인증을 사용하는 신뢰 게시 방식으로 옮깁니다. 워크플로 권한, 도구 버전, 패키지 설정을 점검하고 인증 실패와 저장소 정보 불일치를 진단합니다.
Set up or fix npm trusted publishing (OIDC) in GitHub Actions and remove NPM_TOKEN. Use for ENEEDAUTH, E404 on PUT, E422 repository.url, or migrating off 2FA-bypass tokens before January 2027.
실행 점수 미검증
설치 방법 보기이 스킬은 GitHub Actions의 npm 패키지 게시에서 저장된 NPM_TOKEN을 제거하고 신뢰 게시 방식으로 옮기는 일을 돕습니다. 신뢰 게시에서는 OIDC라는 단기 인증 방식을 사용합니다. 워크플로 권한, npm 버전, 환경 변수, npm에 등록된 게시자 정보를 점검하며 게시 중 발생하는 ENEEDAUTH, E404, repository.url 관련 E422 오류도 진단합니다.
게시 토큰을 워크플로에서 제거하려 하거나 마이그레이션 도중 게시가 실패할 때 사용할 수 있습니다. go-tokenless로 변경 예정 차이와 필요한 명령을 확인하고 설정 변경을 적용하는 방법도 안내받을 수 있습니다.
ENEEDAUTH 오류로 실패하는 원인을 찾아 주세요.”이 절차에는 GitHub 호스팅 실행기와 npm 11.5.1 이상이 필요합니다. npm에 게시자를 등록하고 기존 토큰을 삭제하려면 사용자가 npm에 로그인하고 2단계 인증을 해야 합니다. 아직 만들어지지 않은 패키지는 먼저 한 번 수동으로 게시해야 합니다. 토큰 없이 게시에 성공한 다음에만 기존 토큰을 삭제하거나 폐기합니다.
이 소개문은 공개된 SKILL.md를 바탕으로 AI(OpenAI Codex)가 작성했습니다. 정확한 사양은 아래 원문을 확인하세요.
AI가 SKILL.md의 내용에서 주의가 필요한 작업과 도입 전제를 확인했습니다. 점수는 실제로 실행한 결과(실행 검증)만으로 매깁니다.
점수에는 넣지 않았습니다. 2026년 10월 25일 기준으로 AI(OpenAI Codex)가 판정했습니다. 참고용이므로 설치 전에 원문도 확인해 주세요.
설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Moves a GitHub Actions release from a stored NPM_TOKEN to npm trusted publishing. GitHub signs a short-lived OIDC token for the run, and npm exchanges it for a publish token. It also diagnoses the misleading errors a half-finished migration produces. From January 2027, granular tokens that bypass 2FA can no longer publish directly (npm docs).
NPM_TOKEN / NODE_AUTH_TOKEN from a release workflow or set up OIDC or provenance publishing.ENEEDAUTH, 404 Not Found - PUT https://registry.npmjs.org/... or E422 ... repository.url.npm notice npm tokens that bypass 2FA are being restricted.Work through every item. Missing any one of them produces the errors above.
permissions: id-token: write. If the job had no permissions block, keep the scopes it needs, such as contents: write for tags and releases or pull-requests: write for changesets. Adding a block drops every scope you don't list.npm install -g npm@^11.5.1 (or a newer pinned major) before publishing. pnpm 10 hands the publish to npm, so the same rule applies. Yarn Berry needs 4.10.3+.NODE_AUTH_TOKEN, NPM_TOKEN and YARN_NPM_AUTH_TOKEN from the step, the job and the workflow env, and delete script lines that write _authToken or npmAuthToken. npm tries OIDC first but falls back to a configured token, so a leftover token keeps the old credential in use. Keep a read-only token only on install steps that need private packages.actions/setup-node has registry-url: https://registry.npmjs.org.package.json repository.url names the same GitHub repo, for example git+https://github.com/OWNER/REPO.git, plus directory for workspace packages. A mismatch gives E422.npm trust github <pkg> --repo OWNER/REPO --file release.yml --allow-publish --yes
.yml.id-token: write in the caller too.environment:, set the same environment on the publisher.id-token: write to a job in a workflow triggered by pull_request_target, issue_comment, workflow_run or discussion. It would let outsiders exchange an OIDC token and publish. Move publishing to release, push (tags) or workflow_dispatch.npm publish --dry-run and npm pack jobs don't publish, so they need no id-token and no trusted publisher.gh secret delete NPM_TOKEN) and revoke it on npmjs.com only after the first tokenless release succeeds.| Error | Usual cause |
|---|---|
ENEEDAUTH | No id-token: write, npm older than 11.5.1, or a workflow file name that doesn't match the trusted publisher |
404 Not Found - PUT https://registry.npmjs.org/<pkg> | Same as above, a mismatched environment, no trusted publisher yet, or an expired token still being used |
E422 ... repository.url | repository is missing in package.json or names another repo |
| Publish still uses the token | A token remains in env, .npmrc or .yarnrc.yml (checklist item 3) |
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: https://registry.npmjs.org
- run: npm ci
- run: npm publish --access public # no NODE_AUTH_TOKEN
go-tokenless (MIT) applies this checklist to an existing repository. Use it when the user wants the edits made for them.
npx go-tokenless prints a read-only diff of the workflow and package.json changes, plus the npm trust commands.npx go-tokenless apply writes the changes.아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
기존 프로젝트의 코드와 설정을 조사해 기술 구성, 구조, 아키텍처, 규칙, 연동, 테스트, 우려 사항을 다루는 문서 7개를 작성합니다. 근거 파일을 연결하고 미확인 항목을 표시하며, 계획과 실제 구현의 차이를 드러냅니다.
AgentRC로 저장소의 AI 에이전트 활용 준비도를 평가하고 독립 실행형 HTML 보고서를 생성합니다. 9개 영역의 점수와 우선순위별 개선안을 확인하고, 조직에 맞춘 채점 정책도 적용할 수 있습니다.
프로젝트의 실제 코드에서 언어, 프레임워크, 개발 관례를 파악해 AI 코딩 에이전트용 지침 파일을 생성하거나 갱신합니다. 하나의 파일에 모으거나 주제와 프로젝트 영역별로 나누며, 쓰기 전에 변경 내용을 미리 볼 수 있습니다.
AgentRC 준비도 평가를 팀이나 조직의 기준에 맞게 조정합니다. JSON 정책에서 검사 중요도와 수준을 바꾸고, 불필요한 검사를 끄며, 통과율을 설정해 CI 자동 검사에도 적용할 수 있습니다.
제공한 광고 성과 데이터를 분석해 낭비되는 지출과 성과가 좋은 광고를 찾고, 중단·예산 증액·추가 테스트 후보를 정리합니다. 여러 플랫폼을 비교하고 A/B 테스트의 차이를 평가해 예산 재배분 방안도 제시합니다.
지정한 코드 파일에 학습용 주석을 추가해 문법, 프로그래밍 개념, 설계 선택의 이유를 설명합니다. 독자의 지식에 맞춰 설명의 깊이와 반복 정도를 조절하며 파일 구조와 형식을 유지합니다.