agentsclimarketplace

Nim

Skill G1Joshi/Agent-Skills/skills/languages/nim

Nim systems programming with Python-like syntax. Use for .nim files.From its SKILL.md

Install
npx -y skills add G1Joshi/Agent-Skills --skill nim

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.1 KB, 269 tokens by cl100k_base, as published. Nobody here has run it

Nim

Nim v2.0 (2023/2024) made ORC (Deterministic Memory Management) the default. It compiles to C/C++/JS and offers Python-like syntax with C-like speeds.

When to Use

  • Game Development: Hot reloading and performance.
  • Embedded: Compiles to small C code requiring no runtime.
  • Scripting: Compiles so fast it feels like a script (nim r).

Core Concepts

Metaprogramming

First-class support. You can rewrite the AST to create DSLs.

ORC

Cycle-collecting ARC. Automatic memory management without pauses.

Backends

Can compile to C, C++, Objective-C, or JavaScript.

Best Practices (2025)

Do:

  • Use ARC/ORC: The default in v2.0. Clean up is deterministic (destructors).
  • Use f-strings: fmt"Hello {name}".
  • Use karax: For frontend (compiling Nim to JS).

Don't:

  • Don't mix styles: Choose PascalCase or camelCase (Nim is style-insensitive but consistency matters).

References

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.