Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.
Rust ai-nativedescription-logicsformal-verificationinfrastructure-as-codeisabelle-languageknowledge-graphleanlean4mcpmcp-serverontologyowlowl2reasoningrustshaclsparqltheorem-proving
name: your-skill-name description: One sentence saying WHEN an agent should use this skill. Name the trigger conditions, domain, and tools involved.
Your Skill Name
One paragraph: what job this skill accomplishes and what state it assumes (e.g. "an ontology is already loaded" or "starts from a Turtle file on disk").
Workflow
1. First stage
- Call
onto_validateon the input — if it fails, fix the reported syntax errors and re-validate before anything else. - Call
onto_load, thenonto_statsto confirm counts match expectations.
2. Decision point
- If
onto_statsshows N classes but the spec expects M, do X. - If
onto_lintreports missing labels, add them and reload — do not proceed with a dirty lint.
3. Verify and persist
- State the checks that must pass before the skill is done (lint clean, enforce clean, competency questions answerable via
onto_query). - Call
onto_save, thenonto_version— always version after save.
Failure modes
Say what to do when things go wrong, not just the happy path:
- Fetch/parse failures: ...
- Validation that never converges: ...
- When to stop and ask the user: ...