maister:context-distiller

Detect ambiguous domain concepts and validate generalization candidates during bounded context design.

Updated May 11, 2026
One-click install
npx skills add https://github.com/rafalwizen/plugin-architecture-test --skill maister-context-distiller-rafalwizen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: maister:context-distiller
Source: https://github.com/rafalwizen/plugin-architecture-test/tree/main/week7/4-uogolnienie-demo/context-distiller
Command: npx skills add https://github.com/rafalwizen/plugin-architecture-test --skill maister-context-distiller-rafalwizen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the risk of ambiguous domain concepts, premature generalization leading to unmaintainable "God classes", and unnecessary context splitting during strategic domain design, which often results in costly refactoring and misaligned domain models.

Core Features & Use Cases

  • Bidirectional linguistic analysis: Detects both ambiguities (same word with different meanings across contexts) and generalization candidates (different words with identical behavior in a context)
  • Dual operation modes: Supports full domain distillation for end-to-end context mapping and single concept probe mode for iterative analysis of individual suspected generalizations
  • Structured context map output: Produces a clear map of generalized and specific bounded contexts, including what is kept, dropped, and explicitly excluded across boundaries
  • Use case example: For a training management domain with rooms, trainers, and equipment all requiring reservation, it identifies a shared ReservableResource abstraction in the scheduling context while keeping HR and maintenance contexts specific to avoid context leakage.

Quick Start

Use the context-distiller skill to analyze your domain description, event storming output, or specific concept and generate a distilled context map with generalization and split recommendations.

Frequently Asked Questions about maister:context-distiller

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent God object formation during bounded context design?

To prevent God object formation during bounded context design, apply bidirectional linguistic analysis to detect ambiguous domain concepts and validate generalization candidates. This identifies safe context boundaries and shared abstractions, avoiding unmaintainable domain models.

What is context distillation in strategic domain-driven design?

Context distillation in strategic domain-driven design is refining bounded contexts by detecting linguistic ambiguities and validating generalization candidates. It generates a structured context map showing generalized and specific contexts to prevent context leakage.

How do I define microservice boundaries from event storming output?

To define microservice boundaries from event storming output, use dual-mode domain distillation to review the storming results. It generates a structured context map identifying safe generalizations and specific bounded contexts, preventing unnecessary context fragmentation.

Can I analyze a single suspected generalization instead of a full domain model?

Yes, you can analyze a single suspected generalization using the single concept probe mode. This mode iteratively validates individual generalization candidates and checks boundary safety without requiring full end-to-end domain distillation.

When do I need context mapping for generic subdomain identification?

You need context mapping for generic subdomain identification when multiple domain entities share identical behavior but use different terminology. Distillation identifies shared abstractions while keeping specific contexts separate to prevent context leakage.