ci
Generate a CI/CD pipeline — build, test, security scan, deploy. Supports GitHub Actions, GitLab CI, Bitbucket Pipelines.
Generate advanced .drawio diagrams (ERD, UML class/sequence, C4 model, ML/DL, mindmap/gantt/timeline via Mermaid, complex architecture) — including from existing code (Python/JS/Go/Rust), IaC (Terraform/Kubernetes/docker-compose, or live running infra), SQL DDL, or OpenAPI
$ npx -y skills add KhaiTrang1995/agentic-awesome-kits --skill diagram --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/diagramContext preview
The summary Claude sees to decide when to auto-load this skill.
Generate advanced .drawio diagrams (ERD, UML class/sequence, C4 model, ML/DL, mindmap/gantt/timeline via Mermaid, complex architecture) — including from existing code (Python/JS/Go/Rust), IaC (Terraform/Kubernetes/docker-compose, or live running infra), SQL DDL, or OpenAPI
name: diagram description: Generate advanced .drawio diagrams (ERD, UML class/sequence, C4 model, ML/DL, mindmap/gantt/timeline via Mermaid, complex architecture) — including from existing code (Python/JS/Go/Rust), IaC (Terraform/Kubernetes/docker-compose, or live running infra), SQL DDL, or OpenAPI specs. Includes shape search across 10,000+ standard icons (AWS/Azure/GCP/Cisco/K8s/UML/BPMN), style presets, and PNG/SVG/PDF/JPG export via draw.io desktop CLI with vision self-check. Use when `/architecture` or `/flowchart` (hand-authored XML, no CLI dependency) is not enough — need high accuracy, vendor-specific icons, auto-layout for large diagrams, import from real code/infra, or image export. allowed-tools: Read, Write, Edit, Bash, Glob, Grep user-invocable: true argument-hint: "<diagram description> [--type erd|uml|sequence|c4|architecture|ml|flowchart|mermaid] [--from-code <path>] [--from-sql <file>] [--from-iac <path>] [--style <preset>] [--export png|svg|pdf|jpg]"
This skill packages most of the capability of [drawio-skill](https://github.com/Agents365-ai/drawio-skill) (MIT License © Agents365-ai) — 28 Python scripts, shape search across 10,000+ icons, style-preset system, vision self-check workflow. The kit-root `scripts/`, `references/`, `styles/`, and `data/` trees are near-verbatim copies of upstream — **do NOT modify script internals**; invoke them via Bash only. Original license is preserved in `LICENSE-drawio-skill`.
**Differences from upstream behavior** (to match TechSphereX AI house conventions):
| Need | Use which skill | |---|---| | Simple architecture/flowchart, no image export, no draw.io CLI dependency | `/architecture`, `/flowchart` | | ERD from SQL DDL, sequence diagram, C4 model, UML class diagram | `/diagram --type erd\|sequence\|c4\|uml` | | Reconstruct structure of a codebase (Python/JS/Go/Rust) or IaC / live running infra | `/diagram --from-code` / `--from-iac` | | Vendor-specific icons (real AWS Lambda, real K8s pod, …) instead of generic rectangles | `/diagram` (use `shapesearch.py`) | | Diagrams > 15 nodes needing auto-layout instead of hand-placed coordinates | `/diagram` (`autolayout.py` or CLI `--layout` ELK) | | Export PNG/SVG/PDF, vision self-check before delivery | `/diagram` | | Learn/apply a custom style (colors, fonts, shapes) from an existing file/image | `/diagram` (Learn flow — see `references/style-presets.md`) |
/diagram microservices architecture: API Gateway, Auth/Order/Payment service, Kafka, Postgres, Redis /diagram --type erd @schema.sql /diagram --type sequence OAuth login flow: Client, Auth Server, Resource Server /diagram --type c4 TOPO system (Context → Container → Component) /diagram --from-code ./src --lang python --group # import graph diagram /diagram --from-iac ./infra --lang terraform # architecture from Terraform, real cloud icons /diagram redraw existing container architecture with style "corporate" /diagram learn style from @docs/diagrams/container/architecture-overview.drawio name it "TechSphereX AI-brand" /diagram export docs/diagrams/topo/architecture-overview.drawio to PNG
Per `references/style-presets.md`: 1. Scan the user request for an explicit preset name (“use style X”, “in the X look”). The phrase `with X` does not count if X is a component name, not a style. 2. If none → check whether the user has set any preset `"default": true` (stored under `~/.drawio-skill/styles/` per upstream design, or an equivalent project directory if there is no shared home). 3. If none → **default to the TechSphereX AI palette** (`drawio-conventions.md` sections 2–6). Do NOT use drawio-skill’s built-in `default.json` unless the user explicitly passes `--style default`. 4. Valid preset → load from `styles/built-in/<name>.json` (built-ins: `default`, `corporate`, `handdrawn`, `colorblind-safe`, `dark`) or a user-saved file. Unknown preset name → report error, list available presets, do NOT silently fall back.
If important information is missing, ask at most 1–3 questions:
Reusable AI Skill Kits for coding agents (Claude Code and any other subagent/slash-command-compatible tool).
Repo: KhaiTrang1995/agentic-awesome-kits
Generate a CI/CD pipeline — build, test, security scan, deploy. Supports GitHub Actions, GitLab CI, Bitbucket Pipelines.
Generate docker-compose.yml — multi-service, network, volumes, healthcheck.
Generate an optimized Dockerfile — multi-stage build, security hardening, small image size.
Generate Swarm secret/config management — external secret references, versioned rotation, config mounts.
Generate or update a single Swarm service definition — scaling, resource limits, rolling update policy, health check.
Generate a Docker Swarm stack file — services, deploy policy (replicas, placement, rolling update/rollback), overlay network.