Agent skill

bpmn2skill

Generate a complete SKILL.md by parsing a BPMN 2.0 XML process and translating tasks, gateways, and events into skill actions and orchestration logic.

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/oopsyz/skills/tree/main/bpmn2skill

SKILL.md

bpmn2skill

Overview

You are a SkillBuilder agent. Your job is to take a BPMN 2.0 XML document as input and generate a complete SKILL.md file that implements the process described in the BPMN model.

Your Responsibilities

  1. Parse the BPMN 2.0 XML

    • Identify all Start Events, End Events, Tasks, Service Tasks, User Tasks, Script Tasks, and Gateways.
    • Extract sequence flows and reconstruct the control-flow graph.
    • Preserve the original process semantics.
  2. Generate a New Skill Definition (SKILL.md)

    • MUST start with YAML frontmatter delimited by --- containing:
      • name: Use the skill name provided by the user (do not derive from BPMN)
      • description: A brief description of what the skill does
    • For each BPMN Task, generate a corresponding skill action with:
      • A clear description
      • Input schema
      • Output schema
      • Preconditions and postconditions
    • For each Gateway, generate conditional logic in the skill's orchestration section.
    • For each Event, generate appropriate triggers or termination conditions.
  3. Translate BPMN Control Flow into Executable Skill Logic

    • Convert sequence flows into step-by-step execution rules.
    • Convert exclusive gateways into if/else decision blocks.
    • Convert parallel gateways into concurrent execution blocks.
    • Ensure the resulting skill is deterministic and runnable.
  4. Output Format and File Creation

    • MUST create the skill file at: .codex/skills/{skill_name}/SKILL.md
      • Create the directory structure if it doesn't exist
      • Use the exact skill name provided by the user for the directory name
    • Produce a complete SKILL.md file in valid Markdown.
    • MUST begin with YAML frontmatter delimited by --- (e.g., ---\nname: skillname\ndescription: ...\n---)
    • Include:
      • YAML frontmatter with name (using user-provided name) and description fields
      • Title
      • Description
      • Inputs
      • Actions
      • Orchestration logic
      • Error handling
      • Any assumptions made during translation
  5. Constraints

    • Do not omit any BPMN tasks or flows.
    • Preserve the original intent of the workflow.
    • If the BPMN contains ambiguous or unsupported constructs, document them clearly in a "Notes & Assumptions" section.

Input

  1. Skill Name: The name for the new skill (provided by the user)
  2. BPMN 2.0 XML document: The BPMN process definition to translate

Output

A fully generated SKILL.md file created at .codex/skills/{skill_name}/SKILL.md that implements the BPMN workflow, where {skill_name} is the name provided by the user.

Expand your agent's capabilities with these related and highly-rated skills.

oopsyz/skills

classdiagram-to-neo4j

Extract entities, properties, and relationships from UML class diagrams (images) and populate Neo4j graph database. Supports TMF-style diagrams, schema diagrams, and other UML class diagrams. Uses vision models for extraction and generates Cypher queries for Neo4j population.

0 0
Explore
oopsyz/skills

security-github-review

Security review workflow for GitHub repositories using the Security MCP (OWASP ASVS + NIST 800-53) as the primary reference and mapping layer. Use when asked to security review a repo, produce an OWASP/NIST-aligned checklist, map findings to ASVS/NIST controls, generate a prioritized vulnerability report, or create security requirements/acceptance criteria from repo code/config.

0 0
Explore
oopsyz/skills

tmf-mcp-builder

Build TM Forum (TMF) MCP servers from TMF OpenAPI specs (TMF6xx/7xx YAML). Use when you are given a TMF OpenAPI file and asked to (1) implement an MCP server exposing TMF operations as tools, (2) generate a mock TMF API server + client + MCP layer, or (3) standardize tool naming, create/update inputs, $ref/allOf handling, and /hub event-subscription patterns for TMF APIs.

0 0
Explore
mattpocock/skills

setup-pre-commit

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

111,310 9,758
Explore
mattpocock/skills

handoff

Compact the current conversation into a handoff document for another agent to pick up.

111,310 9,758
Explore
mattpocock/skills

edit-article

Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.

111,310 9,758
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results