plugin-patterns

Provide Canvas plugin architecture patterns and implementation templates.

2|1|Updated Nov 27, 2025
One-click install
npx skills add https://github.com/canvas-medical/coding-agents --skill plugin-patterns
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: plugin-patterns
Source: https://github.com/canvas-medical/coding-agents/tree/main/canvas-plugin-assistant/skills/plugin-patterns
Command: npx skills add https://github.com/canvas-medical/coding-agents --skill plugin-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a library of proven Canvas plugin architecture patterns, best practices, and implementation templates to accelerate plugin development and ensure consistency.

Core Features & Use Cases

  • Pattern Catalog: access reusable templates for plugin structure (protocols, APIs, apps) and common anti-patterns.
  • Practical Guidance: step-by-step templates and examples derived from real-world Canvas plugins.
  • Governance & Quality: promotes best practices for testing, security, and maintainability.
  • Use Case: When starting a new plugin, reference this Skill to select an architecture pattern (Single Protocol, Webhook API, or Application) and scaffold files quickly.

Quick Start

Use this Skill as a reference when starting a new Canvas plugin: identify a pattern (Single Protocol, Webhook API, or Application), then scaffold the CANVAS_MANIFEST.json and initial modules using the provided templates.

Frequently Asked Questions about plugin-patterns

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

FAQPage Schema
What Canvas plugin architecture patterns should I use for my project?▼

You can scaffold Canvas plugins by identifying an architecture pattern like Single Protocol, Webhook API, or Application, then generating the CANVAS_MANIFEST.json and initial modules using the provided implementation templates.

How do I scaffold a new Canvas plugin from a template?▼

You can scaffold Canvas plugins by identifying an architecture pattern like Single Protocol, Webhook API, or Application, then generating the CANVAS_MANIFEST.json and initial modules using the provided implementation templates.

Does this plugin template library support multi-handler and event-driven protocols?▼

Canvas plugin patterns apply to SimpleAPI, BaseProtocol, and Application architectures. They offer practical guidance and code templates derived from real-world plugins to help you select the right structure for your use case.

When should I choose a Webhook API pattern over an Application pattern for my Canvas plugin?▼

Choose a Webhook API pattern for endpoint-driven integrations or an Application pattern for interactive UI components. The pattern catalog provides practical guidance and common anti-patterns to help you decide.

What best practices are recommended for Canvas plugin development?▼

Recommended best practices for Canvas plugin development focus on governance, testing, security, and maintainability. The pattern catalog provides reusable templates and highlights common anti-patterns to avoid structural complexity.