context-witness
CommunityChoose witness vs capability patterns for Context Tags.
Software Engineering#TypeScript#software-design#dependency-injection#Effect#witness-pattern#Context Tag#context-coupling
Authorfront-depiction
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps teams decide when to apply the Context Tag witness (existence) versus capability patterns (behavior) for dependency injection, enabling safer coupling and clearer architecture in Effect-style code.
Core Features & Use Cases
- Decision framework for choosing Witness vs Capability in Context Tags within applications.
- Clear guidance and concrete examples for structuring schemas and runtime context to minimize hard coupling while preserving testability.
- Use Case: selecting between injecting a serial or request identifier via a witness versus embedding it in the persisted schema.
Quick Start
Start with a small TypeScript project using Effect, decide whether a Context value should be modeled as a Witness or a Capability, and implement a minimal example reflecting that choice.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: context-witness Download link: https://github.com/front-depiction/claude-setup/archive/main.zip#context-witness Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.