create-guardrail-plugin
CommunityScaffold a Drupal AI guardrail plugin
Software Engineering#drupal#ai guardrails#plugin scaffolding#configuration schema#drush generation#kernel testing#deterministic vs non-deterministic
Authormarkconroy
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It solves the problem of creating a new Drupal AI guardrail plugin by turning the guardrail concept (rules, AI-based checks, and configuration) into a working plugin scaffold plus the exact implementation checklist you need.
Core Features & Use Cases
- Deterministic or Non-Deterministic Scaffolding: Choose deterministic validation or AI-driven classification to determine the correct plugin interfaces and class structure.
- Input/Output Guardrail Implementation Guidance: Generate method stubs for processInput() and processOutput() so you can validate or rewrite user/AI content.
- Admin Configuration + Config Schema Planning: Provide steps to implement ConfigurableInterface + PluginFormInterface and add the required config/schema entries for strict Drupal validation.
- Testing Guidance (Deterministic Kernel Tests): Produce a kernel test template for end-to-end verification using EchoAI and guardrail entities.
Quick Start
Use the create-guardrail-plugin skill to scaffold a new guardrail for your Drupal AI module by answering whether it is deterministic or non-deterministic and providing the plugin ID, label, description, checked logic, and configuration needs.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: create-guardrail-plugin Download link: https://github.com/markconroy/markie/archive/main.zip#create-guardrail-plugin Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.