ncs-architecture

Identify architectural patterns for Nordic NCS projects between multi-threaded and SMF+zbus designs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides teams in selecting the most suitable architecture for Nordic NCS projects, helping to avoid over- or under-engineering by comparing simple multi-threaded and SMF+zbus modular designs.

Core Features & Use Cases

  • Clear criteria for choosing between Simple Multi-Threaded (1-3 threads, quick prototypes) and SMF+zbus Modular (4+ modules, complex state machines).
  • Example scenarios: asset-tracker style applications, sensor hubs, modular gateways requiring scalable communication.
  • Migration guidance: how to transition from a basic multi-threaded approach to a modular SMF+zbus architecture.

Quick Start

Review the architecture patterns guide and select the pattern most suited to your project; then apply the recommended template or module layout to begin structuring your project for scalable development.

Frequently Asked Questions about ncs-architecture

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

FAQPage Schema
How do I choose between simple multi-threaded and SMF+zbus modular architecture for Nordic NCS projects?

Choose simple multi-threaded architecture for quick prototypes with 1-3 threads, while SMF+zbus modular architecture suits large systems with 4+ modules requiring strict maintainability and structured state machines.

What is the zbus framework used for in NCS modular design?

Zbus provides decoupled communication between modules in Nordic NCS projects, enabling clear module boundaries and scalable communication for complex applications like modular gateways and sensor hubs.

How do I migrate a Nordic NCS project from multi-threaded to SMF state machine architecture?

Migration from a basic multi-threaded approach to a modular SMF+zbus architecture is supported through structured guidance, transitioning your project to decoupled communication and clear module boundaries.

When do I need state machines for Nordic NCS development?

State machines are needed when your Nordic NCS project scales to 4+ modules with complex logic, requiring structured state management (SMF) and strict maintainability beyond simple prototypes.

Does the SMF and zbus architecture pattern work for asset-tracker style applications?

Yes, the SMF+zbus modular architecture applies to asset-tracker style applications, sensor hubs, and modular gateways that require scalable communication and complex state machine management.

What are the limitations of simple multi-threaded design in NCS projects?

Simple multi-threaded design limits scalability and maintainability in NCS projects with 4+ modules, lacking the decoupled communication and structured state machines provided by the SMF+zbus modular approach.