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-btp-diagram-skills

Two Claude Code skills that take a BTP architecture described in words through a Mermaid sketch to draw.io XML, with a structural and a visual review after the drawing.

Two skills split the work: drawio-sap-diagrams runs the chain from words to a Mermaid sketch to draw.io XML, and sap-diagram-review checks what came out. The Mermaid step comes first because draw.io XML is verbose and hard for a person to read back. The XML is then written in three passes: a coordinate-free inventory of cells, positions as formulas over main-axis variables, then the px values, so a correction changes a formula instead of a column of numbers. references/guidelines.md is the maintainer's English summary of the SAP BTP Solution Diagram Guidelines and is named the source of truth above the style files that implement them. Two steps stay the person's: pasting the XML into draw.io by hand, and placing the Generic Icons, whose base64 SVG the skill keeps out of Claude's output to hold token use down.

Facts

Last pushLicenceMIT

Where it sits

Lives in
Provides
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.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.
Requires
draw.iodraw.iooutside the atlasThe person pastes the generated XML into draw.io by hand and attaches a screenshot, which the visual review then reads.

Who is behind it

Mio YasutakeMio YasutakePersonMaintains this
In the atlas: maintains 47, contributes to 47, wrote 10
@miyasuta
maintainer

Before choosing this

Conditions

PracticalFunctional boundary

The README tells you to fork before cloning, because Claude rewrites references/ and SKILL.md in place as you use it, so a clone shared between people changes under all of them. Installing means git and ln on macOS or Linux and a symlink into ~/.claude/skills. Fine positioning stays manual: the coordinates Claude writes can be rough apart from the centre coordinates of elements joined by a straight arrow and the containment relationships.

What it declares

Every artifact

Type
Skill
Origin
Independently maintained

As a skill

Distributed through
does not say

For agent guidance

Installs into
Claude CodeClaude Desktop

For architecture diagrams

Checking
Checks the fileChecks the pictureRepairs findings
Diagram format
drawio
property statedstated nonot said

Tasks this contributes to2Beta

Check a BTP solution diagram against the guidelineA BTP solution diagram exists, and before it goes into a document or a review someone wants to know whether it follows SAP's visual language rather than only looking about right.Coverstwo review steps in a person-and-Claude workflow
What it does

WORKFLOW.md names a structural review Claude runs on the XML it wrote, and a visual review it runs on the screenshot the person pastes back. Both read the project's own rule and style files, which sit under its Japanese summary of SAP's guideline.

Remaining work

A person has to paste the diagram into draw.io and share the screenshot before the second review can happen.

All options on the Architecture diagrams page →
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.Coverstwo skills with their own triggers, read at named steps
What it does

A table in SKILL.md says which document is read when: the Conventions section at the Mermaid stage, references/layout.md and references/elements.md for the draw.io XML, and references/guidelines.md when a style decision is in doubt. That file is the maintainer's English summary of SAP's guidelines and is named the source of truth above the implementation layer. The review skill has independent triggers, so it runs on a finished XML or a pasted screenshot without being asked for.

Remaining work

Fork the repository, clone it, symlink the two skill folders into ~/.claude/skills and restart Claude Code. The workflow is written for a person and Claude together, so the steps it assigns to the person stay theirs: pasting the XML into draw.io, and placing the Generic Icons.

All options on the Agent guidance page →

Connections4

