All authors

Claude Skills by yutna
github.com/yutna105 skills0 installs405 views
- Oo Crossing System BoundariesUse when an API or message must keep its shape as the model changes, when mapping partner data into the domain, or a contract needs a version.Votes: 0GitHub stars: 2
- Oo Deciding Object Or DataUse when deciding if something should be a class or just data, when classes are only getters and setters, or when shaping DTOs and records.Votes: 0GitHub stars: 2
- Oo DesignUse when starting a new module, feature or system in an object-oriented codebase, sizing design, or unsure which object rule applies.Votes: 0GitHub stars: 2
- Oo Designing AggregatesUse when choosing what one transaction keeps consistent, when two people saving at the same time break it, or one load pulls in too much.Votes: 0GitHub stars: 2
- Oo Designing Failure BehaviourUse when a method answers null for nothing found, when callers ignore or catch every exception, or when designing a module's error types.Votes: 0GitHub stars: 2
- Oo Designing For TestabilityUse when tests depend on today's date, random values or generated ids, when a constructor does real work, or code is made public only for tests.Votes: 0GitHub stars: 2
- Oo Designing InterfacesUse when an interface has methods its callers never use, when it copies public members of one type, or when picking interface or abstract base.Votes: 0GitHub stars: 2
- Oo Designing RepositoriesUse when designing a repository, when it grows a find method per screen, returns rows instead of objects, or updates single fields.Votes: 0GitHub stars: 2
- Oo Designing What To RecordUse when deciding what to log, measure or trace, when an incident cannot be explained from the records, or staff actions need an audit trail.Votes: 0GitHub stars: 2
- Oo Diagnosing CouplingUse when a change ripples through many classes, a part is hard to change or test alone, or you need to judge how tightly two parts are tied.Votes: 0GitHub stars: 2
- Oo Documenting Design DecisionsUse when nobody remembers why a design is this way, when a choice is costly to reverse, or before drawing a picture of the system for a redesign.Votes: 0GitHub stars: 2
- Oo Encapsulating State And BehaviourUse when callers check an object's state to decide for it, when any caller can set it into a broken state, or when a getter leaks a collection.Votes: 0GitHub stars: 2
- Oo Encapsulating What VariesUse when one requirement keeps changing, when adding a case means editing working code, or when deciding how flexible a design should be.Votes: 0GitHub stars: 2
- Oo Hiding ImplementationUse when many classes know how another stores or formats data, when callers must handle its internal errors, or must call its steps in order.Votes: 0GitHub stars: 2
- Oo Honouring SubstitutabilityUse when a subclass throws or breaks its parent's promise, when callers check which subtype they hold, or when deciding if a class may be extended.Votes: 0GitHub stars: 2
- Oo Inverting DependenciesUse when domain code depends on a database, framework or clock, when an object builds or looks up its collaborators, or when wiring objects.Votes: 0GitHub stars: 2
- Oo Layering The SystemUse when choosing layered, hexagonal or clean architecture, when an inner layer imports an outer one, or a screen needs its framework in tests.Votes: 0GitHub stars: 2
- Oo Limiting What An Object KnowsUse when code reaches through a chain of objects, when a method works mostly on another object's data, or when a class only forwards calls.Votes: 0GitHub stars: 2
- Oo Making Illegal States ImpossibleUse when flags or optional fields allow forbidden states, such as accepted and declined at once, or a reason set when nothing was cancelled.Votes: 0GitHub stars: 2
- Oo Making Work ReliableUse when calls to another system hang, time out or fail midway, when a retry could do the work twice, or a process spans steps that may fail.Votes: 0GitHub stars: 2
- Oo Managing Shared StateUse when several threads or tasks use one object at once, when a cache or counter goes wrong under load, or when choosing locks or one owner.Votes: 0GitHub stars: 2
- Oo Modeling LifecyclesUse when deciding which status transitions are allowed, when something cancelled can still go ahead, or a closed one is reopened and edited.Votes: 0GitHub stars: 2
- Oo Modeling Values And EntitiesUse when picking value or entity, when ids are raw strings or numbers, when editing one object changes another, or equal objects compare unequal.Votes: 0GitHub stars: 2
- Oo Naming Classes And MethodsUse when choosing what to call a class or method, when names end in Manager, Helper or Util, or when a name no longer says what the code does.Votes: 0GitHub stars: 2
- Oo Organising ModulesUse when grouping classes into packages, when packages depend on each other in a cycle, or choosing between a modular monolith and services.Votes: 0GitHub stars: 2
- Oo Patterns The Language ProvidesUse when strategy or command classes could be functions, when writing an iterator or visitor by hand, or when the language builds in the pattern.Votes: 0GitHub stars: 2
- Oo Placing Domain LogicUse when choosing a domain service, entity method or application service, when use cases repeat one check, or picking scripts or a domain model.Votes: 0GitHub stars: 2
- Oo Publishing Domain EventsUse when other parts react after a change is saved, when a use case grows a step per reaction, or a message goes out before the change commits.Votes: 0GitHub stars: 2
- Oo Recognising AntipatternsUse when a review names an antipattern such as a god class, lava flow or poltergeist, or when sorting code smells into the rules they break.Votes: 0GitHub stars: 2
- Oo Refactoring Toward Object DesignUse when restructuring working code without changing what it does, when a refactoring grew too big to finish, or when moving toward a pattern.Votes: 0GitHub stars: 2
- Oo Replacing Conditionals With PolymorphismUse when the same switch or if-chain on a type or status repeats across methods, or when choosing subclasses or pattern matching for cases.Votes: 0GitHub stars: 2
- Oo Reviewing Object DesignUse when reviewing a pull request or a design for object-design problems, or when deciding which review findings must block a merge.Votes: 0GitHub stars: 2
- Oo Separating Presentation From DomainUse when choosing MVC, MVP or MVVM for a screen, when a screen binds straight to domain objects, or when a background task updates a screen.Votes: 0GitHub stars: 2
- Oo Separating Reads From WritesUse when screens need data shaped unlike the model, when reads slow down writes, or when weighing read models, projections or event sourcing.Votes: 0GitHub stars: 2
- Oo Speaking The Domain LanguageUse when code words differ from what staff say, when staff talk about something no class models, or two teams mean different things by one word.Votes: 0GitHub stars: 2
- Oo Taming PersistenceUse when choosing active record or a data mapper, when a list fires one query per row, or when lazily loaded data fails outside its session.Votes: 0GitHub stars: 2
- Oo Testing Object Oriented CodeUse when writing tests for objects, when tests break although behaviour did not change, or when choosing a mock, stub or fake.Votes: 0GitHub stars: 2
- Oo Working With Legacy CodeUse when changing software that has no tests, when an old class must change before it can be tested, or replacing an old system piece by piece.Votes: 0GitHub stars: 2
- Oo Working Within A FrameworkUse when a framework wants domain classes to extend its base class, offer setters or carry its markers, or deciding how far to go along with it.Votes: 0GitHub stars: 2
- Oo Csharp AspnetUse when ASP.NET Core code picks a scoped or singleton lifetime, tracks entities with EF Core, or keeps logic out of MapPost endpoints and middleware.Votes: 0GitHub stars: 2
- Oo CsharpUse when plain C# with no framework needs a record or a struct, nullable reference types, a default interface member, or async and await.Votes: 0GitHub stars: 2
- Oo Java Jakarta EeUse when Java code on Jakarta EE picks a CDI bean or a @Stateless EJB, or a container transaction commits work that a refusal should undo.Votes: 0GitHub stars: 2
- Oo Java JavafxUse when JavaFX code binds controls to domain objects, decides where a view model's properties live, or changes the scene graph from a Task's thread.Votes: 0GitHub stars: 2
- Oo Java SpringUse when Java code on Spring wires beans with @Autowired or annotations, places @Transactional, or gives a JPA entity setters instead of its own rules.Votes: 0GitHub stars: 2
- Oo Java SwingUse when Java Swing code updates components off the event dispatch thread, decides rules inside listeners, or backs a JTable with domain objects.Votes: 0GitHub stars: 2
- Oo JavaUse when plain Java code with no framework needs a record or a sealed type, equals and hashCode, a checked exception, or a choice to make a class final.Votes: 0GitHub stars: 2
- Oo JavascriptUse when plain JavaScript (JS), with no framework or types, has no interface for a contract, or needs private state, frozen values or classes, not prototypes.Votes: 0GitHub stars: 2
- Oo KotlinUse when plain Kotlin code with no framework needs a data class or a sealed type, a choice of nullable types, delegation with by, or extension functions.Votes: 0GitHub stars: 2
- Oo Python DjangoUse when a Django project's models, views or signals carry business rules, or its apps are being drawn as boundaries.Votes: 0GitHub stars: 2
- Oo PythonUse when plain Python with no framework needs a Protocol or an ABC, a frozen dataclass, a mixin and its MRO, or a property instead of a setter.Votes: 0GitHub stars: 2