component-designer

Design and document Drupal software components with architecture specifications.

32|7|Updated Dec 6, 2025
One-click install
npx skills add https://github.com/camoa/claude-skills --skill component-designer-camoa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: component-designer
Source: https://github.com/camoa/claude-skills/tree/main/drupal-dev-framework/skills/component-designer
Command: npx skills add https://github.com/camoa/claude-skills --skill component-designer-camoa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of designing individual software components within a Drupal project, ensuring a structured and documented approach to architecture.

Core Features & Use Cases

  • Component Specification: Generates detailed Markdown documents for services, forms, entities, plugins, and controllers.
  • Pattern Identification: Leverages the core-pattern-finder skill to reference existing Drupal core implementations.
  • Architecture Integration: Updates the main architecture document with newly designed components.
  • Use Case: When developing a new feature that requires a custom form, this Skill will guide the AI to define the form's type, fields, validation, and submit handler, referencing a similar form in Drupal core for best practices.

Quick Start

Use the component designer skill to design a new service component named 'user_profile_manager'.

Frequently Asked Questions about component-designer

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

FAQPage Schema
How do I document a custom Drupal service component?

To document a Drupal service component, this Skill generates detailed Markdown specifications by identifying the component type, gathering its details, finding relevant core pattern references, and outputting clear purpose, interface, dependencies, and acceptance criteria.

What is the best way to design Drupal module components like forms and entities?

Designing Drupal module components like forms and entities is best handled by generating structured architecture documents that define the component type, fields, validation, and submit handlers while referencing similar Drupal core implementations for best practices.

Does this component design process reference existing Drupal core patterns?

Yes, the component design process references existing Drupal core patterns by leveraging a core pattern finder to identify and integrate similar core implementations into the generated architecture documentation.

Can I use this to generate architecture documentation for Drupal plugins and controllers?

Yes, you can use this to generate architecture documentation for Drupal plugins and controllers by defining their specific details, interfaces, and dependencies, and then integrating those specifications into the main architecture document.

How do I integrate newly designed services into my main software architecture document?

You integrate newly designed services into your main software architecture document by using this Skill to update the primary architecture file with the generated component specifications, ensuring all defined dependencies and acceptance criteria are recorded.

What details do I need to provide to design a software component for Drupal?

To design a software component for Drupal, you need to provide the component name and type, which allows the Skill to prompt for necessary details like purpose, interface, dependencies, and acceptance criteria to complete the specification.