vendure-plugin-writing

Guide Vendure plugin development with best practices and required patterns.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/meriley/claude-code-skills --skill vendure-plugin-writing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vendure-plugin-writing
Source: https://github.com/meriley/claude-code-skills/tree/main/skills/vendure-plugin-writing
Command: npx skills add https://github.com/meriley/claude-code-skills --skill vendure-plugin-writing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide and best practices for developing production-ready plugins for the Vendure e-commerce framework, ensuring maintainability and adherence to standards.

Core Features & Use Cases

  • Plugin Structure: Demonstrates the recommended directory layout for Vendure plugins.
  • Core Patterns: Details essential elements like @VendurePlugin decorator, PluginCommonModule, configuration interfaces, and dependency injection.
  • Lifecycle Hooks: Explains how to implement OnApplicationBootstrap and OnApplicationShutdown for initialization and cleanup.
  • Use Case: When starting a new custom feature for a Vendure store, such as a loyalty points system or a custom shipping provider integration, use this Skill to ensure the plugin is built correctly from the outset.

Quick Start

Use the vendure-plugin-writing skill to generate a basic Vendure plugin structure.

Frequently Asked Questions about vendure-plugin-writing

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

FAQPage Schema
How do I build a Vendure plugin for a custom ecommerce feature?

To build a Vendure plugin, follow the recommended directory layout and use the @VendurePlugin decorator, configuration interfaces, and dependency injection to ensure maintainability and adherence to framework standards.

How do I use lifecycle hooks in Vendure plugin development?

Vendure plugin development uses OnApplicationBootstrap and OnApplicationShutdown lifecycle hooks to handle initialization and cleanup operations, ensuring production-ready custom e-commerce functionalities are managed correctly.

What is the best way to structure a NestJS Vendure plugin?

The best way to structure a Vendure plugin is by using the recommended directory layout, incorporating the PluginCommonModule, and applying the @VendurePlugin decorator for robust TypeScript backend development.

Can I use dependency injection when creating Vendure plugins?

Yes, you can use dependency injection when creating Vendure plugins, which is an essential core pattern detailed for developing production-ready e-commerce functionalities within the Vendure framework.

What are common anti-patterns to avoid in Vendure plugin development?

Vendure plugin development guides detail forbidden anti-patterns to ensure maintainability and strict adherence to framework standards, helping you build production-ready custom features without architectural flaws.

Do I need TypeScript to develop custom Vendure plugins?

Yes, TypeScript is required for Vendure plugin development to properly implement configuration interfaces, decorators, and dependency injection patterns within the NestJS-based e-commerce framework.