Skip to content

donaldfilimon/abi / .claude/skills/connector-localcheck

connector-localcheck

Verified

Build the abi CLI and exercise the connector surfaces that run fully locally — the Twilio ConversationRelay simulation and the auth-status report. Use to smoke-test connectors without credentials or network. Does NOT touch the live transport or any remote provider.

FileKindSize
SKILL.mdskill md1.8 KB
connectors.shexecutablescript1.5 KB

connectors.sh

View on GitHub
#!/usr/bin/env bash
# connector-localcheck driver: build the abi CLI and exercise the connector
# surfaces that run fully LOCALLY — the Twilio ConversationRelay simulation and
# the auth-status report. No credentials, no network, no `.live` transport.
#
# Usage: .claude/skills/connector-localcheck/connectors.sh ["caller utterance"]
set -uo pipefail
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
REPO_ROOT=$(cd -- "$SCRIPT_DIR/../../.." && pwd)
cd "$REPO_ROOT"
ABI="$REPO_ROOT/target/debug/abi"
UTTER="${1:-I need account help}"
fail=0
say() { printf '\n=== %s ===\n' "$*"; }
check() { local label="$1" expect="$2"; shift 2; local out; out=$("$@" 2>&1)
    printf '%s\n' "$out"
    grep -qF -- "$expect" <<<"$out" && echo "[ok] $label" || { echo "[FAIL] $label (missing: $expect)"; fail=$((fail+1)); }; }

say "build cli"
./tools/cargo.sh build -p abi-cli >/dev/null 2>&1 && echo "[ok] build" || { echo "[FAIL] build"; exit 1; }
[ -x "$ABI" ] || { echo "[FAIL] no binary"; exit 1; }

check "twilio simulate (local)" "Twilio ConversationRelay simulation" "$ABI" twilio simulate "$UTTER"
check "twilio response line"     "response:"                            "$ABI" twilio simulate "$UTTER"
check "twilio escalation line"   "escalation:"                          "$ABI" twilio simulate "$UTTER"
check "auth status (local)"      "Authentication Status:"               "$ABI" auth status

say "summary"; echo "failed: $fail"
[ "$fail" -eq 0 ] && echo "RESULT: PASS — local connector surfaces verified." || echo "RESULT: FAIL — $fail check(s)."
exit "$fail"
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 323kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 323kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 323kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall