# Knowledge Capture for MCUboot, mbedTLS, NetX, TinyCrypt, and Ocrypto

Capture and organize knowledge about MCUboot, mbedTLS v3/v4, TF-PSA-Crypto, NetX secure crypto, TinyCrypt, and Ocrypto into specific skill folders for future reference. This includes facts, file paths, configuration details, and open questions.

**Canonical URL:** https://skillshunter.net/skills/discovered-43d44eacef8838055e7a7c3d3a584f5c9a3a0616087c5a60

**JSON URL:** https://skillshunter.net/api/public/v1/skills/discovered-43d44eacef8838055e7a7c3d3a584f5c9a3a0616087c5a60

**Markdown URL:** https://skillshunter.net/skills/discovered-43d44eacef8838055e7a7c3d3a584f5c9a3a0616087c5a60.md

**Instructions download URL:** https://skillshunter.net/skills/discovered-43d44eacef8838055e7a7c3d3a584f5c9a3a0616087c5a60/download

**Category:** Software & Development

**Source URL:** https://github.com/minhnguyenyf/skills/blob/7213d81500a27f3a96028144f5342ccfe4efbe4a/common/knowledge-capture/SKILL.md

**Source commit:** 7213d81500a27f3a96028144f5342ccfe4efbe4a

**Listing approved at:** 2026-11-30

**Created at:** 2026-11-29T11:12:07.000000Z

**Updated at:** 2026-11-30T06:52:26.000000Z

## Catalog information

The following descriptions are catalog information. Listing approval does not mean the skill has been tested or is safe for every environment.

### Editor's note

Before investigating any topic, check the corresponding skill folder for existing notes to avoid duplication. Notes must be concise, using exact file paths and symbol names. If the source has changed since the note was written, update the note accordingly.

### When to use it

- Documenting findings about MCUboot ports and flash maps
- Recording differences between mbedTLS v3 and v4
- Capturing details about NetX secure crypto and SCE/RSIP adaptors
- Organizing knowledge about TinyCrypt ports and deprecated names
- Saving insights about Ocrypto library and build configurations

## Skill instructions

---
name: knowledge-capture
description: Rule for saving what you learn about MCUboot, mbedTLS v3/v4, TF-PSA-Crypto, NetX secure crypto, TinyCrypt, or Ocrypto into the matching skill folder, so future sessions don't re-investigate. Use whenever you read source, debug, or verify something about these libraries in this repo.
metadata:
  type: feedback
---

# Knowledge capture for MCUboot, mbedTLS, NetX, TinyCrypt, and Ocrypto work

When you look into MCUboot, mbedTLS v3, mbedTLS v4, TF-PSA-Crypto, NetX secure crypto, TinyCrypt, or Ocrypto in this repo, write what you learned to the matching skill folder in the same turn. Don't leave it for a summary at the end.

## Where to write

| Topic | Folder |
|---|---|
| MCUboot port, RSIP or SCE9 protected mode, flash map, OSPI or QSPI, key install | `~/.claude/skills/mcuboot/` (use an existing skill folder, or create `mcuboot/<topic>/SKILL.md`) |
| mbedTLS v3 to v4 diffs, TF-PSA-Crypto, PSA storage, littlefs | `~/.claude/skills/psa/` (use `mbedtls-v4-migration-notes/` or create `psa/<topic>/SKILL.md`) |
| NetX secure crypto, SCE/RSIP adaptor layer, `rm_netx_secure_crypto`, per-engine stubs | `~/.claude/skills/netx/` (use `netx/SKILL.md`, or create `netx/<topic>/SKILL.md`) |
| Oberon Ocrypto library, `rm_ocrypto_port` build | `~/.claude/skills/ocrypto/` (use the existing folder, or create `ocrypto/<topic>/SKILL.md`) |
| TinyCrypt port, `rm_tinycrypt_port`, TRNG, deprecated names | `~/.claude/skills/tinycrypt/` (no folder yet: create `tinycrypt/SKILL.md` on the first note) |
| Repo-wide rules, commit policy, tooling | `~/.claude/skills/common/` |

Check the folder for an existing note on the topic before you write a new one. Update that note instead of making a duplicate.

## What to record

- The fact, in one or two lines, and where it was verified (file path and line).
- Which configuration or build it applies to (device, board, project, toolchain).
- Dead ends you ruled out, with the reason, so nobody repeats them.
- Open questions and the command or file that would settle them.

Keep notes short. Use exact file paths and symbol names, so a future session can check the claim quickly.

## Keep skill files compact

Always write skill files as compact as possible. They are read at the start of every session, so every extra line costs tokens. Record only:
- **Status:** what is done, what is open, and what was verified.
- **Knowledge:** facts, file paths, symbol names, device and config mappings, and rules to follow.

Do not keep:
- Error logs, debugging steps, or narratives of how a bug was found.
- Issues that are resolved and no longer affect the code.
- Duplicate or superseded notes. Keep only the current fact.

When a note becomes long, compact it in place. Do not add a new file for the same topic.

## Before you investigate again

Read the matching skill folder first. If the answer is there, use it, and check the cited file only if the note looks stale.

## Keeping it current

- If the source changed since the note was written, update the note.
- If a note turns out to be wrong, correct it and say what changed.

## Saving

Skills repo edits are committed and pushed to the checked-out branch (`origin/<branch>`). If the auto-commit hook did not fire, commit and push by hand, as described in `common/auto-commit-skills/SKILL.md`.

