add-model

Add new modules to a codebase by mirroring a reference implementation and updating registries and tests.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/pzheng460/claude-workflow-plugin --skill add-model-pzheng460
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: add-model
Source: https://github.com/pzheng460/claude-workflow-plugin/tree/main/skills/add-model
Command: npx skills add https://github.com/pzheng460/claude-workflow-plugin --skill add-model-pzheng460

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a structured, step-by-step process to add new modules or components that must conform to existing codebase patterns, preventing inconsistent implementations, missing registrations, and absent tests.

Core Features & Use Cases

  • Guided information checklist to capture name, definition, type, interface, fields, behavior, and a reference implementation before coding.
  • Reference-driven implementation steps that enforce naming conventions, required interfaces/traits, and registration points.
  • Test creation guidance, integration/registry updates, and verification by invoking the review-implementation workflow for completeness.
  • Useful when adding API endpoints, model classes, handlers, or other components that must match existing project patterns.

Quick Start

Use the add-model skill to add a new module that mirrors the provided reference implementation, including tests and registry updates.

Frequently Asked Questions about add-model

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

FAQPage Schema
How do I add a new module to a codebase following existing patterns?▼

To add a new module following existing codebase patterns, use a guided checklist to capture the name, definition, interface, fields, behavior, and a reference implementation, then mirror naming conventions, implement required interfaces, add tests, and update module registries.

What is the best way to ensure consistent registration and tests when adding API endpoints?▼

Ensuring consistent registration and tests when adding API endpoints requires a reference-driven implementation process that enforces naming conventions, updates module registries and configuration, and generates test creation guidance before verifying completeness via a review workflow.

How do I create a new model class that matches an existing reference implementation?▼

Creating a new model class that matches a reference implementation involves collecting the class definition, type, and interfaces, implementing the required traits, and updating the module configuration to mirror the existing project pattern.

Can I use this guided scaffolding approach for adding handlers and other components?▼

Yes, this guided scaffolding approach applies to adding handlers, API endpoints, model classes, and other components where a reference implementation exists and the developer must mirror naming, interfaces, and registration points.

What information do I need before adding a new component to an existing project?▼

Before adding a new component, you need to collect the component name, definition, type, interface, fields, behavior, and a reference implementation to ensure the new module conforms to existing project patterns and registration points.

Why does adding new modules manually often result in missing registrations and absent tests?▼

Adding new modules manually often results in missing registrations and absent tests because developers may skip inconsistent implementation steps, whereas a structured process enforces required interfaces, test creation, and registry updates before completion.