library-quality-audit
SkillAI & modelsRAG-backed. Audit DipTrace component and pattern libraries for pin, pad, mapping, geometry, and identity defects without mutating native libraries. Use when the user says “Audit these DipTrace component and pattern libraries.”
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the library-quality-audit skill
What this skill tells your AI
The instructions your AI receives, as published by fireostendere/mcp_diptrace in skills/library-quality-audit/SKILL.md and read by ahel’s review.
Read runtime access before choosing between explicit-path MCP, a live bridge session, and native/headless CLI. Their availability is separate.
Library quality audit
RAG: engineering memory by default — shared workflow. Use the RAG engineering context and DipTrace library courses to understand symbols, physical packages, mapping pitfalls and footprint suitability while auditing exact records.
Audit exported Component/Pattern Library records through the public read/validation surface.
Current main also contains an internal raw-preserving library mutation core with controlled real
Component Editor / Pattern Editor round-trip evidence, but that core is not registered as a public
native-library write capability and this skill remains read-only.
Use public tools/list for exact callable names and get_capabilities for document/configured
feature availability.
Workflow
- Call
diptrace_statusandget_capabilities; resolve native versus XML input below before callingget_document_infoon a parser-supported document. - Require Component/Pattern Library XML for the parser. For installed native
.elilibraries,query_builtin_library_catalogcan obtain a cached XML export through hidden Component Editor when the host supports it; this does not mutate the installed library. Do not reject installed catalogs merely because a live editor session is absent. Arbitrary binary library export is a separate capability: base roundtrip opens/saves but does not export XML. - Page with
query_library_items. Resolve selected records throughget_library_componentorget_library_pattern. - Run
validate_library_componentfor pin identity, attached pattern, and pin-to-pad mapping. Runvalidate_library_patternfor unique pad numbers, style references, holes, and annular geometry. - When the caller states footprint requirements, optionally run
recommend_patternsfor a deterministic hard-filter and geometry-score ranking of compatible patterns; it is a read-only advisory and never mutates the library. - Group findings by stable item ID and preserve the source SHA-256. If native open/save evidence
is requested, use headless
roundtrip --editor componentor--editor patternon a copy; editor support is independent of public native-library mutation support. - Emit
../shared/result.schema.jsonand keepactionsproposed or refused.
Quantitative boundaries
- Query pages default to 100 records and accept 1 through 500.
- A through-hole annular ring is meaningful only when both diameter and hole values exist and diameter is greater than hole. Report absent values as unavailable; never invent a minimum ring.
- Duplicate pin or pad numbers are deterministic errors. Geometric manufacturability remains a separate fabrication-profile question.
- Coordinates returned by the service are millimetres regardless of the document
Unitsvalue.
The public validators remain the source of these audit checks. Internal mutation evidence does not expand the skill's callable surface.
Refusals
- Do not call raw XML edits to imitate an unregistered public library writer.
- Do not invoke an internal mutation implementation through unsupported/private entry points.
- Do not report a library as universally DipTrace-round-trip verified; scope evidence to the exact controlled operations/editor/candidate that were actually tested.
- Do not infer untested mask, paste, courtyard, identity, or canonicalization semantics from a synthetic fixture.
- Do not turn a read-only audit into
set_component_pattern; that operation is not native library mutation.
Use document evidence for parsed facts and heuristic only for explicitly named engineering
advice. Consult ../capability-map.json for the public native-mutation
boundary.
Signals
- GitHub stars
- 22
- Forks
- 1
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
library-quality-audit- Source
- github.com/fireostendere/mcp_diptrace