Install
$ agentstack add skill-juanmarchetto-agent-skills-c-cpp-analyzer ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README — it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
C/C++ Analysis for Migration
Difficulty Classification
Uses tree-sitter AST analysis with regex fallback:
- Easy: Pure functions, simple arithmetic, no pointers, 30 lines → Medium):
- Pointer declarations
- Cast expressions
malloc/callocusage
Pattern Detection
| C Pattern | Rust Equivalent | Difficulty | |-----------|----------------|------------| | ptr + len pairs | &[T] slices | Medium | | Error code returns | Result | Easy | | NULL checks | Option | Easy | | malloc/free | Vec, Box | Medium | | char* strings | &str, String | Medium | | Manual iteration with pointers | .iter(), .enumerate() | Medium | | goto cleanup | Drop trait, ? operator | Hard | | Global mutable state | Function parameters, OnceLock | Hard | | Bit manipulation | Same ops with explicit types | Medium | | union | enum with variants | Hard | | Function pointers / callbacks | Enum dispatch (preferred) or Fn traits | Hard | | Linked lists (next/prev) | Vec (flatten) | Medium | | Type tag + union (tagged union) | enum with data variants | Medium-Hard | | Recursive data structures | enum + Box | Medium | | Coroutine via switch/case | Explicit state machine (match loop) | Hard | | Printf format strings | format!() / println!() macros | Easy-Medium | | strdup/strcpy | .to_string(), .clone() | Easy |
Size-Based Strategy
| LOC Range | Strategy | Chunking | Repair Iters | |-----------|----------|----------|--------------| | 4000 LOC — may exceed API token limits even with chunking
Migration Ceiling (learned from miniz)
Some patterns have NO safe Rust equivalent and require full algorithm redesign:
- Coroutine via switch/case (Duff's device) → explicit state machine
- Large structs with internal pointers (~300KB) → redesign needed
- Bit-level DEFLATE/INFLATE → requires exact semantic preservation
- These files need "best-effort" mode: output highest-quality version for developer to finish
Powered by Noricum — autonomous C/C++ to Rust migration agent
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: JuanMarchetto
- Source: JuanMarchetto/agent-skills
- License: MIT
- Homepage: https://github.com/JuanMarchetto/agent-skills
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.