plugins

Integrate optional plugins into Pocopine apps and servers using AppPlugin and ServerPlugin traits.

Updated Jun 1, 2026
One-click install
npx skills add https://github.com/mambisi/pocopine-skills --skill plugins-mambisi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plugins
Source: https://github.com/mambisi/pocopine-skills/tree/main/plugins
Command: npx skills add https://github.com/mambisi/pocopine-skills --skill plugins-mambisi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires AppPlugin, ServerPlugin, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers integrate various plugins for added functionality into Pocopine apps and servers, simplifying the process of adding features like analytics, auth, and live queries.

Core Features & Use Cases

  • App Plugins: Add features like analytics, auth session UI, logging, live-query clients, or devtools to an app.
  • Server Plugins: Add features like HTTP request telemetry, tracing layers, health endpoints, server-function hooks, or observability exporters to a server.
  • Component Lifecycle Hooks: Emit custom observability events when components mount, ready, or unmount.
  • Middleware & Observability: Decorate requests and responses without writing custom layers.
  • Use Case: For instance, add an analytics plugin to track user interactions without modifying core code.

Quick Start

Install an analytics plugin into your Pocopine app using the pocopine skills install analytics command.

Frequently Asked Questions about plugins

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

FAQPage Schema
How do I add analytics and authentication to a Pocopine app?

Use the AppPlugin trait to integrate optional plugins into your Pocopine app. This adds features like analytics, auth session UI, logging, and live-query clients without modifying core code.

How do I add HTTP request telemetry and tracing layers to a Pocopine server?

Use the ServerPlugin trait to add HTTP request telemetry, tracing layers, health endpoints, and observability exporters to your Pocopine server. This extends server functionality and decorates requests without writing custom layers.

Can I emit custom observability events when components mount or unmount?

Yes, you can emit custom observability events using component lifecycle hooks. Pocopine plugins support emitting custom events when components mount, become ready, or unmount.

Do I need AppPlugin and ServerPlugin traits to extend Pocopine functionality?

Yes, AppPlugin and ServerPlugin traits are required to integrate optional plugins into Pocopine apps and servers. They support lifecycle hooks and service registration for extended functionality.

What is the best way to decorate requests and responses without writing custom layers?

The best way to decorate requests and responses without custom layers is using Pocopine server plugins. This middleware and observability approach extends server functionality by handling HTTP request telemetry and tracing automatically.

Does the Pocopine plugin integration support live queries and devtools?

Yes, Pocopine plugin integration supports adding live-query clients and devtools to an app. By using the AppPlugin trait, developers can easily facilitate these extended functionalities alongside analytics and logging.