data-structures

Community

Set Python data-structure standards with ease.

Authorlibertininick
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides Python data-structure conventions to standardize when choosing between Pydantic models, dataclasses, and other data containers, ensuring consistency across the codebase and code reviews.

Core Features & Use Cases

  • Validation-first modeling: Prefer Pydantic BaseModel for external API boundaries and validation.
  • Lightweight internal containers: Use dataclasses for simple internal data containers with optional immutability.
  • Decision guidance: Clear decision flow for when to apply Pydantic vs dataclasses, including examples and best practices.

Quick Start

Adopt the conventions in your code review and project scaffolding. Start by identifying whether a data structure represents external input/output or internal state, then apply the recommended pattern accordingly.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: data-structures
Download link: https://github.com/libertininick/chain-reaction/archive/main.zip#data-structures

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.