Skip to content
rd-skills
All skills

design-pattern-selection

FoundationJIT only

analysis-agent/task-agent/review-agent: use when a current variation, lifecycle, protocol, or concurrency force may justify a pattern; skip pattern-name or placement work.

Group
Engineering workflow
Supported roles
MainAnalysisTaskReview
Source
SKILL.md

Use when

Trigger signals that make this skill the right owner

  • design pattern selection current force variation lifecycle protocol extension object relationship
  • factory builder strategy state command adapter facade proxy decorator observer pubsub mediator repository registry provider singleton pool worker queue pipeline fan-out
  • pattern misuse speculative abstraction hidden IO global mutable state teardown cancellation backpressure compatibility invariant

Do not use when

Anti-triggers — as binding as the triggers above

  • pattern name appears without a current variation lifecycle protocol concurrency or extension force
  • the unresolved decision is placement refactoring language performance or public API shape without a pattern choice

Required inputs

What must be supplied before this skill can decide anything

  • current force and reachable variants or consumers
  • simpler direct or existing repository alternative
  • object lifecycle effect concurrency and contract evidence for the proposed relationship

Output contract

What this skill owes the next role

  • pattern decision with current forces, selected or rejected relationship, simpler direct alternative, construction/lifecycle/effect obligations, evidence and proof limits, specialist handoffs, and residual risk

Escalation signals

When this skill must hand the decision back

  • A proposed pattern can conceal global state IO teardown overload invariant enforcement or public compatibility

Loaded by

This skill never owns a task. These professionals may pull it in as Layer 3.

Targeted references

Each reference carries its own load condition. None of them enter context by default.

ReferenceLoad whenDo not load whenRequired by
pattern-evidence-record.mdevidence-patternA design-pattern candidate needs current-force repository-fit lifecycle IO concurrency or compatibility evidenceNo design pattern is selected or direct local structure already resolves the current forceAnalysisTaskReview