A2A agent protocol interoperability, Agent Cards, and MCP bridging / Protokol agen A2A, Agent Cards, dan integrasi MCP.
日本語の概要は準備中です。原文の説明を表示しています。
Expert guide for dependency upgrades, breaking change migrations, codemod automation, and package audit remediation / Panduan ahli untuk upgrade dependensi, migrasi breaking change, otomasi codemod, dan remediasi audit paket.
日本語の概要は準備中です。原文の説明を表示しています。
実行スコア 未検証
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
<a name="english"></a>
zero-to-prod-orchestrator (Phase 2 & Phase 7 upgrades), brainstorming, session-memory-manager.monorepo-architect (pnpm catalogs & workspace dependency alignment), living-codebase-ast-graph (breaking change blast radius).e2e-testing-expert (post-upgrade regression suites), autonomous-tdd-debugger (lockfile & test runner self-healing), production-ready-hardener (vulnerability audit).ci-cd-devops-architect (Renovate bot pipelines), zero-tech-debt-auditor (dead code & deprecated API removal).Production-grade guide for safely upgrading dependencies, migrating through breaking changes, and maintaining healthy dependency trees. Covers automated upgrade tooling (npm-check-updates, taze, Renovate Bot), major framework migration guides (React 18→19, Next.js 14→15, Tailwind v3→v4), codemod automation (jscodeshift, ts-morph), vulnerability remediation (npm audit, pnpm audit), lockfile hygiene, monorepo alignment (pnpm catalogs), and breaking change detection workflows.
Activate this skill when:
| Upgrade Type | Risk Level | Strategy | Tools |
|---|---|---|---|
| Patch (1.0.x) | 🟢 Low | Auto-merge after tests pass | Renovate, Dependabot |
| Minor (1.x.0) | 🟡 Medium | Auto-merge with manual review | Renovate + test suite |
| Major (x.0.0) | 🔴 High | Manual review, migration guide, branch | Manual + codemods |
| Security (any) | 🔴 Critical | Immediate upgrade, hotfix | npm audit fix, manual |
- [ ] Run `pnpm audit` / `npm audit` to identify vulnerabilities
- [ ] Check changelog/migration guide for the target version
- [ ] Ensure test suite is passing on current version (baseline)
- [ ] Create a dedicated branch for the upgrade
- [ ] Check peer dependency compatibility
- [ ] Review breaking changes list
- [ ] Identify files that need codemod transformation
- [ ] Back up lockfile before changes
# Using taze (recommended — supports monorepos)
npx taze major # Show available major upgrades
npx taze minor -w # Auto-write minor updates to package.json
npx taze -r # Recursive (monorepo)
# Using npm-check-updates
npx ncu # Show available updates
npx ncu -u # Auto-write updates to package.json
npx ncu --target minor # Only show minor updates
// renovate.json
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:best-practices"],
"labels": ["dependencies"],
"schedule": ["after 10pm and before 5am every weekday"],
"packageRules": [
{
"matchUpdateTypes": ["patch"],
"automerge": true,
"automergeType": "pr"
},
{
"matchUpdateTypes": ["minor"],
"automerge": true,
"automergeType": "pr",
"requiredStatusChecks": ["ci/test", "ci/build"]
},
{
"matchUpdateTypes": ["major"],
"automerge": false,
"labels": ["major-upgrade", "manual-review"]
},
{
"matchPackageNames": ["typescript", "react", "next"],
"automerge": false,
"labels": ["core-dependency"]
}
]
}
// Key breaking changes:
// 1. forwardRef no longer needed (ref is a regular prop)
// ❌ Before (React 19)
const Input = forwardRef<HTMLInputElement, Props>((props, ref) => (
<input ref={ref} {...props} />
));
// ✅ After (React 19)
function Input({ ref, ...props }: Props & { ref?: React.Ref<HTMLInputElement> }) {
return <input ref={ref} {...props} />;
}
// 2. useActionState replaces useFormState
// ❌ Before: import { useFormState } from 'react-dom'
// ✅ After: import { useActionState } from 'react'
// 3. use() hook for promises and context
// ✅ New: const data = use(fetchPromise);
// ✅ New: const theme = use(ThemeContext);
// Key changes:
// 1. params/searchParams are now async in page/layout/route
// ❌ Before: export default function Page({ params }: { params: { id: string } })
// ✅ After: export default async function Page({ params }: { params: Promise<{ id: string }> }) {
// const { id } = await params;
// 2. Caching: fetch() no longer cached by default
// ❌ Before: fetch() was cached by default
// ✅ After: fetch(url, { cache: 'force-cache' }) for explicit caching
// 3. Route handlers: GET is no longer cached by default
// Add: export const dynamic = 'force-static' if you want caching
/* Key changes: */
/* 1. Configuration moves from JS to CSS */
/* ❌ Before: tailwind.config.js with theme.extend */
/* ✅ After: @theme directive in CSS */
@import 'tailwindcss';
@theme {
--color-primary: oklch(0.6 0.2 260);
--font-sans: 'Inter', sans-serif;
--breakpoint-sm: 40rem;
}
/* 2. No more @tailwind directives */
/* ❌ Before: @tailwind base; @tailwind components; @tailwind utilities; */
/* ✅ After: @import 'tailwindcss'; */
/* 3. Renamed utilities */
/* ❌ Before: bg-opacity-50 */
/* ✅ After: bg-black/50 */
// codemods/remove-forward-ref.ts
import type { API, FileInfo } from 'jscodeshift';
export default function removeForwardRef(fileInfo: FileInfo, api: API) {
const j = api.jscodeshift;
const root = j(fileInfo.source);
// Find all forwardRef calls and transform them
root.find(j.CallExpression, {
callee: { name: 'forwardRef' },
}).forEach((path) => {
// Extract the inner component function
const args = path.node.arguments;
if (args.length > 0 && (args[0].type === 'ArrowFunctionExpression' || args[0].type === 'FunctionExpression')) {
// Replace forwardRef(...) with the inner function
j(path).replaceWith(args[0]);
}
});
// Remove forwardRef import
root.find(j.ImportSpecifier, { imported: { name: 'forwardRef' } }).remove();
return root.toSource({ quote: 'single' });
}
// Run: npx jscodeshift -t codemods/remove-forward-ref.ts src/ --extensions=tsx,ts
# Audit current state
pnpm audit # Show vulnerabilities
pnpm audit --fix # Auto-fix where possible
# For stubborn transitive dependencies
pnpm patch <package>@<version> # Create a local patch
# or
pnpm overrides # Force specific version in package.json
# package.json — Force resolution
{
"pnpm": {
"overrides": {
"vulnerable-package": ">=2.0.0"
}
}
}
# Find unused dependencies
npx depcheck # Detect unused deps
npx depcheck --ignores="@types/*" # Ignore type packages
# Find duplicate packages
pnpm dedupe # Deduplicate lockfile
pnpm why <package> # See why a package is installed
# Monorepo: Align versions with pnpm catalogs
# pnpm-workspace.yaml
catalog:
react: "^19.0.0"
typescript: "^5.7.0"
"@tanstack/react-query": "^5.60.0"
| Anti-Pattern | Problem | Correct Approach |
|---|---|---|
| Upgrading all deps at once | Hard to identify breaking changes | Upgrade one major dep at a time |
| Ignoring peer dependency warnings | Runtime errors, subtle bugs | Resolve all peer dep conflicts |
| No test suite before upgrading | Can't verify nothing broke | Ensure tests pass before AND after |
npm audit fix --force blindly | Can introduce breaking changes | Review each fix manually for major bumps |
| Skipping changelogs | Missing breaking changes | Always read CHANGELOG/migration guide |
| No lockfile in version control | Non-reproducible builds | Always commit pnpm-lock.yaml |
<a name="bahasa-indonesia"></a>
zero-to-prod-orchestrator (Upgrade Fase 2 & Fase 7), brainstorming, session-memory-manager.monorepo-architect (katalog pnpm & penyelarasan dependensi workspace), living-codebase-ast-graph (radius dampak breaking change).e2e-testing-expert (suite regresi pasca-upgrade), autonomous-tdd-debugger (pemulihan mandiri lockfile & test runner), production-ready-hardener (audit kerentanan).ci-cd-devops-architect (pipeline bot Renovate), zero-tech-debt-auditor (penghapusan kode mati & API usang).Panduan tingkat produksi untuk upgrade dependensi yang aman, migrasi melalui breaking change, dan pemeliharaan dependency tree yang sehat. Mencakup tooling upgrade otomatis (taze, Renovate Bot), panduan migrasi framework utama (React 18→19, Next.js 14→15, Tailwind v3→v4), otomasi codemod (jscodeshift, ts-morph), remediasi kerentanan (pnpm audit), kebersihan lockfile, dan penyelarasan dependensi monorepo (pnpm catalogs).
Aktifkan skill ini ketika:
| Tipe Upgrade | Tingkat Risiko | Strategi Penanganan | Tooling yang Dianjurkan |
|---|---|---|---|
| Patch (1.0.x) | 🟢 Rendah | Auto-merge setelah seluruh test suite lulus | Renovate, Dependabot |
| Minor (1.x.0) | 🟡 Sedang | Auto-merge dengan review PR singkat | Renovate + CI pipeline test |
| Mayor (x.0.0) | 🔴 Tinggi | Review manual, pelajari changelog, branch terpisah | Manual + Codemod AST |
| Keamanan (CVE) | 🔴 Kritis | Upgrade darurat dan rilis hotfix langsung | pnpm audit --fix / manual patch |
taze)# Tampilkan upgrade versi mayor yang tersedia di workspace
npx taze major
# Tulis otomatis pembaruan minor ke package.json
npx taze minor -w
# Jalankan pemindaian secara rekursif di seluruh paket monorepo
npx taze -r
renovate.json){
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:best-practices"],
"labels": ["dependencies"],
"packageRules": [
{
"matchUpdateTypes": ["patch"],
"automerge": true,
"automergeType": "pr"
},
{
"matchUpdateTypes": ["minor"],
"automerge": true,
"requiredStatusChecks": ["ci/test", "ci/build"]
},
{
"matchUpdateTypes": ["major"],
"automerge": false,
"labels": ["major-upgrade", "manual-review"]
}
]
}
forwardRef tidak lagi dibutuhkan (prop ref diteruskan seperti prop biasa). useActionState menggantikan useFormState. Hook use() dapat membaca promise dan React Context secara langsung.params dan searchParams pada page/layout/route kini bersifat asinkron (Promise<{ id: string }>). Default fetch() tidak lagi di-cache secara otomatis (cache: 'force-cache' harus dideklarasikan secara eksplisit jika diinginkan).tailwind.config.js ke CSS native melalui direktif @theme. Direktif lama @tailwind base; diganti dengan @import 'tailwindcss';.forwardRef Menggunakan jscodeshift// codemods/hapus-forward-ref.ts
import type { API, FileInfo } from 'jscodeshift';
export default function transform(fileInfo: FileInfo, api: API) {
const j = api.jscodeshift;
const root = j(fileInfo.source);
root.find(j.CallExpression, {
callee: { name: 'forwardRef' },
}).forEach((path) => {
const args = path.node.arguments;
if (args.length > 0) {
j(path).replaceWith(args[0]);
}
});
root.find(j.ImportSpecifier, { imported: { name: 'forwardRef' } }).remove();
return root.toSource({ quote: 'single' });
}
npm audit fix --force Secara Membabi Buta: Dapat memaksa install versi mayor yang merusak kode aplikasi.まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
A2A agent protocol interoperability, Agent Cards, and MCP bridging / Protokol agen A2A, Agent Cards, dan integrasi MCP.
日本語の概要は準備中です。原文の説明を表示しています。
Expert guide for automated and manual Web Accessibility (a11y) testing — axe-core, Pa11y, Playwright a11y, screen reader testing, and WCAG 2.2 Level AA/AAA compliance / Panduan ahli pengujian aksesibilitas web.
日本語の概要は準備中です。原文の説明を表示しています。
Web accessibility testing with axe-core, Playwright, and WCAG 2.2 / Pengujian aksesibilitas web axe-core, Playwright, dan WCAG 2.2.
日本語の概要は準備中です。原文の説明を表示しています。
Expert guide for intelligent model cascading and routing — complexity-scored task routing from Flash/Haiku to Sonnet/Opus/Astra, dynamic escalation with quality gates, 40-60% token cost reduction while maintaining output quality / Panduan ahli untuk kaskade dan routing model cerdas — routing tugas berbasis skor kompleksitas dari Flash/Haiku ke Sonnet/Opus/Astra, eskalasi dinamis dengan gerbang kualitas, pengurangan biaya token 40-60% dengan kualitas output terjaga.
日本語の概要は準備中です。原文の説明を表示しています。
Model cascading & complexity-scored routing (Grok, Gemini, Claude) / Routing kaskade model & scoring kompleksitas (Grok, Gemini, Claude).
日本語の概要は準備中です。原文の説明を表示しています。
Affective computing, emotion AI, and multimodal sentiment analysis / Komputasi afektif, AI emosional, dan analisis sentimen multimodal.
日本語の概要は準備中です。原文の説明を表示しています。