Audit Common Rules
Walks every skills/*/SKILL.md and reports which ones are missing required content. Read-only — never edit files.
Wording may vary per product and platform (e.g. SparkScan API vs BarcodeCapture API; view modifiers on iOS vs plugin names on Capacitor). The audit checks whether each required rule is conveyed, not that it matches verbatim.
How to run
- List every
skills/*/SKILL.md, skippingskills/audit-common-rules/, anyskills/_*directory, and the per-section exempts below. - For each skill, check whether each required H2 exists and conveys every required rule.
- Output a report:
- Compliant: list of skill names.
- Issues: one row per problem —
<skill> · <section> · <short label> · <one-line hint>. The<short label>is eitherMISSING_SECTIONor a short paraphrase of the missing rule (e.g.missing "fetch-when-missing"). Group identical issues across many skills into a single row with a skill list. - Totals.
Required content
1. ## Critical: Do Not Trust Internal Knowledge
Must exist and convey:
- Training data may contain outdated or incorrect Scandit SDK APIs.
- Always verify APIs against the references in this skill before writing or suggesting code.
- Do not rely on memorized method signatures, parameters, or platform-specific surface terms.
Exempt: data-capture-sdk (advisory skill, different trust rule).
2. ## API Usage Policy
Must exist and convey:
- Only use APIs documented in this skill's references.
- Do not invent or guess method signatures or parameters.
- Fetch the relevant reference page when unsure or on a compile error.
- Do not tell the user to check the docs themselves.
- Always include the relevant link in the answer.
- Never construct or guess documentation URLs — first check a fetched page for a direct hyperlink, otherwise fetch the API index and extract the real link.
Exempt: data-capture-sdk.