plugin-patterns

Canvas plugin architecture patterns, best practices, and implementation templates

16 stars

Best use case

plugin-patterns is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Canvas plugin architecture patterns, best practices, and implementation templates

Teams using plugin-patterns should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/plugin-patterns/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/plugin-patterns/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/plugin-patterns/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How plugin-patterns Compares

Feature / Agentplugin-patternsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Canvas plugin architecture patterns, best practices, and implementation templates

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Canvas Plugin Patterns

This skill provides architectural patterns, best practices, and implementation guidance for building Canvas plugins. It supplements the SDK reference with practical patterns learned from real-world plugins.

## When to Use This Skill

Use this skill when you need:
- Plugin architecture recommendations
- Implementation patterns and templates
- Best practices for testing, error handling, security
- Guidance on plugin complexity decisions
- Common anti-patterns to avoid
- Implementation of:
  - AWS S3
  - LLM (Anthropic Claude, OpenAI ChatGPT, Google Gemini)
  - Twilio
  - SendGrid
  - Extend.ai

## Quick Reference

Reference the `patterns_context.txt` file for detailed patterns and examples.

Related Skills

permission-patterns

16
from diegosouzapw/awesome-omni-skill

Rules for evaluating, classifying, and deduplicating AI tool permissions

patterns/arena-allocator

16
from diegosouzapw/awesome-omni-skill

Arena Allocator Pattern (C-Specific) pattern for C development

patterns/adapter

16
from diegosouzapw/awesome-omni-skill

Adapter (Wrapper) Pattern pattern for C development

opencode-plugin-builder

16
from diegosouzapw/awesome-omni-skill

This skill should be used when creating, modifying, or debugging OpenCode plugins. It provides the complete plugin architecture, available hooks, event types, SDK client methods, and best practices learned from real-world plugin development.

on-call-handoff-patterns

16
from diegosouzapw/awesome-omni-skill

Master on-call shift handoffs with context transfer, escalation procedures, and documentation. Use when transitioning on-call responsibilities, documenting shift summaries, or improving on-call pro...

nx-workspace-patterns

16
from diegosouzapw/awesome-omni-skill

Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.

nodejs-backend-patterns

16
from diegosouzapw/awesome-omni-skill

Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices. Use when creating Node.js servers, REST APIs, GraphQL backends, or microservices architectures.

nextjs-app-router-patterns

16
from diegosouzapw/awesome-omni-skill

Master Next.js 14+ App Router with Server Components, streaming, parallel routes, and advanced data fetching. Use when building Next.js applications, implementing SSR/SSG, or optimizing React Serve...

n8n-workflow-patterns

16
from diegosouzapw/awesome-omni-skill

Proven workflow architectural patterns from real n8n workflows. Use when building new workflows, designing workflow structure, choosing workflow patterns, planning workflow architecture, or asking about webhook processing, HTTP API integration, database operations, AI agent workflows, or scheduled tasks.

modern-javascript-patterns

16
from diegosouzapw/awesome-omni-skill

Master ES6+ features including async/await, destructuring, spread operators, arrow functions, promises, modules, iterators, generators, and functional programming patterns for writing clean, effici...

mcp-patterns

16
from diegosouzapw/awesome-omni-skill

MCP server building, advanced patterns, and security hardening. Use when building MCP servers, implementing tool handlers, adding authentication, creating interactive UIs, hardening MCP security, or debugging MCP integrations.

mapbox-integration-patterns

16
from diegosouzapw/awesome-omni-skill

Official integration patterns for Mapbox GL JS across popular web frameworks. Covers setup, lifecycle management, token handling, search integration, and common pitfalls. Based on Mapbox's create-web-app scaffolding tool.