chsh-sk-ncs-migrate

Migrates NCS applications between SDK versions with per-hop builds and hardware verification.

1|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/chshzh/claude --skill chsh-sk-ncs-migrate-chshzh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chsh-sk-ncs-migrate
Source: https://github.com/chshzh/claude/tree/main/skills/chsh-sk-ncs-migrate
Command: npx skills add https://github.com/chshzh/claude --skill chsh-sk-ncs-migrate-chshzh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Upgrading an nRF Connect SDK (NCS) project to a newer version often breaks builds and CI after a west.yml revision bump, and manually tracking Kconfig renames, API changes, and board syntax updates across release notes is error-prone. ## Core Features & Use Cases - Guided multi-hop migration: Walks each intermediate NCS release (e.g. v2.9 → v3.0 → v3.1), applying migration-guide changes one hop at a time instead of risky direct jumps. - Baseline-first workflow: Builds and smoke-tests the app on its source version, tags a git rollback point, and refuses to migrate broken code. - Hardware-verified hops: Every hop ends with a clean west build, flash, and UART smoke test compared against the baseline log before committing. - Use Case: Your CI fails after bumping sdk-nrf from v3.2 to v3.3 in west.yml. The skill reads the v3.3 migration guide and release notes, applies the Kconfig and board-target changes, rebuilds, flashes the board, and commits the verified hop. ## Quick Start Migrate my NCS application from v3.2 to v3.3 and verify each step builds and runs on my nrf54l15dk board.

Frequently Asked Questions about chsh-sk-ncs-migrate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate an NCS project to a newer SDK version?

First establish a working baseline build and hardware smoke test on the current version, then bump the sdk-nrf revision in west.yml one release at a time. For each hop, apply the official migration guide changes, rebuild with west, flash, and verify against the baseline UART log.

Should I jump directly from NCS v2.9 to v3.3 or migrate hop by hop?

Multi-hop migration through each intermediate release is the recommended default because it isolates debugging to one version's changes at a time. A direct jump is only offered when the user explicitly accepts the higher risk.

Why does my build break after bumping the NCS revision in west.yml?

New NCS releases rename Kconfig options, move headers, change API signatures, and alter board target syntax such as the HWMv2 board/soc/core format. The per-version migration guide and release notes list each required change to apply.

Can I migrate an NCS app without hardware to flash and test?

No, the workflow requires flashing and a functional smoke test on hardware after every hop. A clean build alone is not accepted as proof of migration because behavioral regressions only appear at runtime.

What happens when the migration guide does not cover a removed API?

The process stops and asks the user how to proceed rather than guessing at API semantics. This applies to removed functions without replacements, custom patches that no longer apply, and third-party modules pinned to old SHAs.

Is migrating from very old NCS versions like pre-v2.5 practical?

Sources older than v2.6 involve major build system and Kconfig hierarchy changes, so expect significant work. For pre-v2.5 sources, a rewrite on the target version may be faster, and that trade-off is raised with the user up front.