ericrisco/rsc-harness / skills/automation-flows
automation-flows
VerifiedUse when building or fixing a no-code automation on n8n, Make, or Zapier — trigger to multi-app steps with data mapping, dedup, retries and an error path — or picking the platform by billing unit (task vs credit vs execution). NOT a typed API client in code (that is api-connector-builder), NOT a webhook receiver in your own app (that is webhooks).
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 11.3 KB |
| evals/README.md | markdown | 1.2 KB |
| evals/cases.yaml | config | 3.3 KB |
| references/error-handling.md | markdown | 4.4 KB |
| references/n8n-workflow-json.md | markdown | 3.1 KB |
| scripts/verify.shexecutable | script | 2.2 KB |
scripts/verify.sh
View on GitHub#!/usr/bin/env bash
# verify.sh — read-only validator for n8n workflow JSON emitted by automation-flows.
# Checks every *.json under the target: parses as JSON, non-empty `nodes` array,
# `connections` object, and >=1 trigger node. No network, no credentials.
# Exits 0 when there is nothing to check (empty/clean target is not a failure).
set -euo pipefail
TARGET="${1:-.}"
if [ ! -e "$TARGET" ]; then
echo "verify: target not found: $TARGET (nothing to check)"
exit 0
fi
# Collect candidate JSON files (files or a directory tree).
files=()
if [ -d "$TARGET" ]; then
while IFS= read -r f; do files+=("$f"); done < <(find "$TARGET" -type f -name '*.json' 2>/dev/null)
elif [ -f "$TARGET" ]; then
files+=("$TARGET")
fi
if [ "${#files[@]}" -eq 0 ]; then
echo "verify: no *.json workflow files found under $TARGET (nothing to check)"
exit 0
fi
PY="$(command -v python3 || command -v python || true)"
if [ -z "$PY" ]; then
echo "verify: python not found; cannot validate JSON" >&2
exit 2
fi
rc=0
for f in "${files[@]}"; do
if "$PY" - "$f" <<'PYEOF'
import json, sys
path = sys.argv[1]
try:
with open(path, encoding="utf-8") as fh:
data = json.load(fh)
except Exception as e:
print(f"FAIL {path}: not valid JSON ({e})")
sys.exit(1)
# Only judge files that look like n8n workflows (have a nodes key).
if not isinstance(data, dict) or "nodes" not in data:
print(f"skip {path}: not an n8n workflow (no top-level 'nodes')")
sys.exit(0)
errs = []
nodes = data.get("nodes")
if not isinstance(nodes, list) or len(nodes) == 0:
errs.append("`nodes` must be a non-empty array")
conns = data.get("connections")
if not isinstance(conns, dict):
errs.append("`connections` must be an object")
def is_trigger(n):
t = (n.get("type") or "").lower() if isinstance(n, dict) else ""
return t.endswith("webhook") or t.endswith("trigger") or t.endswith("cron")
if isinstance(nodes, list) and not any(is_trigger(n) for n in nodes):
errs.append("no trigger node found (type ending in webhook/trigger/cron)")
if errs:
print(f"FAIL {path}: " + "; ".join(errs))
sys.exit(1)
print(f"ok {path}: {len(nodes)} nodes, trigger present, connections object")
sys.exit(0)
PYEOF
then :; else rc=1; fi
done
exit "$rc"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |