use-namedtuple-record

Installation
SKILL.md

use-namedtuple-record

When to Use

  • Need tuple-like efficiency with named access
  • Data should be immutable
  • Will use as dict keys or in sets
  • Want self-documenting code
  • Replacing anonymous tuples with meaning
  • Coordinates, points, records

When NOT to Use

  • Need mutable fields (use dataclass)
  • Need methods beyond basic access
  • Complex initialization logic needed

The Pattern

Use namedtuple for lightweight, immutable records with named fields.

Installs
1
GitHub Stars
4
First Seen
Jun 18, 2026
use-namedtuple-record — jimmc414/claude-code-plugin-marketplace