wrapper-with-fallback-pattern

Official

Implement plugin-based automation with graceful fallback

Authormanifoldlogic
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured approach to implementing automation scripts that gracefully handle plugin unavailability or failure by falling back to the original implementation.

Core Features & Use Cases

  • Plugin Delegation: Delegates tasks to plugin implementations first, ensuring plugin-based functionality.
  • Graceful Fallback: If the plugin is unavailable or fails, falls back to the original implementation without interrupting the workflow.
  • Context Detection: Determines the execution context (container or host) to use the appropriate original implementation.
  • Configuration Flexibility: Configurable plugin paths for testing and debugging.

Quick Start

Use the wrapper-with-fallback-pattern skill to create an automation script for iTerm that uses a plugin for tab spawning, with a fallback to the original implementation if the plugin is unavailable.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: wrapper-with-fallback-pattern
Download link: https://github.com/manifoldlogic/claude-code-plugins/archive/main.zip#wrapper-with-fallback-pattern

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.