# Plugin Authoring

> Create modular MaskShift plugins that add tools, skills, providers, hooks, UI panels, or MCP catalog sources without coupling core policy.

- Skill: `nafeeur/plugin-authoring` (Agent Skill)
- Install (CLI): `npx skillmds@latest add nafeeur/plugin-authoring`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nafeeur/plugin-authoring/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: nafeeur (https://skillmd.com/u/nafeeur)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/nafeeur/plugin-authoring

---


# MaskShift Plugin Authoring

- Declare plugin identity, version, entry point, capabilities, configuration schema, and compatibility range.
- Register through public registries; do not import internal singleton state.
- Make optional dependencies lazy and report unavailable capabilities without crashing startup.
- Provide cleanup for processes, timers, subscriptions, and UI mounts.
- Namespace tools and events to prevent collisions.
- Include a smoke fixture proving load, activation, execution, and unload.

