context-scaffold

Generate CQRS component boilerplate for legacy WildFly context services.

3|4|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/hmcts/agentic-plugins-marketplace --skill context-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-scaffold
Source: https://github.com/hmcts/agentic-plugins-marketplace/tree/main/plugins/agents/hmcts-sdlc-orchestrator/skills/context-scaffold
Command: npx skills add https://github.com/hmcts/agentic-plugins-marketplace --skill context-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the generation of boilerplate code for CQRS components within legacy WildFly context services, reducing manual coding effort and ensuring consistency.

Core Features & Use Cases

  • Automated Scaffold Generation: Generates boilerplate for commands, queries, domain events, viewstore entities, and Liquibase migrations.
  • Legacy WildFly Support: Specifically designed for legacy cpp-context-* WildFly services.
  • Use Case: When a developer needs to add a new command, query, or event to an existing cpp-context-* service, this Skill can automatically generate the necessary code.

Quick Start

Scaffold a new command for the 'hearing' context by running the command: context-scaffold hearing command schedule-hearing

Frequently Asked Questions about context-scaffold

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

FAQPage Schema
How do I generate CQRS boilerplate code for legacy WildFly context services?

To generate CQRS boilerplate code for legacy WildFly context services, run a scaffold command specifying the context, component type, and name, such as `context-scaffold hearing command schedule-hearing` to automatically create the necessary files.

What CQRS components can I automatically scaffold for a cpp-context WildFly service?

You can automatically scaffold commands, queries, domain events, viewstore entities, and Liquibase migrations for a cpp-context WildFly service to ensure consistent CQRS pattern implementation.

Do I need prior knowledge of the cpp-context stack to use automated CQRS scaffolding?

Yes, using automated CQRS scaffolding requires existing knowledge of the legacy WildFly `cpp-context-*` stack and a solid understanding of CQRS patterns to properly integrate the generated boilerplate code.

What is the best way to add a new domain event to an existing WildFly context service?

The best way to add a new domain event to an existing WildFly context service is to use automated scaffolding to generate the boilerplate code, which reduces manual coding effort and ensures structural consistency.

Can I generate Liquibase migrations alongside CQRS commands and queries?

Yes, you can generate Liquibase migrations alongside CQRS commands, queries, domain events, and viewstore entities to fully automate the boilerplate creation for legacy WildFly context services.