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.
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.md
SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use
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.
View original Markdown
---
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`.
Community Reviews & Field Notes
Tried this skill on your own project? Share the model you used and the results you got.