Skip to content
Back to skills

Add Workflow Node

ASecurity

Add a new workflow node type to the plugin. Use when implementing a new node type for the workflow engine (e.g., new command, integration, or control flow node).

  • 36 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 6, 2026
ai-agentsgobashnodedocumentation

Security analysis

A100/100

Scanned October 6, 2026

npx -y skills add takeshy/obsidian-llm-hub --skill add-workflow-node --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Workflow Node?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Workflow Node
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/takeshy-add-workflow-node/badge)](https://www.skillsdirectory.com/skills/takeshy-add-workflow-node)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: add-workflow-node
description: Add a new workflow node type to the plugin. Use when implementing a new node type for the workflow engine (e.g., new command, integration, or control flow node).
argument-hint: "[node-type-name]"
disable-model-invocation: true
allowed-tools: Read, Edit, Write, Grep, Glob, Bash
---

# Add New Workflow Node Type

Add a new workflow node type called `$ARGUMENTS` to the plugin.

## Required File Changes (ALL must be updated)

Update the following files in order. Missing any file will cause bugs:

### 1. `src/workflow/types.ts`
- Add to `WorkflowNodeType` union type
- Add to `WORKFLOW_NODE_TYPES` Set (single source of truth for `isWorkflowNodeType()`)
- **If forgotten**: nodes are skipped during parsing and disappear from visual workflow

### 2. `src/workflow/workflowSpec.ts`
- Add documentation entry for AI workflow generation

### 3. `src/workflow/nodeHandlers.ts`
- Add `handle*Node()` function with the node's execution logic
- Export the handler

### 4. `src/workflow/executor.ts`
- Add `case` in the switch statement to call the handler and log execution
- **If forgotten**: node execution fails silently

### 5. `src/ui/components/workflow/WorkflowPanel.tsx`
- Add to `NODE_TYPE_LABELS` object (display name)
- Add to `ADDABLE_NODE_TYPES` array
- Add to `getDefaultProperties()` switch (default property values)
- Add to `getNodeSummary()` switch (summary text for node list)

### 6. `src/ui/components/workflow/NodeEditorModal.ts`
- Add to `NODE_TYPE_LABELS` object
- Add `case` in `renderPropertyFields()` switch for editor UI fields

## Verification

After implementing all changes:
1. Run `npm run lint` to check for errors
2. Run `npm run build` to verify compilation
3. Review each file to ensure the new node type is consistently named

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…