Generates complete modules and components from interface contracts and specifications. Use when Claude needs to build larger software components, implement interfaces, create service layers, or generate complete modules with multiple related classes. Supports Python (with type hints and protocols) and Java (with interfaces and abstract classes). Trigger when users request "implement this interface", "generate a module for", "create a service layer", "build a component that implements", or provide interface definitions that need implementation.
npx skills add https://github.com/ArabelaTso/Skills-4-SE --skill module-component-generator
Generate complete, production-ready modules and components from interface contracts and specifications.
When a user provides an interface contract or requests a module:
Generate concrete implementations from:
Generate multi-file modules with:
Generate for all code:
When to use:
What to generate:
When to use:
What to generate:
Patterns and conventions:
Protocol for structural typingABC for inheritance-based contractsSee: python-patterns.md for detailed examples
Common structures:
Patterns and conventions:
Objects.requireNonNull() for validationOptional<T> for nullable returnsSee: java-patterns.md for detailed examples
Common structures:
For interfaces/protocols:
For module requests:
Single implementation:
Full module:
For each class:
Code quality standards:
Module level:
Class level:
Method level:
Include:
Separate data access from business logic.
Structure:
Use when: Need to abstract data persistence
Encapsulate business logic in service classes.
Structure:
Use when: Building business logic layer
Provide unified interface to different implementations.
Structure:
Use when: Need to support multiple backends/providers
Encapsulate algorithms/behaviors as interchangeable strategies.
Structure:
Use when: Need runtime algorithm selection
Validation:
Error Handling:
Dependency Injection:
Completeness:
Examples:
Clarity:
Organization:
Modularity:
User: "Implement this DataRepository interface"
→ Generate single implementation class with all methods
User: "Create a user service module with CRUD operations"
→ Generate full module: User model, UserRepository, UserService, exceptions
User: "Build a notification system that supports email and SMS"
→ Generate adapter pattern: NotificationAdapter interface, EmailAdapter, SMSAdapter, factory
User: "Implement this PaymentProcessor abstract class for Stripe"
→ Generate StripePaymentProcessor extending abstract class
User: "Generate a complete order management module"
→ Generate full module: Order model, OrderRepository, OrderService, custom exceptions, documentation
User: "Create implementations for these three interfaces"
→ Generate three implementation classes, each with proper structure
Before delivering generated code, verify:
Use Expo DOM components to run web code in a webview on native and as-is on web. Migrate web code to native incrementally.
Frontend development guidelines for React/TypeScript applications. Modern patterns including Suspense, lazy loading, useSuspenseQuery, file organization with features directory, MUI v7 styling, TanStack Router, performance optimization, and TypeScript best practices. Use when creating components, pages, features, fetching data, styling, routing, or working with frontend code.
Next.js 16 Cache Components - PPR, use cache directive, cacheLife, cacheTag, updateTag
| Build Shopify apps, extensions, themes using GraphQL Admin API, Shopify CLI, Polaris UI, and Liquid. "shopify theme", "liquid template", "polaris", "shopify graphql", "shopify webhook", "shopify billing", "app subscription", "metafields", "shopify functions"
Build Gradio web UIs and demos in Python. Use when creating or editing Gradio apps, components, event listeners, layouts, or chatbots.
MANDATORY prerequisite — load this skill BEFORE every `generate_diagram` tool call. NEVER call `generate_diagram` directly without loading this skill first. Trigger whenever the user asks to create, generate, draw, render, sketch, or build a diagram — flowchart, architecture diagram, sequence diagram, ERD or entity-relationship diagram, state diagram or state machine, gantt chart, or timeline. Also trigger when the user mentions Mermaid syntax or wants a system architecture, decision tree, dependency graph, API call flow, auth handshake, schema, or pipeline visualized in FigJam. Routes to type-specific guidance, sets universal Mermaid constraints, and tells you when to use a different diagram type or skip the tool entirely (mindmaps, pie charts, class diagrams, etc.).
Analyzes web performance using Chrome DevTools MCP. Measures Core Web Vitals (LCP, INP, CLS) and supplementary metrics (FCP, TBT, Speed Index), identifies render-blocking resources, network dependency chains, layout shifts, caching issues, and accessibility gaps. Use when asked to audit, profile, debug, or optimize page load performance, Lighthouse scores, or site speed. Biases towards retrieval from current documentation over pre-trained knowledge.
Algorithmic philosophies are computational aesthetic movements that are then expressed through code. Output .md files (philosophy), .html files (interactive viewer), and .js files (generative algorithms).
Take arabelatso/module-component-generator from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.