staple-create-plugin

Scaffold Staple plugin boilerplates and update manifest.ts, worker.ts, and UI bindings.

2|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/rishith-c/staple --skill staple-create-plugin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: staple-create-plugin
Source: https://github.com/rishith-c/staple/tree/main/skills/staple-create-plugin
Command: npx skills add https://github.com/rishith-c/staple --skill staple-create-plugin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffold and document Staple plugins efficiently, providing boilerplate, guidance, and governance for plugin authors.

Core Features & Use Cases

  • Scaffold boilerplate for plugin workers, UI surface, and route conventions.
  • Validate and tailor generated files (src/manifest.ts, src/worker.ts, src/ui/index.tsx, tests) to fit project needs.
  • Follow verification steps and documentation updates to publish or bundle examples within the repo.

Quick Start

Run the scaffold package to generate the plugin boilerplate and then tailor the resulting files per the guide.

Frequently Asked Questions about staple-create-plugin

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

FAQPage Schema
How do I scaffold a new boilerplate for a Staple plugin?

To scaffold a Staple plugin, run the scaffold package to automatically generate the required boilerplate. You then tailor the generated files, including src/manifest.ts, src/worker.ts, and src/ui/index.tsx, to fit your specific project needs.

What files do I need to update when authoring a Staple plugin?

When authoring a Staple plugin, you must update src/manifest.ts, src/worker.ts, and UI bindings like src/ui/index.tsx. The scaffold workflow also requires updating tests and documentation to verify and bundle the plugin.

Can I use the scaffold package to update existing example plugins in the Staple ecosystem?

Yes, the scaffold package applies to updating example plugins within the Staple ecosystem. By following the scaffold workflow and verification steps, you can validate and tailor generated files to publish or bundle examples within your repository.

Do I need to write tests manually when creating plugin boilerplate?

Creating plugin boilerplate involves generating tests automatically via the scaffold package. You validate and tailor these generated test files alongside src/manifest.ts and src/worker.ts to ensure your plugin meets the required verification steps.

Why does my Staple plugin boilerplate require verification steps after scaffolding?

Verification steps are required after scaffolding to ensure the generated boilerplate is correctly tailored. Validating files like src/manifest.ts, src/worker.ts, and UI bindings ensures the plugin functions properly within the Staple ecosystem before publishing.

What is the best way to document Staple plugins during the scaffolding process?

The best way to document Staple plugins during scaffolding is to follow the provided documentation updates within the scaffold workflow. This process guides you through updating manifest and worker files to ensure proper plugin authoring and governance.