polyspace-query-justification-catalog
/polyspace-query-justification-catalog
Queries a Polyspace justification catalog for pre-approved texts. Use when the user asks to "query justification catalog", "find pre-approved justification", "look up catalog", or needs to find pre-approved justification texts for Polyspace findings.
- Author
- zrwangems ↗
- Repository
- dsh-zrwang-plugin ↗
- Licence
- MIT
- Last repository change
- 12.11.2026
Assessment and security
- Files in this package
- 3
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Queries a Polyspace justification catalog for pre-approved texts. Use when the user asks to "query justification catalog", "find pre-approved justification", "look up catalog", or needs to find pre-approved justification texts for Polyspace findings.
Triggers from the description
Original author description
Queries a Polyspace justification catalog for pre-approved texts. Use when the user asks to "query justification catalog", "find pre-approved justification", "look up catalog", or needs to find pre-approved justification texts for Polyspace findings.
How it works
- Using the MCP tool
- Otherwise reading the catalog directly
SKILL.md preview
--- name: polyspace-query-justification-catalog description: Queries a Polyspace justification catalog for pre-approved texts. Use when the user asks to "query justification catalog", "find pre-approved justification", "look up catalog", or needs to find pre-approved justification texts for Polyspace findings. license: MathWorks BSD-3-Clause metadata: version: "1.2" --- # How to Query a Justification Catalog A justification catalog is a JSON file containing pre-approved justification texts for Polyspace findings. ## Using the MCP tool **If the `query_justification_catalog` tool is available**, use it: - `findings` (required): one or more findings as `FAMILY:ACRONYM`, comma-separated (e.g., `"Defect:INT_ZERO_DIV,MISRA-C3:8.4"`) - `catalog_file_path` (required): absolute path to the catalog JSON file Each finding is split at its **first** colon: everything before it is the family, everything after it is the acronym. So a family name that itself contains a colon — the results database spells coding-standard families that way, e.g. `MISRA C:2023` — cannot be passed literally. Use the catalog's own family spelling (the annotation-style name, e.g. `MISRA-C-2023`), or pass `*` as the family (`*:8.4`) to match on the acronym alone. The acronym needs the same care. A coding-rule check identifier in the results already repeats the standard before the rule number, so the acronym to pass is only the trailing rule number: from a check reported as the 2012 standard followed by `8.4`, pass `8.4`. Acronyms are matched exactly (case-insensitively), so a standard prefix left in place matches nothing and you get the "no match" line below for a finding the catalog does cover. Defect acronyms need no stripping. The response is text: one block per finding, either the matching pre-approved comments or `No matching justifications found in catalog for FAMILY:ACRONYM`. That "no match" line is a successful answer, not an error — it means the catalog has no pre-approved text for that finding, so write a justification yourself. ## Otherwise reading the catalog directly **Otherwise**, read `references/catalog-schema.md` in this skill's directory for the JSON schema and matching rules to read the file directly. --- Copyright 2026 The MathWorks, Inc. ---
Files in this package (3)
- SKILL.md 2 KB
- manifest.yaml 1 KB
- references/catalog-schema.md 1 KB
Versions
The database has no other skills named polyspace-query-justification-catalog.
Database snapshot: 13.11.2026 · package version a6fb5b4b5ef5 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100polyspace-justify-in-code
Justifies Polyspace findings by adding annotation comments in the C/C++ source code. Use when the user asks to "add a Polyspace annotation", "justify a finding in the source/in code", "mark as false positive in the code", "suppress a finding with a comment", or wants an… - 100polyspace-agentic-toolkit-setup
Sets up the Polyspace Agentic Toolkit for any supported AI agent. Use when the user asks to "set up Polyspace", "set up the Polyspace Agentic Toolkit", "install the Polyspace MCP Server", "configure Polyspace for my agent", or wants to get Polyspace working with their AI application. - 100requesting-code-review
Use when an MR or pre-merge change needs a production-readiness review against its approved requirements