use-readonly

Community

Prevent mutation bugs with readonly.

Authorluyi985
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Readonly signals intent and helps TypeScript catch accidental mutations, reducing mutation-related bugs when passing arrays or objects to functions.

Core Features & Use Cases

  • Signals intent for inputs to prevent accidental mutations
  • Applies to arrays and objects in function parameters
  • Helps design stable, non-mutating APIs and shared-state code
  • Debugging unexpected data changes and safer API design

Quick Start

Apply readonly to function parameters to prevent accidental mutations.

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: use-readonly
Download link: https://github.com/luyi985/lyi-bash/archive/main.zip#use-readonly

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.