사용 방법
- 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
- 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
- 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/saaspegasus/django-skills --skill upgrade-js-deps시작 전 확인
- 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
- 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.
Your task
Upgrade all JavaScript dependencies and verify nothing is broken.
Step 1: Check for available upgrades
Run npx npm-check-updates to see what upgrades are available. Review the output and present the list to the user.
Step 2: Update package.json
Run npx npm-check-updates -u to update package.json with the new versions.
Step 3: Install updated dependencies
Run make npm-install to install the upgraded dependencies and update package-lock.json.
Step 4: Run post-upgrade checks
Run these checks sequentially, stopping if any step fails:
- TypeScript type checking: Run
make npm-type-checkand report any new type errors. - Build: Run
make npm-buildto verify the production build still works. - Tests: Run
make testto verify the test suite still passes.
Step 5: Summarize and commit
Summarize what was done:
- Which packages were upgraded (notable version changes)
- Whether any type errors were introduced
- Whether the build succeeded
- Whether all tests passed
- Any issues that need manual attention
If there were failures, present the issues and ask how the user wants to proceed.
If everything passed, ask the user if they'd like to commit the changes. If yes, commit using the /commit skill.
