d2
This skill should be used when the user invokes "/d2" to create a diagram from the current context using D2 and output the…
This skill should be used when the user invokes "/plantuml" to create a diagram from the current context using PlantUML and output the resulting image path.
$ npx -y skills add xenodium/emacs-skills --skill plantuml --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/plantumlContext preview
The summary Claude sees to decide when to auto-load this skill.
This skill should be used when the user invokes "/plantuml" to create a diagram from the current context using PlantUML and output the resulting image path.
name: plantuml description: 'This skill should be used when the user invokes "/plantuml" to create a diagram from the current context using PlantUML and output the resulting image path.' tools: Bash disable-model-invocation: true
Create a diagram from the most recent interaction context using PlantUML. Generate a PNG image with a transparent background and output it as a markdown image so it renders inline.
1. Extract or derive diagrammable data from the current context. 2. If the Emacs foreground color is not already known from a previous diagram in this session, query it:
emacsclient --eval ' (face-foreground (quote default))'
This returns a hex color like `"#eeffff"`. Reuse it for all subsequent diagrams. 3. Write a PlantUML file to a temporary file using that color. 4. Run PlantUML on the file. 5. Output the result as a markdown image on its own line:

plantuml -tpng /tmp/agent-diagram-XXXX.puml
@startuml skinparam backgroundColor transparent skinparam shadowing true skinparam roundcorner 10 skinparam defaultFontName "Helvetica" skinparam defaultFontColor #eeffff ' Set foreground color on all element types skinparam titleFontColor #eeffff skinparam sequenceLifeLineBorderColor #eeffff skinparam sequenceArrowColor #eeffff skinparam sequenceGroupHeaderFontColor #eeffff skinparam sequenceGroupBorderColor #eeffff skinparam sequenceDividerFontColor #eeffff skinparam sequenceDividerBorderColor #eeffff skinparam actorBorderColor #eeffff skinparam actorFontColor #eeffff skinparam participantFontColor #eeffff skinparam participantBorderColor #eeffff skinparam collectionsFontColor #eeffff skinparam collectionsBorderColor #eeffff skinparam noteFontColor #eeffff skinparam noteBorderColor #eeffff skinparam arrowFontColor #eeffff skinparam classFontColor #eeffff skinparam classBorderColor #eeffff skinparam classAttributeFontColor #eeffff skinparam packageFontColor #eeffff skinparam packageBorderColor #eeffff skinparam componentFontColor #eeffff skinparam componentBorderColor #eeffff skinparam interfaceFontColor #eeffff skinparam interfaceBorderColor #eeffff ' ... diagram content ... @enduml
Claude Code skills for Emacs integration. These skills enable tighter integration with agents running inside Emacs, for example agent-shell.
This skill should be used when the user invokes "/d2" to create a diagram from the current context using D2 and output the…
This skill should be used when the user invokes "/describe" to look up Emacs documentation via emacsclient.
This skill should be used when the user invokes "/dired" to open files from the latest interaction in an Emacs dired buffer via…
Always use emacsclient instead of emacs. This applies to all Emacs operations: user requests, byte compilation, check-parens,…
When referencing files, format them as markdown links with line numbers using GitHub-style #L syntax.
This skill should be used when the user invokes "/github-activity" to analyze a GitHub project''s recent activity (PRs and…