SkillSkilltypeA procedure an agent follows. Indexed here, never written here.See every one →What this type is →independently maintainedindependently maintainedoriginPublished by one person or a small company outside SAP. Says nothing about quality; the readings say that.See every one →

drawio-skill-sap

A GitHub Copilot agent skill that writes BTP solution diagrams as uncompressed draw.io XML against the SAP BTP Solution Diagram Design Guideline, with SAP's own shape library bundled.

Generates .drawio files at one of three levels of detail, L0 for business stakeholders, L1 for architects and L2 for implementation teams, and asks once which is wanted, defaulting to L1. The bundled references/drawio-sap-config.json is the SAP Corporate and SAP BTP shape library exported from draw.io, and hand-written icon styles are refused: every persona and every SAP system, service or product has to render as a real icon or product logo looked up through scripts/sap_shapesearch.py, because mxgraph.sap.icon renders as empty boxes. After generating the XML it exports a draft PNG, checks it against the colour, nesting, overlap and connector rules, edits the XML where the check fails and exports again, with validate.py --strict --score linting the structure deterministically. It creates and validates files without draw.io desktop, which is needed only for PNG, SVG, PDF or JPG export, and the vision self-check is skipped where no vision-capable model is available. Python 3 and its standard library are what the scripts need. Installed by placing the skill folder where a Copilot environment reads Agent Skills, .github/skills/drawio-skill-sap in the repository it is to be used in, or through the skills command line.

Facts

Last pushLicenceMIT

Where it sits

Lives in
Provides
Architecture diagramsBTPArchitecture diagramscapabilityDrawing the architecture and components of a solution so another person can understand their responsibilities and connections. Shared notation makes diagrams readable across teams.Agent guidanceBTPAgent guidancecapabilityPackaged knowledge you hand a coding agent so it gets a framework right unprompted — skills, rule files, instruction packs. Distinct from agent tooling, which is about building agentic features into your application, and from [agent access to your code](capability:agent-code-access), where the agent reads the real project instead of being handed a file about it.
Optional
draw.iodraw.iooutside the atlasProducing an image or PDF export of the generated diagramexport

Who is behind it

lofonDlofonDPersonMaintains this
In the atlas: maintains 1, contributes to 1
@lofonD
maintainerLik WeiPersonContributes to this
In the atlas: maintains 1, contributes to 5
@likweitan
1 contributor

What it declares

Every artifact

Type
Skill
Origin
Independently maintained

As a skill

Distributed through
npmCopied into the project

For agent guidance

Installs into
GitHub Copilot

Tasks this contributes to1Beta

Hand an agent SAP's BTP diagram rulesSomeone asks an agent for a BTP solution diagram and wants it drawn in SAP's own visual language without the rules being typed into the prompt.Coversthe rules as a Copilot skill with a seven-step routine
What it does

Written for an Agent Skills location a Copilot environment recognises, and it states the icon rule as a prohibition: every persona and every SAP system, service or product has to render as a real SAP icon or product logo.

Remaining work

Place the skill folder where the Copilot environment reads it, or install it through the skills command line. The vision self-check in its routine is skipped where no vision-capable model is available.

All options on the Agent guidance page →

Connections3

