一键导入
tech-analyze-bumps
Analyze Dependabot PRs and generate risk-based merge plan with priority order
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze Dependabot PRs and generate risk-based merge plan with priority order
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guides and best practices for working with Neon Serverless Postgres. Covers setup, connection methods, branching, autoscaling, scale-to-zero, read replicas, connection pooling, Neon Auth, and the Neon CLI, MCP server, REST API, TypeScript SDK, and Python SDK. Use when users ask about "Neon setup", "connect to Neon", "Neon project", "DATABASE_URL", "serverless Postgres", "Neon CLI", "neonctl", "Neon MCP", "Neon Auth", "@neondatabase/serverless", "@neondatabase/neon-js", "scale to zero", "Neon autoscaling", "Neon read replica", or "Neon connection pooling".
| Production-tested setup for Tailwind CSS v4 with shadcn/ui, Vite, and React. Use when: initializing React projects with Tailwind v4, setting up shadcn/ui, implementing dark mode, debugging CSS variable issues, fixing theme switching, migrating from Tailwind v3, or encountering color/theming problems. Covers: @theme inline pattern, CSS variable architecture, dark mode with ThemeProvider, component composition, vite.config setup, common v4 gotchas, and production-tested patterns.
Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".
Apply modern web development best practices for security, compatibility, and code quality. Use when asked to "apply best practices", "security audit", "modernize code", "code quality review", or "check for vulnerabilities".
Optimize Core Web Vitals (LCP, INP, CLS) for better page experience and search ranking. Use when asked to "improve Core Web Vitals", "fix LCP", "reduce CLS", "optimize INP", "page experience optimization", or "fix layout shifts".
Orchestrate a 4-agent cyber defense pipeline to analyze log files for threats. Use when investigating security logs, detecting anomalies in access patterns, classifying breach severity, or generating incident reports from nginx/auth/syslog files.
| name | tech-analyze-bumps |
| description | Analyze Dependabot PRs and generate risk-based merge plan with priority order |
| version | 1.0.0 |
| effort | medium |
| allowed-tools | ["Bash","Read"] |
| tags | ["dependabot","dependencies","security","semver","merge-plan"] |
Automates analysis of Dependabot PRs to generate a risk-categorized merge plan.
gh pr list to get all open Dependabot PRs on FlorianBruniaux/starmapperpackage.json)/tech-analyze-bumps
This will:
FlorianBruniaux/starmapperscripts/analyze_bumps.py to generate the report## 📊 Dependabot Bump Analysis
### 🟢 LOW RISK (3 PRs)
- #42: typescript 5.4.0 → 5.5.2 (devDep minor)
- #41: eslint 9.1.0 → 9.3.0 (devDep minor)
### 🟡 MEDIUM RISK (2 PRs)
- #45: next 15.1.0 → 15.2.0 (dep minor)
- #44: tailwindcss 4.0.0 → 4.1.0 (dep minor)
### 🔴 HIGH RISK (1 PR - Breaking Changes)
- #47: maplibre-gl 4.7.0 → 5.0.0 (major — MapLibre visual regression risk)
### 🚨 CRITICAL (1 PR - Neon adapter sync)
- #48: @prisma/adapter-neon 7.0.0 → 7.1.0 without prisma 7.1.0 → mismatch risk
## 🎯 Merge Plan
### Phase 1: DevDeps (LOW)
1. Merge #42, #41
2. Run: `rtk tsc && pnpm lint`
### Phase 2: Runtime Minor (MEDIUM)
3. Merge #45 (check Vercel build)
4. Merge #44 (verify Tailwind v4 theme tokens)
### Phase 3: Major Bumps (HIGH)
5. Create branch `chore/maplibre-v5-bump`
6. Merge #47, test map rendering + cluster interactions
### Phase 4: Critical (Prisma sync)
7. Merge Prisma + adapter pair together
8. Run `npx prisma generate && rtk tsc`
@types/*rtk tsc checkgetClusterExpansionZoom Promise API, layer paint properties)chore/<name>-bump branch, test locally before PRprisma + @prisma/adapter-neon together in the same commitIf ALL PRs have failing checks:
⚠️ OBSERVATION CRITIQUE
TOUTES les PRs ont des checks qui échouent (X/Y failed).
Cela indique probablement :
- Problème TypeScript global (rtk tsc pour diagnostiquer)
- Conflit de versions entre dépendances
- Build Next.js cassé
AUCUNE PR ne peut être mergée sans risque dans l'état actuel.
Action: rtk tsc en local pour diagnostiquer avant de merger quoi que ce soit.
After each merge phase:
# Type check (always first)
rtk tsc
# Lint
pnpm lint
# Unit tests
pnpm test
# Prisma regeneration (if Prisma or adapter bumped)
npx prisma generate
rtk tsc # Re-verify after generate
# Visual check (MapLibre or UI deps)
pnpm dev # Open localhost:3000, test map + cluster + popups
prisma (devDep) + @prisma/adapter-neon (dep)npx prisma generate && rtk tscgetClusterExpansionZoom Promise-based)chore/maplibre-vX-bump, test:
# Weekly review
/tech-analyze-bumps
# Phase 1: Merge LOW (devDeps)
gh pr merge 42 --squash
gh pr merge 41 --squash
rtk tsc # ✅ Pass
# Phase 2: MEDIUM individually
gh pr merge 45 --squash
pnpm build # ✅ Next.js build OK
# Phase 3: HIGH (MapLibre)
git checkout -b chore/maplibre-v5-bump
gh pr checkout 47
pnpm dev
# Test: map renders, clusters work, popups open → ✅
# Phase 4: CRITICAL (Prisma sync)
gh pr merge 48 --squash # Merge adapter + prisma together
npx prisma generate
rtk tsc # ✅ 0 errors