{
  "skill_name": "common-workflow-writing",
  "evals": [
    {
      "id": 1,
      "prompt": "Write a workflow for the code review process that includes all the detailed steps and examples.",
      "expected_output": "Apply workflow writing rules: (1) Goal in 1 sentence. (2) Steps as imperative commands. (3) Output as template headers only — no pre-filled rows. No prose explanations. No pre-answered questions. No example data in tables. Merge any sequential steps that always happen together. Stay under 80 lines.",
      "assertions": [
        { "type": "contains", "value": "template" },
        { "type": "contains", "value": "80 lines" }
      ]
    },
    {
      "id": 2,
      "prompt": "The workflow I created has detailed explanation paragraphs before each step explaining why we do it.",
      "expected_output": "Violation: No verbose step preambles. Delete all 'Before we start, it's important to understand...' prose. Replace with imperative command: 'Run security scan' not 'Before running the security scan, it's important to note that...'. If a bullet achieves the same result, delete the paragraph. Check: would cutting this in half still give the agent enough to act on?",
      "assertions": [
        { "type": "contains", "value": "prose" },
        { "type": "contains", "value": "delete" }
      ]
    },
    {
      "id": 3,
      "prompt": "Update this SKILL.md — it has an inline code block of 15 lines showing an example configuration.",
      "expected_output": "Violation: Inline code block >10 lines must be extracted to references/. Create references/example.md (or references/config-example.md) and move the 15-line block there. Replace inline block with a link: 'See [Configuration Example](references/config-example.md)'. SKILL.md must stay ≤100 lines.",
      "assertions": [
        { "type": "contains", "value": "references/" },
        { "type": "contains", "value": "extract" }
      ]
    }
  ],
  "should_not_trigger": [
    "Build a REST API endpoint for user registration",
    "Implement a Redis caching layer",
    "Write SQL queries for a reporting dashboard"
  ]
}