drawio-skill-sap connectionsdrawio-skill-sapPROVIDES→ provides2provides stated Hands an agent a seven-step routine for the diagram: clarify the detail level, check the draw.io CLI, generate the XML from a layout spec, export a draft, self-check it against the design rules, edit, and export again, with the icon lookup script named as the only admissible way to style a shape. lofonD/SAP-BTP-Architecture-Diagram-Generator — skills/drawio-skill-sap/SKILL.md, icon rule: https://github.com/lofonD/SAP-BTP-Architecture-Diagram-Generator/blob/main/skills/drawio-skill-sap/SKILL.md lofonD/SAP-BTP-Architecture-Diagram-Generator — skills/drawio-skill-sap/SKILL.md, compatibility: https://github.com/lofonD/SAP-BTP-Architecture-Diagram-Generator/blob/main/skills/drawio-skill-sap/SKILL.md lofonD/SAP-BTP-Architecture-Diagram-Generator — README: https://github.com/lofonD/SAP-BTP-Architecture-Diagram-GeneratorAgent guidanceprovides stated Writes a BTP solution diagram as editable, uncompressed draw.io XML from a plain-language request, placing official SAP icons from a bundled shape library and keeping the Horizon colours, area nesting and connector semantics the SAP BTP Solution Diagram Design Guideline states. lofonD/SAP-BTP-Architecture-Diagram-Generator — skills/drawio-skill-sap/SKILL.md, frontmatter description: https://github.com/lofonD/SAP-BTP-Architecture-Diagram-Generator/blob/main/skills/drawio-skill-sap/SKILL.md lofonD/SAP-BTP-Architecture-Diagram-Generator — README, What You Get: https://github.com/lofonD/SAP-BTP-Architecture-Diagram-GeneratorArchitecture diagramsNEEDS→ optionally needs1optionally needs stated If: exporting the diagram to PNG, SVG, PDF or JPG Producing an image or PDF export of the generated diagram sap-btp-architecture-diagram-generator README: https://github.com/lofond/sap-btp-architecture-diagram-generatordraw.ioif

Install

npx skills add lofonD/SAP-BTP-Architecture-Diagram-Generator --skill drawio-skill-sap

Copied from lofonD/SAP-BTP-Architecture-Diagram-Generator — README, Quick Start, read . Not run by the atlas.

README

quoted from lofonD/SAP-BTP-Architecture-Diagram-Generator under MIT, read
lofonD/SAP-BTP-Architecture-Diagram-Generator/README.mdOn GitHub

SAP BTP Architecture Diagram Generator

A GitHub Copilot agent skill that generates production-quality SAP Business Technology Platform (BTP) solution diagrams following the official SAP BTP Solution Diagram Design Guideline (Horizon theme).

Skill ID: drawio-skill-sap · Version: 1.0.3 Homepage: lofonD/SAP-BTP-Architecture-Diagram-Generator

What You Get

  • Editable, uncompressed .drawio files
  • Official SAP service icons and product logos from the bundled shape library
  • L0, L1, or L2 diagrams for different audiences
  • Structural validation for IDs, nesting, geometry, and connector routing
  • Optional PNG, SVG, PDF, or JPG exports through the draw.io desktop CLI
  • Optional browser previews through the official @drawio/mcp server

The skill can create and validate .drawio files without draw.io desktop. The desktop app is required only for image or PDF export.

Quick Start

1. Install the skill
Clone

Clone this repository and place skills/drawio-skill-sap in an Agent Skills location recognized by your Copilot environment, such as .github/skills/drawio-skill-sap in the repository where you want to use it.

git clone https://github.com/lofonD/SAP-BTP-Architecture-Diagram-Generator.git
Skills CLI

Install via Skills CLI

npx skills add lofonD/SAP-BTP-Architecture-Diagram-Generator --skill drawio-skill-sap
2. Start using the skill

Open Chat in Agent mode and ask for a diagram:

/drawio-skill-sap Create an L1 BTP diagram for SAP Build Work Zone,
Integration Suite, SAP S/4HANA Cloud, and SAP SuccessFactors.

You can also use a natural-language request:

Create an L2 SAP BTP architecture diagram showing Integration Suite
connecting to SAP S/4HANA Cloud through Cloud Connector, with SAP Cloud
Identity Services handling authentication.

If no level is specified, the skill asks once and defaults to L1.

Diagram generated:

Example SAP BTP architecture diagram

3. Validate the result

Python 3 is required for the bundled scripts; they use only the standard library.

python skills/drawio-skill-sap/scripts/validate.py diagram.drawio --strict --score

Strict validation returns a nonzero exit code for errors or warnings, making it suitable for CI.

4. Export the diagram (optional)

Install draw.io desktop, then export with its CLI:

# Windows: high-DPI PNG with editable diagram XML embedded
& "C:\Program Files\draw.io\draw.io.exe" -x -f png -e -s 2 -o diagram.png diagram.drawio
# macOS / Linux
drawio -x -f png -e -s 2 -o diagram.png diagram.drawio

Use -f svg, -f pdf, or -f jpg for another output format. The -e flag embeds the source diagram in supported exports so it can be reopened in draw.io.

Diagram Levels

LevelAudienceTypical content
L0Business stakeholdersPlatform boundaries, core systems, and simple flows
L1Architects and solution ownersSubaccounts, major services, integrations, and selected semantic flows
L2Implementation teamsRuntimes, services, trust and authentication paths, protocols, and a full legend

Design Rules

The skill applies SAP's atomic design approach rather than treating the diagram as a collection of generic boxes:

  • Named SAP services use official SAP icons or product logos.
  • BTP, subaccount, runtime, and external-system boundaries use nested Horizon areas.
  • Grey is the default connector color; semantic colors are reserved for specific flow meanings.
  • Solid, dashed, and dotted lines distinguish direct, indirect, and optional flows.
  • Structural validation catches broken references, invalid nesting, overlaps, and explicit routing defects.
Horizon palette
PurposeBorder / lineFill
SAP/BTP area#0070F2#EBF8FF
Non-SAP or external area#475E75#F5F6F7
Authentication#188918#F5FAE5
Authorization#5D36FF#F1ECFF
Trust#CB00DC#FFF0FA
Warning#C35500#FFF8D6
Error#D20A0A#FFEAF4
Highlight#07838F#DAFDF5
Connector semantics
StyleMeaning
SolidDirect or synchronous flow
DashedIndirect or asynchronous flow
DottedOptional flow
Thick grey, no arrowFirewall or network barrier

For the complete generation rules, see skills/drawio-skill-sap/SKILL.md.

Included Tools

Run these commands from the repository root.

Find an SAP shape
python skills/drawio-skill-sap/scripts/sap_shapesearch.py "integration suite"
python skills/drawio-skill-sap/scripts/sap_shapesearch.py "cloud identity" --format json
python skills/drawio-skill-sap/scripts/sap_shapesearch.py --list-categories

The search returns exact styles from the bundled SAP shape library. shapesearch.py provides a generic draw.io fallback when no SAP shape matches.

Build from a JSON layout spec

sap_build.py turns a compact JSON specification into uncompressed .drawio XML and resolves SAP icons by name:

python skills/drawio-skill-sap/scripts/sap_build.py spec.json -o diagram.drawio
python skills/drawio-skill-sap/scripts/sap_build.py --find "cloud integration"

See the script's module documentation for the supported node types, edge kinds, and specification format.

Validate a diagram
python skills/drawio-skill-sap/scripts/validate.py diagram.drawio --strict --score
python skills/drawio-skill-sap/scripts/validate.py diagram.drawio --format json
Preview without draw.io desktop

Generate a diagrams.net URL from a local file:

python skills/drawio-skill-sap/scripts/encode_drawio_url.py diagram.drawio

The optional .vscode/mcp.json configuration starts the official draw.io MCP server with npx -y @drawio/mcp. It can open XML in the browser, but SAP shape lookup still belongs to sap_shapesearch.py, and file export still requires draw.io desktop.

Repository Contents

