Hasm

Rule checker

Write your rules (style, content or code standards), paste texts, and it names the rule each one breaks.

Developers & AINew
One item per line. If your items span several lines, separate them with a blank line.

Without an account: 3 items per run, 10 per hour. Create a free account to run up to 100 items and correct results.

For developers: use it from the API

The same tool from your app. Send the fields and a list of items; you get the same verdicts back.

curl -s https://7aasm.com/v1/tools/rule-check \
  -H "Authorization: Bearer $HASM_KEY" \
  -H "Content-Type: application/json" \
  -d '{"fields": {"rules": "Never promise customers a specific date\nNever name competitors\nError messages say what to do next"}, "items": ["Your order will definitely arrive on Thursday", "An error occurred."]}'

Or send the same questions yourself to POST /v1/systemone:

{
  "state": "النص المطلوب تدقيقه:\n…",
  "questions": {
    "rule": {
      "type": "choice",
      "instructions": "أي قاعدة يخالفها هذا النص؟ اختر «لا يخالف» إذا التزم بكل القواعد.",
      "criteria": {
        "o1": "Never promise customers a specific date",
        "o2": "Never name competitors",
        "o3": "Error messages say what to do next",
        "none": "لا يخالف أي قاعدة"
      }
    }
  }
}