observer-pattern-implementor

observer-pattern-implementor is a skill for Claude Code from bookforge-ai/bookforge-skills. It costs 100 tokens per session (5,385 once invoked), scanned A, original, CC-BY-SA-4.0.

A design approach where one object notifies several dependent objects when its state changes. This is also called publish-subscribe behavior.

In plain words
What is it for?
Use it for spreadsheet models and chart views, user-interface updates, event systems, or other one-to-many notifications.
Why use it?
It removes the need for the changing object to know every detail about the objects that react to it. Dependents can update automatically when data changes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the design-patterns-gof plugin — 15 skills shipped together

Good fit Use it for spreadsheet models and chart views, user-interface updates, event systems, or other one-to-many notifications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bookforge-ai/bookforge-skills/observer-pattern-implementor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bookforge-ai/bookforge-skills --skill observer-pattern-implementor
Clone the repo
git clone --depth 1 https://github.com/bookforge-ai/bookforge-skills

Made for: Claude Code.

Or install design-patterns-gof, the plugin that ships this one along with the rest of its 15 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for observer-pattern-implementor

README.md
[![agentmods](https://agentmods.dev/badge/skills/bookforge-ai/bookforge-skills/observer-pattern-implementor/github.svg)](https://agentmods.dev/skills/bookforge-ai/bookforge-skills/observer-pattern-implementor)
Your own site
<a href="https://agentmods.dev/skills/bookforge-ai/bookforge-skills/observer-pattern-implementor"><img src="https://agentmods.dev/badge/skills/bookforge-ai/bookforge-skills/observer-pattern-implementor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for observer-pattern-implementor

Your own site · 80×15
<a href="https://agentmods.dev/skills/bookforge-ai/bookforge-skills/observer-pattern-implementor"><img src="https://agentmods.dev/badge/skills/bookforge-ai/bookforge-skills/observer-pattern-implementor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,385 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00100 $0.05385
Opus 5.5 $0.00040 $0.02154
Sonnet 5.5 $0.00020 $0.01077
Haiku 4.5 $0.00010 $0.00539

Measured 1mo ago against content hash 8edf42b51872, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

observer-pattern-implementor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

books/design-patterns-gof/skills/observer-pattern-implementor/SKILL.md · 515 lines

The source is not reproduced here

Licensed CC-BY-SA-4.0

The repository is licensed CC-BY-SA-4.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 515 lines · 100 tokens per session scan A 8edf42b51872

Subscribe to this mod's changes

observer-pattern-implementor is a skill published in the GitHub repository bookforge-ai/bookforge-skills (41 stars, last pushed 6mo ago), licensed CC-BY-SA-4.0. It adds 100 tokens to every session and 5,385 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

pattern

Use when building, prototyping or scaffolding UI (a component, page or screen), especially from a Figma link, mockup or screenshot. Checks the project's own design system first to decide reuse versus build, returns the exact unmet requirements to build, then verifies the built file. Skip trivial primitives (button…

donaldrichard19-LVD/pattern-mcp · 76 tokens

principle-product-design

UX and product design principles — Nielsen's 10 usability heuristics, visual hierarchy, interaction design patterns, design-system compliance, and responsive layout. Accessibility/WCAG conformance is delegated to swe-workbench:principle-accessibility. Auto-load when reviewing UX, evaluating usability, assessing visual…

lugassawan/swe-workbench · 81 tokens

principle-accessibility

Accessibility (a11y) principles — WCAG 2.2 AA conformance, semantic HTML, keyboard navigation, focus management, focus traps, color contrast, alt text, screen reader compatibility, reduced motion. Auto-load when reviewing frontend or UI code, evaluating ARIA usage, auditing color contrast, building modals or dialogs…

lugassawan/swe-workbench · 89 tokens

principle-design-patterns

Design patterns — Gang of Four and beyond. Strategy, factory method, observer, adapter, template method, dependency injection. Auto-load when designing class structure, or evaluating whether a pattern applies.

lugassawan/swe-workbench · 44 tokens

architecture-analyst

Use this agent when you need to evaluate a system architecture or technology decision — identifying scalability risks, structural smells, law violations (Conway, Amdahl, Gall), and design pattern misuse using the Episteme knowledge graph.

epicsagas/Episteme · 51 tokens

episteme-advisor

Use this agent when the user faces an engineering decision, trade-off, or architecture question — choosing between patterns, resolving design conflicts, or applying refactorings. Grounds every recommendation in the Episteme knowledge graph.

epicsagas/Episteme · 49 tokens