agentleFS
easyzoomeasyzoom/aix-skills/skills/nrf-connect-sdk-integration/SKILL.md

nrf-connect-sdk-integration

Skill36 starsChanged 5 months agoMITView on GitHub

Use when integrating, configuring, or debugging Nordic nRF Connect SDK, Zephyr-based nRF projects, BLE, SoftDevice Controller, Partition Manager, DFU, or nRF drivers

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to debug nRF Connect SDK by combining Zephyr evidence with Nordic-specific layers: board files, Partition Manager, Bluetooth …

    line 10
  2. Distinctive:

    Use this skill when:

    line 16
  3. Very specific:

    Do not use this skill for Zephyr-only boards with no Nordic-specific stack.

    line 25
  4. Very specific:

    Check .config, zephyr.dts, Partition Manager output, and image manifests.

    line 44
  5. Distinctive:

    Verify pins, clocks, regulators, nrfx drivers, and Nordic-specific Kconfig.

    line 47
  6. Distinctive:

    Check MCUboot, signing, slot layout, image confirmation, and rollback state.

    line 54
  7. Distinctive:

    Before claiming NCS integration works:

    line 70

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

nRF Connect SDK Integration

Overview

Use this skill to debug nRF Connect SDK by combining Zephyr evidence with Nordic-specific layers: board files, Partition Manager, Bluetooth controller, DFU, security, and nrfx drivers. NCS issues often span multiple generated files.

When To Use

Use this skill when:

  • The user is working with nRF Connect SDK, nRF52/nRF53/nRF54/nRF91, VS Code extension, west, or Zephyr-based Nordic samples.
  • The issue involves BLE, SoftDevice Controller, MCUboot, DFU, Partition Manager, TF-M, modem, nrfx, or board overlays.
  • The app behavior depends on generated partitions, child images, or multi-core images such as network core firmware.

Do not use this skill for Zephyr-only boards with no Nordic-specific stack. Use zephyr-integration instead.

First Questions

Ask for:

  • NCS version, Zephyr revision, SoC, board, sample/app, and build command.
  • prj.conf, overlays, Partition Manager output, child images, and sysbuild use.
  • Bluetooth role, controller settings, security/pairing, and connection logs.
  • DFU/MCUboot setup, image slots, signing, and boot logs if update-related.
  • Current build error, runtime log, fault dump, or radio behavior.

Debug Workflow

  1. Freeze SDK and build shape. Confirm NCS version, board target, sysbuild, child images, and pristine build.
  2. Inspect generated files. Check .config, zephyr.dts, Partition Manager output, and image manifests.
  3. Prove board and driver config. Verify pins, clocks, regulators, nrfx drivers, and Nordic-specific Kconfig.
  4. Debug BLE by layer. Separate host APIs, controller config, advertising, connection parameters, security, GATT, and radio coexistence.
  5. Debug DFU by image chain. Check MCUboot, signing, slot layout, image confirmation, and rollback state.
  6. Handle multi-core devices explicitly. For nRF53/nRF54, verify network core image, IPC, and core-specific logs.

Common Failures

  • Partition Manager output differs from the assumed flash layout.
  • Child image config overrides the parent app's assumptions.
  • BLE controller options do not match role, PHY, or connection count.
  • Network core firmware is missing or built from stale configuration.
  • DFU image is signed correctly but not confirmed after first boot.
  • TF-M or secure partition settings are changed without matching memory layout.

Verification

Before claiming NCS integration works:

  • State NCS version, board, build mode, and generated partition layout.
  • Confirm .config, zephyr.dts, and child image evidence.
  • Confirm BLE/DFU/modem logs for the exercised path.
  • Confirm multi-core image status when using nRF53/nRF54 class devices.

Example

User:

nRF5340 BLE 广播不出来。

Agent:

  1. Checks NCS version, board target, child images, and network core firmware.
  2. Verifies Bluetooth host/controller config and generated logs.
  3. Tests a Nordic sample before changing application GATT code.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.