scaffolding

Generate Claude Code plugin directory structures and starter templates.

Updated Jan 8, 2026
One-click install
npx skills add https://github.com/biwakonbu/cc-plugins --skill scaffolding
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffolding
Source: https://github.com/biwakonbu/cc-plugins/tree/main/plugins/plugin-generator/skills/scaffolding
Command: npx skills add https://github.com/biwakonbu/cc-plugins --skill scaffolding

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the scaffolding of new Claude Code plugins by generating the required directory structure, starter templates, and marketplace registrations, saving time on setup.

Core Features & Use Cases

  • Scaffold the plugin directory: plugins/{plugin-name}/ with a standard structure including .claude-plugin/ and commands/.
  • Populate starter templates: .claude-plugin/plugin.json, CLAUDE.md, and a sample command under commands/.
  • Marketplace integration: update marketplace.json with the new plugin metadata and example author info.

Quick Start

Run the scaffolding script to generate a new plugin skeleton: "${CLAUDE_PLUGIN_ROOT}/scripts/generate-plugin.sh" <plugin-name>

Frequently Asked Questions about scaffolding

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

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

To scaffold a Claude Code plugin, run the provided Bash generation script with your desired plugin name to instantly create the standard directory structure, populate starter templates, and register it in the marketplace.

What files are generated when creating a new Claude Code plugin?

Scaffolding a new Claude Code plugin generates the core directory structure, including .claude-plugin/plugin.json metadata, a CLAUDE.md file, and a sample starter command within the commands/ directory.

Do I need Bash to generate Claude Code plugin templates?

Yes, this scaffolding process enforces a Bash-based workflow by utilizing a generation script to create the required plugin directories and populate starter templates for the marketplace.

How does scaffolding integrate new plugins into the marketplace?

The scaffolding tool integrates new plugins into the marketplace by automatically updating the marketplace.json file with the newly generated plugin metadata and example author information during the directory creation process.

Can I customize the starter templates during plugin scaffolding?

The scaffolding script generates a standard plugin template to meet marketplace requirements, populating starter files like CLAUDE.md and plugin.json, which you can then manually customize after the initial directory generation.

What is the best way to automate Claude Code plugin creation?

The best way to automate Claude Code plugin creation is using a dedicated scaffolding script that enforces a Bash-based workflow to instantly generate directory structures, populate metadata, and handle marketplace registration.