drawio-btp-diagram-skills connectionsdrawio-btp-diagram-skillsPROVIDES→ provides2provides stated Two skill files with their own triggers, plus reference documents Claude is told to read at named steps of a diagramming session, and a rule for writing new conventions back into those files. drawio-btp-diagram-skills — skills/drawio-sap-diagrams/SKILL.md, References: https://raw.githubusercontent.com/miyasuta/drawio-btp-diagram-skills/main/skills/drawio-sap-diagrams/SKILL.md drawio-btp-diagram-skills — skills/drawio-sap-diagrams/SKILL.md, When You Encounter an Unfamiliar Style or Icon: https://raw.githubusercontent.com/miyasuta/drawio-btp-diagram-skills/main/skills/drawio-sap-diagrams/SKILL.mdAgent guidanceprovides stated Turns a described BTP landscape into draw.io XML by way of Mermaid, then reviews the XML it wrote and the screenshot the person pastes back, and regenerates the coordinates when a review finds something. miyasuta/drawio-btp-diagram-skills — README, Overview / What It Does: https://github.com/miyasuta/drawio-btp-diagram-skills miyasuta/drawio-btp-diagram-skills — README, Overview / What It Does: https://github.com/miyasuta/drawio-btp-diagram-skillsArchitecture diagramsNEEDS→ needs1needs stated The person pastes the generated XML into draw.io by hand and attaches a screenshot, which the visual review then reads. drawio-btp-diagram-skills — skills/drawio-sap-diagrams/SKILL.md, Overview: https://raw.githubusercontent.com/miyasuta/drawio-btp-diagram-skills/main/skills/drawio-sap-diagrams/SKILL.md miyasuta/drawio-btp-diagram-skills — README, Draw Your First Diagram: https://github.com/miyasuta/drawio-btp-diagram-skillsdraw.ioLINEAGE← inspired1inspired derived Through: inverted from its lineage edgesap-architecture

README

quoted from miyasuta/drawio-btp-diagram-skills under MIT, read
miyasuta/drawio-btp-diagram-skills/README.mdOn GitHub

drawio-btp-diagram-skills

A Skill bundle for Claude Code / Claude Desktop. It provides a collaborative workflow that turns a design you describe in words into an architecture diagram drawn in draw.io.


Overview / What It Does

When you draw an architecture diagram for SAP BTP, writing it directly in draw.io takes time, and correctly applying the official guidelines (colors, sizes, placement) is tedious. This skill handles it with a three-step process, ordered so each stage is easy to review:

  1. You describe the design in words
  2. Claude turns it into logical structure in Mermaid (diagram.md)
  3. Once you agree on the structure, Claude generates the draw.io XML (diagram.drawio)
  4. A structural review (checking the XML) and a visual review (checking a screenshot) run automatically

Reading draw.io XML directly is hard to review, so the key idea is to nail down the logic in Mermaid first, then translate it into XML.

The Two Included Skills
SkillRole
drawio-sap-diagramsThe 5-step collaborative workflow (words → Mermaid → XML)
sap-diagram-reviewAutomatic review of the generated XML / screenshots

sap-diagram-review has its own independent triggers (XML generation complete / screenshot shared), so it can also be called on its own from other workflows.

Who This Is For
  • Architects and developers building apps or solutions on SAP BTP
  • Anyone who wants diagrams that follow the official SAP visual guidelines

Getting Started

Prerequisites
  • Claude Code installed
  • git / ln available (macOS / Linux)
1. Fork This Repository

This repo is meant to be used as your own copy, not pulled directly from the original — as covered in How the Skill Grows below, Claude will keep editing and committing to it as you use it. Fork it on GitHub first, then clone your fork.

Clone to any location you like — <path-to-clone> below is just a placeholder:

git clone https://github.com/<your-fork>/drawio-btp-diagram-skills.git <path-to-clone>
ln -s <path-to-clone>/skills/drawio-sap-diagrams ~/.claude/skills/drawio-sap-diagrams
ln -s <path-to-clone>/skills/sap-diagram-review     ~/.claude/skills/sap-diagram-review

