create-component

Scaffold WordPress plugin components with templates and registration steps.

1|Updated Aug 12, 2025
One-click install
npx skills add https://github.com/SilverAssist/contact-form-to-api --skill create-component-silverassist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-component
Source: https://github.com/SilverAssist/contact-form-to-api/tree/main/.github/skills/create-component
Command: npx skills add https://github.com/SilverAssist/contact-form-to-api --skill create-component-silverassist

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Standardizes the addition of new services, controllers, views, or models in the plugin, reducing boilerplate and ensuring consistent structure.

Core Features & Use Cases

  • Provides structured templates for Service, View, and other components.
  • Includes a directory blueprint and clear registration steps for plugin integration.
  • Guides teams to maintain code quality, naming, and documentation consistency across new components.

Quick Start

Create a new skill folder with a SKILL.md frontmatter and follow the component templates to add a Service or View and register it in the plugin.

Frequently Asked Questions about create-component

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

FAQPage Schema
How do I add a new service to my WordPress plugin?

Scaffold WordPress plugin components using a standardized template that provides directory blueprints, LoadableInterface implementation, and clear registration steps to add new services, controllers, views, or models.

What is the LoadableInterface pattern for WordPress component registration?

The LoadableInterface pattern is a standardized scaffold structure that enforces code quality, naming conventions, PHPDoc documentation, and WordPress prefix usage during the registration of new plugin components.

How do I create a structured WordPress plugin controller without boilerplate?

Create a structured WordPress plugin controller by using a scaffold template that generates the directory blueprint, enforces namespace standards, and provides clear registration steps to eliminate manual boilerplate.

Can I enforce PHPDoc and namespace standards when scaffolding WordPress views?

Yes, scaffolding WordPress views enforces code quality checks, PHPDoc documentation standards, proper namespace usage, and WordPress prefixing automatically across all newly generated plugin components.

What is the best way to maintain consistency across WordPress plugin models and views?

The best way to maintain consistency across WordPress plugin models and views is to use a standardized scaffold that enforces naming conventions, directory structure, and documentation standards for every new component.