بنقرة واحدة
generate-and-validate
Generates an L9 message then validates it against the schema. Reports message + PASS/FAIL.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Generates an L9 message then validates it against the schema. Reports message + PASS/FAIL.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
<placeholder>
Generates a valid L9 header JSON from kind and sender.
Generates a complete L9 message (header + payload) as valid JSON.
Converts an L9 JSON message into a simple human-readable string.
Validates an L9 JSON message against the schema. Reports PASS or FAIL.
Converts plain-text input into a valid L9 exchange message.
| name | generate-and-validate |
| description | Generates an L9 message then validates it against the schema. Reports message + PASS/FAIL. |
User Input → [Parse] → [message_generation] → [message_validation] → Output
/generate_and_validate kind: exchange, subprotocol: SIEP, payload_type: text, payload_data: {"content": "hello"}
Parse user input to extract: kind, subprotocol, payload_type, payload_data.
[PARSE] Extracted — kind: <kind>, subprotocol: <subprotocol>, payload_type: <payload_type>, payload_data: <payload_data>Generate — Invoke the Skill tool with skill: "message_generation" passing the extracted parameters as args. Collect the generated L9 message JSON.
[GENERATE] Invoking message_generation with args: kind=<kind>, subprotocol=<subprotocol>, payload_type=<payload_type>, payload_data=<payload_data>[GENERATE] ✓ Message generated successfully (<byte_size> bytes)[GENERATE] ✗ Generation failed: <error_message>Validate — Invoke the Skill tool with skill: "message_validation" passing the generated message JSON as args. Collect the validation report.
[VALIDATE] Invoking validate with generated message[VALIDATE] ✓ Validation complete — status: <PASS|FAIL>[VALIDATE] ✗ Validation invocation failed: <error_message>Output in this format:
## Execution Log
<all log lines from steps 1-3, one per line>
## Generated L9 Message
<message JSON>
## Validation Result
<JSON with status PASS/FAIL and errors array>
message_generation — do not inline its logic.message_validation — do not inline its logic.