Skip to content
Back to skills

New Exec Type

ASecurity

Add a new executable type to the flow runner (a new kind of automation block users can define in .flow files).

  • 137 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 12, 2026
toolsgobash

Works with

  • mcp

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add flowexec/flow --skill new-exec-type --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of New Exec Type?

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

Security grade badge for New Exec Type
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/flowexec-new-exec-type/badge)](https://www.skillsdirectory.com/skills/flowexec-new-exec-type)

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: new-exec-type
description: Add a new executable type to the flow runner (a new kind of automation block users can define in .flow files).
disable-model-invocation: true
argument-hint: "<type-name> — description of what this executable type does"
allowed-tools: mcp__flow__execute, mcp__flow__run_command, mcp__flow__list_executables, Bash(flow generate:*), Bash(flow validate:*), Bash(flow build:*), Bash(go test:*), Read
---

Add a new executable type to the flow runner for: $ARGUMENTS

An "executable type" is a new automation block users can declare in `.flow` files (like `exec`, `serial`, `parallel`, `render`). Follow these steps in order:

1. **Schema first** — add the new type's fields to `types/executable/executable_schema.yaml`.
   Read the existing schema to match the structure. Regenerate with the `generate` executable
   (`mcp__flow__execute`, ref `generate`) — it rewrites `types/executable/executable.gen.go`.
   Never edit the `.gen.go` file directly.

2. **Runner handler** — each type is its own package: create `internal/runner/<type>/<type>.go`.
   Read `internal/runner/exec/exec.go` or `internal/runner/serial/serial.go` as reference for the
   exact interface and pattern.

3. **Register the type** — wire the new handler into `internal/runner/runner.go` (the dispatch table).

4. **Parser support** — update `internal/fileparser/` if needed to recognize and validate the new type during YAML parsing.

5. **Tests** — add unit tests in `internal/runner/<type>/<type>_test.go` using Ginkgo.
   Use `Describe`/`It`/`Entry` — never `FDescribe`/`FIt`. Cover happy path and error cases.

6. **Validate** — run the `validate` executable (`mcp__flow__execute`, ref `validate`) to confirm
   generate, lint, and tests all pass.

Do not skip the schema step — editing generated files directly will cause CI to fail.

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.