singleton-pattern

Installation
SKILL.md

Singleton Pattern

Table of Contents

Singletons are classes which can be instantiated once, and can be accessed globally. This single instance can be shared throughout our application, which makes Singletons great for managing global state in an application.

When to Use

  • Use this when you need exactly one instance of a class shared across the entire application
  • This is helpful for managing global state, configuration, or shared resources

When NOT to Use

Related skills
Installs
308
GitHub Stars
202
First Seen
Mar 30, 2026