Agent skill that turns natural language, code, Terraform/K8s, SQL, OpenAPI, AsyncAPI, Protobuf and GraphQL sources into editable, tested draw.io architecture diagrams: incremental sync, multi-view projection, drift diff, CI architecture tests, whiteboard derasterize, interactive HTML/PPTX/Mermaid exports.
This report summarizes scanner evidence for Agents365-ai/drawio-skill, a Python project with 10,059 GitHub stars. SynthScan examined 27,256 lines of code across 137 source files, recording 259 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 13.2 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 224 finding(s).
Are imports declared and package/API names verified? 15 finding(s).
Are wrappers, guards, and repeated structures necessary? 194 finding(s).
Which changes need focused human review? 259 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 259 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_prdiff.py | 93 | def test_non_drawio_files_ignored(self): | STRING |
| LOW | tests/test_prdiff.py | 106 | def test_sections_statuses_and_links(self): | STRING |
| LOW | tests/test_prdiff.py | 146 | def test_build_entry_exports_base_head_diff_pngs(self): | CODE |
| LOW | tests/test_asyncapiimports.py | 121 | def test_cli_emits_graph_json(self): | CODE |
| LOW | tests/test_dbxicons.py | 46 | def test_every_category_exists(self): | CODE |
| LOW | tests/test_dbxicons.py | 52 | def test_manifest_carries_facts_only(self): | CODE |
| LOW | tests/test_dbxicons.py | 71 | def test_search_ranks_substring(self): | CODE |
| LOW⚡ | tests/test_mcp_server.py | 67 | def test_non_object_request_is_invalid_request(self): | CODE |
| LOW⚡ | tests/test_mcp_server.py | 73 | def test_invalid_version_is_invalid_request(self): | CODE |
| LOW⚡ | tests/test_mcp_server.py | 78 | def test_missing_or_non_string_method_is_invalid_request(self): | CODE |
| LOW⚡ | tests/test_mcp_server.py | 86 | def test_non_object_params_is_invalid_params(self): | CODE |
| LOW⚡ | tests/test_mcp_server.py | 94 | def test_unknown_notification_is_silent(self): | CODE |
| LOW⚡ | tests/test_mcp_server.py | 104 | def test_notification_with_invalid_params_is_silent(self): | CODE |
| LOW⚡ | tests/test_mcp_server.py | 110 | def test_notification_with_invalid_tool_arguments_is_silent(self): | CODE |
| LOW⚡ | tests/test_mcp_server.py | 120 | def test_invalid_request_without_id_is_still_answered(self): | CODE |
| LOW⚡ | tests/test_mcp_server.py | 127 | def test_invalid_id_shapes_are_rejected(self): | CODE |
| LOW⚡ | tests/test_mcp_server.py | 136 | def test_supported_ids_are_echoed(self): | CODE |
| LOW⚡ | tests/test_mcp_server.py | 264 | def test_missing_required_arguments_is_invalid_params(self): | CODE |
| LOW⚡ | tests/test_mcp_server.py | 271 | def test_all_missing_required_arguments_are_listed(self): | CODE |
| LOW⚡ | tests/test_mcp_server.py | 277 | def test_wrong_type_argument_is_invalid_params(self): | CODE |
| LOW | tests/test_mcp_server.py | 45 | def test_notification_returns_none(self): | CODE |
| LOW | tests/test_mcp_server.py | 169 | def test_build_schema_requires_only_source_and_output(self): | CODE |
| LOW | tests/test_mcp_server.py | 183 | def test_build_and_test_roundtrip(self): | CODE |
| LOW | tests/test_mcp_server.py | 227 | def test_build_without_ir_output_writes_only_drawio(self): | CODE |
| LOW | tests/test_mcp_server.py | 249 | def test_bad_arguments_is_clean_error(self): | CODE |
| LOW | tests/test_mcp_server.py | 288 | def test_wrong_type_ir_output_is_invalid_params(self): | CODE |
| LOW | tests/test_mcp_server.py | 306 | def test_unknown_argument_is_invalid_params(self): | CODE |
| LOW | tests/test_mcp_server.py | 314 | def test_enum_argument_is_invalid_params(self): | CODE |
| LOW | tests/test_mcp_server.py | 330 | def test_arguments_must_be_an_object(self): | CODE |
| LOW | tests/test_mcp_server.py | 334 | def test_unknown_tool_stays_distinct(self): | CODE |
| LOW | tests/test_mcp_server.py | 362 | def test_contract_failure_exit_one_reports_iserror(self): | CODE |
| LOW | tests/test_mcp_server.py | 386 | def test_clean_run_exit_zero_is_not_error(self): | CODE |
| LOW | tests/test_mcp_server.py | 397 | def test_strict_warning_exit_one_reports_iserror(self): | CODE |
| LOW | tests/test_mcp_server.py | 463 | def test_malformed_requests_do_not_stop_the_server(self): | CODE |
| LOW⚡ | tests/test_tubemap.py | 48 | def test_horizontal_needs_no_bend(self): | CODE |
| LOW⚡ | tests/test_tubemap.py | 51 | def test_vertical_needs_no_bend(self): | CODE |
| LOW⚡ | tests/test_tubemap.py | 54 | def test_exact_diagonal_needs_no_bend(self): | CODE |
| LOW⚡ | tests/test_tubemap.py | 58 | def test_wide_delta_goes_diagonal_then_horizontal(self): | CODE |
| LOW⚡ | tests/test_tubemap.py | 62 | def test_tall_delta_goes_diagonal_then_vertical(self): | CODE |
| LOW⚡ | tests/test_tubemap.py | 66 | def test_bend_lands_on_the_target_axis(self): | CODE |
| LOW⚡ | tests/test_tubemap.py | 77 | def test_counts_and_wellformed(self): | CODE |
| LOW⚡ | tests/test_tubemap.py | 83 | def test_interchange_marker_distinct(self): | CODE |
| LOW⚡ | tests/test_tubemap.py | 89 | def test_line_colour_and_palette_fallback(self): | CODE |
| LOW⚡ | tests/test_tubemap.py | 99 | def test_unknown_station_id_errors(self): | CODE |
| LOW | tests/test_protoimports.py | 41 | def test_services_messages_enums_and_edges(self): | CODE |
| LOW | tests/test_protoimports.py | 113 | def test_nested_messages_enums_and_maps(self): | STRING |
| LOW | tests/test_protoimports.py | 145 | def test_comments_do_not_swallow_string_literals(self): | STRING |
| LOW | tests/test_protoimports.py | 164 | def test_map_types_survive_html_label_rendering(self): | STRING |
| LOW | tests/test_protoimports.py | 176 | def test_directory_detection_keeps_project_language_markers(self): | STRING |
| LOW | tests/test_protoimports.py | 189 | def test_cli_reads_file_and_directory(self): | STRING |
| LOW | tests/test_protoimports.py | 228 | def test_diagramctl_auto_detects_proto(self): | STRING |
| LOW | tests/test_buildup.py | 60 | def test_classify_leaves_and_edges(self): | CODE |
| LOW | tests/test_buildup.py | 70 | def test_bounding_box_from_full_diagram(self): | CODE |
| LOW⚡ | tests/test_buildup.py | 86 | def test_sources_precede_targets(self): | CODE |
| LOW⚡ | tests/test_buildup.py | 95 | def test_cycle_falls_back_to_document_order(self): | CODE |
| LOW⚡ | tests/test_buildup.py | 99 | def test_edge_step_is_at_or_after_both_endpoints(self): | CODE |
| LOW | tests/test_buildup.py | 116 | def test_build_html_self_contained(self): | CODE |
| LOW | tests/test_buildup.py | 132 | def test_full_run_produces_one_frame_per_node(self): | CODE |
| LOW | tests/test_diagramctl.py | 90 | def test_normalize_query_review_and_impact(self): | CODE |
| LOW | tests/test_diagramctl.py | 110 | def test_review_finds_long_sync_chain_and_residency(self): | CODE |
| 114 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/test_buildup.py | 0 | run a script as a subprocess; return completedprocess. | STRING |
| HIGH | tests/test_derasterize.py | 0 | run a script as a subprocess; return completedprocess. | STRING |
| HIGH | tests/test_scripts.py | 0 | run a script as a subprocess; return completedprocess. | STRING |
| HIGH | tests/test_compress.py | 0 | run a script as a subprocess; return completedprocess. | STRING |
| HIGH | skills/drawio-skill/scripts/pyclasses.py | 0 | drop edges implied by a longer path, via graphviz `tred`. | STRING |
| HIGH | skills/drawio-skill/scripts/jsimports.py | 0 | drop edges implied by a longer path, via graphviz `tred`. | STRING |
| HIGH | skills/drawio-skill/scripts/tfimports.py | 0 | drop edges implied by a longer path, via graphviz `tred`. | STRING |
| HIGH | skills/drawio-skill/scripts/rustimports.py | 0 | drop edges implied by a longer path, via graphviz `tred`. | STRING |
| HIGH | skills/drawio-skill/scripts/pyimports.py | 0 | drop edges implied by a longer path, via graphviz `tred`. | STRING |
| HIGH | skills/drawio-skill/scripts/goimports.py | 0 | drop edges implied by a longer path, via graphviz `tred`. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_scripts.py | 1323 | CODE | |
| LOW | examples/hero-demo/build_hero_gif.py | 78 | CODE | |
| LOW | skills/drawio-skill/scripts/graphqlerd.py | 90 | CODE | |
| LOW | skills/drawio-skill/scripts/graphqlerd.py | 127 | CODE | |
| LOW | skills/drawio-skill/scripts/graphqlerd.py | 163 | CODE | |
| LOW | skills/drawio-skill/scripts/graphqlerd.py | 193 | CODE | |
| LOW | skills/drawio-skill/scripts/graphqlerd.py | 343 | CODE | |
| LOW | skills/drawio-skill/scripts/c4.py | 110 | CODE | |
| LOW | skills/drawio-skill/scripts/aiicons.py | 91 | CODE | |
| LOW | skills/drawio-skill/scripts/aiicons.py | 141 | CODE | |
| LOW | skills/drawio-skill/scripts/timelapse.py | 196 | CODE | |
| LOW | skills/drawio-skill/scripts/heatmap.py | 102 | CODE | |
| LOW | skills/drawio-skill/scripts/drawio2mermaid.py | 55 | CODE | |
| LOW | skills/drawio-skill/scripts/shapesearch.py | 32 | CODE | |
| LOW | skills/drawio-skill/scripts/relabel.py | 27 | CODE | |
| LOW | skills/drawio-skill/scripts/tfimports.py | 101 | CODE | |
| LOW | skills/drawio-skill/scripts/dbxicons.py | 99 | CODE | |
| LOW | skills/drawio-skill/scripts/drawiodiff.py | 67 | CODE | |
| LOW | skills/drawio-skill/scripts/drawiodiff.py | 121 | CODE | |
| LOW | skills/drawio-skill/scripts/drawiodiff.py | 146 | CODE | |
| LOW | skills/drawio-skill/scripts/rustimports.py | 120 | CODE | |
| LOW | skills/drawio-skill/scripts/buildup.py | 85 | CODE | |
| LOW | skills/drawio-skill/scripts/buildup.py | 255 | CODE | |
| LOW | skills/drawio-skill/scripts/sqlerd.py | 73 | CODE | |
| LOW | skills/drawio-skill/scripts/openapiimports.py | 79 | CODE | |
| LOW | skills/drawio-skill/scripts/validate.py | 266 | CODE | |
| LOW | skills/drawio-skill/scripts/protoimports.py | 93 | CODE | |
| LOW | skills/drawio-skill/scripts/protoimports.py | 361 | CODE | |
| LOW | skills/drawio-skill/scripts/protoimports.py | 120 | CODE | |
| LOW | skills/drawio-skill/scripts/protoimports.py | 171 | CODE | |
| LOW | skills/drawio-skill/scripts/protoimports.py | 229 | CODE | |
| LOW | skills/drawio-skill/scripts/pyimports.py | 64 | CODE | |
| LOW | skills/drawio-skill/scripts/compress.py | 39 | CODE | |
| LOW | skills/drawio-skill/scripts/diagramctl.py | 342 | CODE | |
| LOW | skills/drawio-skill/scripts/autolayout.py | 152 | CODE | |
| LOW | skills/drawio-skill/scripts/runbook.py | 27 | CODE | |
| LOW | skills/drawio-skill/scripts/restyle.py | 87 | CODE | |
| LOW | skills/drawio-skill/scripts/k8simports.py | 69 | CODE | |
| LOW | skills/drawio-skill/scripts/k8simports.py | 122 | CODE | |
| LOW | skills/drawio-skill/scripts/k8simports.py | 162 | CODE | |
| LOW | skills/drawio-skill/scripts/explain.py | 55 | CODE | |
| LOW | skills/drawio-skill/scripts/diagram_ir.py | 245 | CODE | |
| LOW | skills/drawio-skill/scripts/diagram_ir.py | 269 | CODE | |
| LOW | skills/drawio-skill/scripts/diagram_ir.py | 502 | CODE | |
| LOW | skills/drawio-skill/scripts/diagram_ir.py | 546 | CODE | |
| LOW | skills/drawio-skill/scripts/diagram_ir.py | 1137 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | skills/drawio-skill/scripts/timelapse.py | 173 | let i=0,timer=null; | CODE |
| HIGH | skills/drawio-skill/scripts/timelapse.py | 183 | function stop(){{clearInterval(timer);timer=null;$("play").textContent="▶ Play";}} | CODE |
| HIGH | skills/drawio-skill/scripts/buildup.py | 218 | let i=0,timer=null; | CODE |
| HIGH | skills/drawio-skill/scripts/buildup.py | 227 | function stop(){{clearInterval(timer);timer=null;$("play").textContent="▶ Play";}} | CODE |
| HIGH | skills/drawio-skill/scripts/drawiohtml.py | 142 | let drag=null; | CODE |
| HIGH | skills/drawio-skill/scripts/drawiohtml.py | 149 | stage.addEventListener('pointerup',()=>{{drag=null;stage.classList.remove('drag');}}); | CODE |
| HIGH | skills/drawio-skill/scripts/runbook.py | 197 | b.onclick=()=>{{path.push(c.target);render();}}; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/test_scripts.py | 1343 | except SystemExit: | CODE |
| HIGH | skills/drawio-skill/scripts/validate.py | 166 | except ValueError: | CODE |
| HIGH | skills/drawio-skill/scripts/diagramctl.py | 123 | except (OSError, ValueError): | CODE |
| HIGH | skills/drawio-skill/scripts/autolayout.py | 60 | except (OSError, KeyError, ValueError): | CODE |
| HIGH | skills/drawio-skill/scripts/diagram_ir.py | 1175 | except ValueError: | CODE |
| HIGH | skills/drawio-skill/scripts/diagram_ir.py | 328 | except ValueError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_scripts.py | 775 | CODE | |
| LOW | tests/test_scripts.py | 1272 | CODE | |
| LOW | tests/test_scripts.py | 1907 | CODE | |
| LOW | examples/architecture-studio/generate.py | 4 | CODE | |
| LOW | …ples/architecture-studio/codebase/checkout/__init__.py | 3 | CODE | |
| LOW | skills/drawio-skill/scripts/diagramctl_mcp.py | 13 | CODE | |
| LOW | skills/drawio-skill/scripts/diagramctl.py | 9 | CODE | |
| LOW | skills/drawio-skill/scripts/diagram_ir.py | 11 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | skills/drawio-skill/scripts/aiicons.py | 39 | # Common RAG/LLM data stores that lobe-icons lacks, mapped to simple-icons | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | skills/drawio-skill/scripts/aiicons.py | 177 | except Exception as exc: # noqa: BLE001 - report and skip | CODE |
| LOW | skills/drawio-skill/scripts/aiicons.py | 201 | except Exception as exc: # noqa: BLE001 - keep the CDN URL | CODE |
| LOW | skills/drawio-skill/scripts/dbxicons.py | 270 | except Exception as exc: # noqa: BLE001 - report and skip | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | skills/drawio-skill/scripts/svgflow.py | 49 | # One dash+gap of travel per cycle => seamless loop. Reverse flips the sign. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/drawio-pr-diff.example.yml | 1 | # TEMPLATE — not a live workflow in this repo. | COMMENT |
| LOW | .github/workflows/drawio-architecture-test.example.yml | 1 | # TEMPLATE — not a live workflow in this repo. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ples/architecture-studio/codebase/checkout/__init__.py | 5 | __all__ = ["handle_checkout"] | CODE |