skills/drawio-skill-sap/
|-- SKILL.md                       # Agent instructions and design rules
|-- references/
|   |-- drawio-sap-config.json     # Bundled SAP shape library
|   |-- *.drawio                   # Official reference patterns
|   `-- troubleshooting.md
`-- scripts/
    |-- sap_build.py               # JSON spec to .drawio builder
    |-- sap_shapesearch.py         # SAP shape lookup
    |-- shapesearch.py             # Generic draw.io shape lookup
    |-- validate.py                # Structural linter
    |-- encode_drawio_url.py       # Browser-preview URL generator
    `-- repair_png.py              # Repair truncated PNG IEND chunks

Bundled examples cover SAP Task Center at L0/L1/L2, SAP Start, SAP Build Work Zone, SAP Cloud Identity Services, SAP Private Link Service, and a broader BTP reference architecture.

Troubleshooting

For common XML, icon, layout, routing, and export issues, see skills/drawio-skill-sap/references/troubleshooting.md.

References

License

See LICENSE if present. SAP shape assets are subject to SAP's IP and usage terms.

MIT, read

Others providing53

Architecture diagrams
  1. ARC-DRAWMCP server drawing BTP solution diagrams on a draw.io canvasfrom BTP/BAIP
  2. btp-solution-diagram-generatorClaude plugin writing BTP solution diagrams as .drawio filesfrom BTP/BAIP
  3. abap-skillsSeventeen agent skills for ABAP developmentfrom ABAP
  4. sap-architectureClaude Code plugin and skill drawing validated BTP diagramsfrom BTP/BAIP
  5. drawio-btp-diagram-skillsClaude Code skills for BTP architecture diagrams in draw.iofrom BTP/BAIP
  6. SAP BTP Solution Diagram GuidelinesSAP's visual language and templates for BTP solution diagramsfrom BTP/BAIP
Agent guidance
  1. abap2UI5 for VS CodeVS Code extension to preview, activate and lint abap2UI5 appsfrom ABAP
  2. sap-cx-developer-companionAgent skill for SAP Customer Experience APIs, CDS and errorsfrom SAP Commerce
  3. sap-basis-opsRunbook skills for Basis operations at the OS and database layerfrom ABAP
  4. abap-offstack-aunitAgent skill for off-stack ABAP Unit tests and an abaplint gatefrom ABAP
  5. ARC-1 SkillsTwenty-two agent skills shipped with arc-1from ABAP
  6. sapskillsAgent skills for Clean ABAP, ADT in VS Code and guardrailsfrom ABAP
  7. SuperClaude for SAPClaude Code plugin with an ABAP MCP server and write guardsfrom ABAP
  8. sap-dm-pod2-mcp-serverMCP server for SAP Digital Manufacturing POD 2.0 extensionsfrom SAP Digital Manufacturing
  9. capire/skillsAgent skills for CAP development, each a SKILL.md with referencesfrom CAP
  10. sap-cloud-integration-pipeline-assistantAgent skill for the Pipeline Concept in SAP Cloud Integrationfrom BTP/BAIP
  11. claude-abap-devFive ABAP workflows for Claude Code on existing MCP serversfrom ABAP
  12. DanKromp/skillOverflowCollection of 41 agent skills, 37 for SAP development tasksfrom CAP
  13. sap-commerce-skillAgent skill for SAP Commerce Cloud 2211-jdk21.1 and laterfrom SAP Commerce
  14. ARC-DRAWMCP server drawing BTP solution diagrams on a draw.io canvasfrom BTP/BAIP
  15. cap-mtx-scaffoldAgent skill for CAP multitenancy scaffoldingfrom CAP
  16. sap-ai-dev-toolkitMCP proxy pinning an agent's ABAP tools to one SAP systemfrom ABAP
  17. scaffold-fiori-ai-bridgeAgent skill generating a Joule Frontend Actions bridge for UI5 appsfrom UI5
  18. sapcli Claude Code PluginAgents and skills that drive sapcli instead of ADTfrom ABAP
  19. CAP GuardianCAP review skill for coding agents with gates and prohibitionsfrom CAP
  20. sap-odata-explorerRust CLI and desktop app for exploring SAP OData servicesfrom BTP/BAIP
  21. btp-solution-diagram-generatorClaude plugin writing BTP solution diagrams as .drawio filesfrom BTP/BAIP
  22. abap-skillsSeventeen agent skills for ABAP developmentfrom ABAP
  23. sap-mdk-appsAgent skill for Mobile Development Kit projectsfrom BTP/BAIP
  24. ABAP remote filesystemVS Code extension editing ABAP systems over ADT as a filesystemfrom ABAP
  25. sap-architectureClaude Code plugin and skill drawing validated BTP diagramsfrom BTP/BAIP
  26. WerkbankLocal desktop workspace for AI conversations with SAP connectorsfrom Across stacks
  27. SAP Datasphere Plugin for ClaudeEighteen Datasphere skills over a bundled MCP serverfrom BTP/BAIP
  28. claude-abap-skillsClaude Code plugins with Clean ABAP rules and templatesfrom ABAP
  29. SAP Power for KiroSAP skills for the Kiro IDEfrom BTP/BAIP
  30. drawio-btp-diagram-skillsClaude Code skills for BTP architecture diagrams in draw.iofrom BTP/BAIP
  31. @patimweb/pi-cap-bestpracticesSAP's capire/skills packaged for the pi coding agentfrom CAP
  32. pod2-configAn agent skill that turns a described POD change into an importable [SAP Digital Manufacturing](external:sap-digital-manufacturing) POD 2.0 export, built from standard plugins and actions only.from SAP Digital Manufacturing
  33. AI Skills LibraryListing of AI skills for SAP, installed with the skills CLIfrom Across stacks
  34. aicore-sdk-javaAgent skill generating Java boilerplate for SAP GenAI Hubfrom BTP/BAIP
  35. aicore-sdk-jsAgent skill generating TypeScript for SAP GenAI Hub on AI SDK v2from BTP/BAIP
  36. aicore-skillsFour agent skills for SAP AI Core in SAP's AI Skills Libraryfrom BTP/BAIP
  37. SAP/automation-pilot-agent-skillsEight skills for writing and operating SAP Automation Pilot contentfrom BTP/BAIP
  38. SAP Developers MCPHosted MCP server of developers.sap.com tutorials and missionsfrom Across stacks
  39. sap-fiori-guidelinesAgent skill built from the Fiori Design Guidelinesfrom UI5
  40. sap-fiori-iosAgent skill mapping Fiori iOS UI Kit nodes in Figma to SwiftUIfrom BTP/BAIP
  41. SAP/leanix-ai-pluginsClaude Code plugin with two skills for SAP LeanIX scriptingfrom BTP/BAIP
  42. SAP-samples/html5-applications-migration-skills-for-sap-btpClaude Code plugin with skills migrating HTML5 apps to appFrontfrom BTP/BAIP
  43. SAP-samples/joule-a2a-agent-toolkitSkills for building an A2A agent for Joule and deploying it to CFfrom BTP/BAIP
  44. SAP-samples/sap-devs-cliCLI adding SAP developer knowledge and MCP servers to AI coding toolsfrom BTP/BAIP
  45. sap-tutorials-contentAgent skill mapping the developers.sap.com content APIfrom BTP/BAIP
  46. SAP/ui-theme-designer-plugins-for-coding-agentsAgent plugin on the SAP Design System and theming parametersfrom UI5
  47. secondsky/sap-skillsForty SAP development plugins for coding agentsfrom BTP/BAIP
  48. claude-sap-kitClaude Code plugin adding Custom_* tools to arc-1from ABAP
  49. UI5/plugins-coding-agentsUI5 plugins for coding agentsfrom UI5
  50. UI5 Web Components agent skillsTwo agent skills for accessibility and styling of web componentsfrom UI5
  51. rap-skillsRAP skills delivered branch-per-target for each deploymentfrom ABAP
  52. KlystronMCP server in ABAP inside the application server, with agent skillsfrom ABAP

Details

Sources3
SAP AI Skills Librarydiscovered here, skills.cloud.sapchecked
github.com/lofonD/SAP-BTP-Architecture-Diagram-Generatortree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
discovered viaSAP AI Skills Library · skills.cloud.sap
first seen in the atlas
ecosystem and domainbtp, developer-experience
Contributors1

From the repository’s contributor list, .

History in the atlas4
  1. GitHub Copilot
  2. A closing sentence naming where the skill folder goes for Copilot, beside the skills command line already in agent.install.
  3. A repository the SAP AI Skills Library collection cache carries as processedBy baseline-2026-09-18 and that was never drafted into the atlas, so the changed registry record of 2026-10-09 is the first occasion to enter it; first_seen keeps the baseline date and no revises flag applies, since there is no published entry to revise. Written from the repository's README, its LICENSE and the skill's own SKILL.md; hard rule 7: skills are indexed, never authored here. It is a fourth independent BTP diagram skill beside marianfoo-btp-drawio-skill, lemaiwo-btp-drawio-skill and miyasuta-claude-drawio-btp-diagram, and GitHub reports it as not a fork of any of them.
  4. First seen.
For your agent
Ref
artifact:lofond-drawio-skill-sap
JSON
/artifacts/lofond-drawio-skill-sap.json
MCP
Connecting an agent