write-plugins

Scaffold Claude Code plugins with standard directory layouts and manifests.

Updated Feb 21, 2026
One-click install
npx skills add https://github.com/anselsource/agents --skill write-plugins
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-plugins
Source: https://github.com/anselsource/agents/tree/main/.claude/skills/write-plugins
Command: npx skills add https://github.com/anselsource/agents --skill write-plugins

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide helps developers understand and scaffold Claude Code plugins, including configuring plugin.json and organizing skills, agents, hooks, and servers.

Core Features & Use Cases

  • Provides a clean, repeatable plugin scaffold with standard directories (skills/, agents/, hooks/, .claude-plugin) and example manifest integration.
  • Explains how to configure a plugin manifest, integrate with MCP/LSP servers, and document components for onboarding and maintenance.
  • Offers practical workflows for debugging plugin issues and aligning plugin structure with Claude Code discovery.

Quick Start

Create a new plugin skeleton using the standard layout and begin by adding SKILL.md for your first skill.

Frequently Asked Questions about write-plugins

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

FAQPage Schema
How do I scaffold a Claude Code plugin with the correct directory structure?

Scaffold a Claude Code plugin by creating standard directories like skills/, agents/, hooks/, and a .claude-plugin manifest. This structure ensures proper component placement and aligns with Claude Code discovery for seamless integration.

What is a plugin manifest and how do I configure it for Claude Code?

A plugin manifest, typically named plugin.json, defines your extension's configuration and components. Configure it to integrate skills, hooks, agents, and MCP or LSP servers for onboarding and maintenance.

Does Claude Code plugin development require a specific layout for skills and hooks?

Yes, Claude Code plugin development uses a standard layout placing skills in skills/ and hooks in hooks/ directories. This ensures proper component discovery and integration within the Claude Code environment.

What do I need to include in SKILL.md frontmatter when building plugins?

SKILL.md frontmatter must include a name and description when building plugins. This ensures Claude Code can properly discover and index the skill within your scaffolded plugin structure.

Can I integrate MCP or LSP servers directly into a Claude Code plugin?

Yes, you can integrate MCP and LSP servers directly into a Claude Code plugin. The guide explains how to configure the plugin manifest to connect these servers alongside standard skills, agents, and hooks.

What are the limitations when organizing optional directories in a Claude Code plugin?

Optional directories like scripts, references, and assets hold on-demand resources, but they do not replace the required standard layout. Ensure your plugin manifest correctly points to these extras to avoid discovery issues.