least-astonishment
CommunityWrite predictable, expected code.
Software Engineering#code quality#code review#refactoring#development principles#pola#predictability
Authorsalverius-tech
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers write code that behaves as users and other developers would expect, preventing surprising or counter-intuitive changes that can lead to bugs and confusion.
Core Features & Use Cases
- Predictable Changes: Ensures code modifications align with existing patterns and conventions.
- Scope Management: Prevents unintended side effects or scope creep during development.
- Use Case: When refactoring a function, this Skill guides you to ensure the new version behaves consistently with its name and the surrounding code, avoiding unexpected return types or hidden mutations.
Quick Start
Activate the least-astonishment skill before making any code changes to ensure they are predictable.
Dependency Matrix
Required Modules
None requiredComponents
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: least-astonishment Download link: https://github.com/salverius-tech/dotfiles/archive/main.zip#least-astonishment Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.