Using symlinks means git pull results take effect immediately (cp -r is not recommended, since it's easy to forget to update the copy).

To verify:

ls -la ~/.claude/skills/drawio-sap-diagrams/        # confirm the symlink resolves
ls ~/.claude/skills/drawio-sap-diagrams/references/ # layout / elements / guidelines
3. Restart Claude Code

If drawio-sap-diagrams and sap-diagram-review both appear in the skill list at the start of a session, you're ready to go.

4. Draw Your First Diagram

Try it out in any project:

Please draw an architecture diagram for this project (CAP + UI5).
- The UI should be accessed from Work Zone
- CAP connects to S/4HANA (Private Cloud)

Claude will ask numbered follow-up questions for any missing information; answer by number and it will generate a Mermaid diagram, then the draw.io XML. Paste the XML into draw.io, attach a screenshot to the conversation, and the visual review will run automatically too.

See Usage below for the detailed flow and more example prompts.


Usage

If the project already has an implementation, Claude can read the code to work out the fine-grained structure, so you only need to give it the high-level relationships:

Please draw an architecture diagram for this project (CAP + UI5).
- The UI should be accessed from Work Zone
- CAP connects to S/4HANA (Private Cloud)

If information is missing, Claude will ask numbered follow-up questions. Answer them briefly by number, and once you agree on the structure it moves on to Mermaid → element inventory → draw.io XML generation.

1. Yes / 2. Via CIS, no 3rd-party / 3. Yes / 4. Not needed

What Claude asks depends on your request and how well it already understands the project (the example above is just meant to illustrate the reply style).

Workflow Overview

Once you send a prompt, the skill proceeds through the following steps:

  1. Generate Mermaid → outputs the logical structure to diagram.md. Review it in the Mermaid preview and give correction instructions in words if needed
  2. Element inventory (a text list of cells without coordinates) → fix any structural mistakes here
  3. Generate draw.io XML → diagram.drawio
  4. Structural review (sap-diagram-review runs automatically)
  5. Paste it into draw.io and attach a screenshot to the conversation
  6. Visual review (sap-diagram-review runs automatically)

How the Skill Grows

This skill is designed to grow as you use it. When you notice an element that isn't yet in the shipped references/, or a preference or house rule of your own, just mention it in conversation and Claude will persist it to the right file.

This all happens inside your own fork — it never touches the original repository you forked from. Whether to upstream any of it via a pull request is entirely up to you.

Examples of How It Grows
TriggerWhere it gets persisted
A new style, color, or size (documented officially but not yet defined in the skill)references/elements.md or references/layout.md
A layout policy like "this pattern should generally be arranged like this"The Conventions section of SKILL.md
A design rule like "these services are always drawn together"The Conventions section of SKILL.md
A personal diagram preference, such as "avoid upward-pointing arrows"The Conventions section of SKILL.md

When Claude itself judges that something "looks reusable," it will suggest adding it, and it gets written once you approve. You can also instruct it explicitly:

I want to keep using this layout policy going forward, so please add it to the Conventions section of SKILL.md.

Because the skill is installed via a symlink, when Claude edits references/ or SKILL.md, it directly rewrites the files in the repository itself. The new rules take effect starting with the next session.

Auto-Commit (Optional)

Because the skill repo is symlinked, updates made during a session in the consuming project are not git commited by that session. Left unchecked, uncommitted changes will pile up.

If you'd rather not commit these changes by hand, you can optionally set up a Stop hook in ~/.claude/settings.json to automatically commit any uncommitted changes in the skill repo when a session ends. Replace SKILL_REPO's value below with wherever you actually cloned this repo:

{
  "hooks": {
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "SKILL_REPO=<path-to-clone>; if [ -d \"$SKILL_REPO/.git\" ] && [ -n \"$(git -C \"$SKILL_REPO\" status --porcelain 2>/dev/null)\" ]; then git -C \"$SKILL_REPO\" add -A && FILES=$(git -C \"$SKILL_REPO\" diff --cached --name-only | paste -sd , - | sed 's/,/, /g') && STAT=$(git -C \"$SKILL_REPO\" diff --cached --shortstat | sed 's/^ *//') && git -C \"$SKILL_REPO\" commit -m \"Auto-update $FILES ($STAT)\"; fi || true"
          }
        ]
      }
    ]
  }
}

Behavior:

  • If a session has no uncommitted changes in the skill repo → does nothing
  • If a session has changes → commits with a message that includes diff info, like Auto-update skills/drawio-sap-diagrams/references/elements.md (1 file changed, 1 insertion(+))
  • Never touches the repository of the consuming project (scope is fixed via git -C "$SKILL_REPO")

After adding the config, restart Claude Code, or open /hooks once, for it to take effect.


Per-Project Customization

Project-specific output path rules belong in each project's CLAUDE.md. The skill itself does not hold any project-specific paths.

Default

If CLAUDE.md doesn't specify an output path, the skill suggests the following as the default:

diagrams/diagram.md       # Mermaid (logical structure)
diagrams/diagram.drawio   # draw.io XML (for pasting)

Repository Structure

drawio-btp-diagram-skills/
├── README.md
├── LICENSE
├── .gitignore
└── skills/
    ├── drawio-sap-diagrams/
    │   ├── SKILL.md          # 5-step workflow + Conventions (inline)
    │   └── references/
    │       ├── layout.md     # draw.io implementation details (px sizes, coordinates, edge connection points)
    │       ├── elements.md   # draw.io element style definitions (BTP, logos, icons, lines)
    │       └── guidelines.md # English summary of SAP's official guidelines (source of truth)
    └── sap-diagram-review/
        └── SKILL.md          # The two phases: structural review + visual review

License

MIT

MIT, read

Others providing24

Agent guidance
  1. sap-cx-developer-companionAgent skill for SAP Customer Experience APIs, CDS and errors
  2. sap-cloud-integration-pipeline-assistantAgent skill for the Pipeline Concept in SAP Cloud Integration
  3. DanKromp/skillOverflowCollection of 41 agent skills, 37 for SAP development tasks
  4. ARC-DRAWMCP server drawing BTP solution diagrams on a draw.io canvas
  5. sap-ai-dev-toolkitMCP proxy pinning an agent's ABAP tools to one SAP system
  6. sap-odata-explorerRust CLI and desktop app for exploring SAP OData services
  7. btp-solution-diagram-generatorClaude plugin writing BTP solution diagrams as .drawio files
  8. abap-skillsSeventeen agent skills for ABAP development
  9. drawio-skill-sapGitHub Copilot skill writing BTP solution diagrams as draw.io XML
  10. sap-mdk-appsAgent skill for Mobile Development Kit projects
  11. sap-architectureClaude Code plugin and skill drawing validated BTP diagrams
  12. SAP Datasphere Plugin for ClaudeEighteen Datasphere skills over a bundled MCP server
  13. SAP Power for KiroSAP skills for the Kiro IDE
  14. aicore-skillsFour agent skills for SAP AI Core in SAP's AI Skills Library
  15. SAP/automation-pilot-agent-skillsEight skills for writing and operating SAP Automation Pilot content
  16. SAP Developers MCPHosted MCP server of developers.sap.com tutorials and missions
  17. sap-fiori-iosAgent skill mapping Fiori iOS UI Kit nodes in Figma to SwiftUI
  18. SAP/leanix-ai-pluginsClaude Code plugin with two skills for SAP LeanIX scripting
  19. SAP-samples/html5-applications-migration-skills-for-sap-btpClaude Code plugin with skills migrating HTML5 apps to appFront
  20. SAP-samples/joule-a2a-agent-toolkitSkills for building an A2A agent for Joule and deploying it to CF
  21. SAP-samples/sap-devs-cliCLI adding SAP developer knowledge and MCP servers to AI coding tools
  22. sap-tutorials-contentAgent skill mapping the developers.sap.com content API
  23. secondsky/sap-skillsForty SAP development plugins for coding agents
Architecture diagrams
  1. ARC-DRAWMCP server drawing BTP solution diagrams on a draw.io canvas
  2. btp-solution-diagram-generatorClaude plugin writing BTP solution diagrams as .drawio files
  3. abap-skillsSeventeen agent skills for ABAP development
  4. drawio-skill-sapGitHub Copilot skill writing BTP solution diagrams as draw.io XML
  5. sap-architectureClaude Code plugin and skill drawing validated BTP diagrams
  6. SAP BTP Solution Diagram GuidelinesSAP's visual language and templates for BTP solution diagrams

Details

Sources3
GitHub APIdiscovered herechecked
github.com/miyasuta/drawio-btp-diagram-skillstree, 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 viaGitHub API
first seen in the atlas
ecosystem and domainbtp, developer-experience
History in the atlas1
  1. First seen.
For your agent
Ref
artifact:miyasuta-claude-drawio-btp-diagram
JSON
/artifacts/miyasuta-claude-drawio-btp-diagram.json
MCP
Connecting an agent