convention-tell-dont-ask
CommunityTell, Don't Ask: push decisions to objects.
AuthorsunLeee
Version1.0.0
Installs0
System Documentation
What problem does it solve?
External code should not drive decisions by inspecting object state; objects should encapsulate behavior.
Core Features & Use Cases
- Enforces encapsulation by moving decision logic into objects.
- Improves maintainability by reducing external state checks.
- Use Case: refactor workflows to have domain objects perform actions instead of their containers deciding flows.
Quick Start
Apply the Tell, Don't Ask principle by refactoring client code to invoke behavior on objects rather than inspecting their state.
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: convention-tell-dont-ask Download link: https://github.com/sunLeee/optimization/archive/main.zip#convention-tell-dont-ask 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 471,000+ vetted skills library on demand.