Skip to content
Deployment
Hook

Hooks

What flutter-flame-harness runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
flutter-flame-harness
6014 skills1 hook
Install
> /plugin marketplace add tjdrhs90/flutter-flame-harness
> /plugin install flutter-flame-harness@flutter-flame-harness

Ships with flutter-flame-harness. Installing the plugin gets these hooks.

Where it lives

  • hooks/stop-failure-handler.shGitHub
    Read the script
    #!/usr/bin/env bash
    set -euo pipefail
    STATE="docs/harness/state.md"
    [ -f "$STATE" ] || exit 0           # not a harness project
    payload="$(cat 2>/dev/null || true)"
    echo "$payload" | grep -qiE 'rate.?limit|429' || exit 0
    # mark paused (portable sed)
    tmp="$(mktemp)"
    sed -e 's/^status:.*/status: paused/' \
        -e 's/^pause_reason:.*/pause_reason: rate_limit/' "$STATE" > "$tmp" && mv "$tmp" "$STATE"
    grep -q '^status:' "$STATE" || printf 'status: paused\n' >> "$STATE"
    grep -q '^pause_reason:' "$STATE" || printf 'pause_reason: rate_limit\n' >> "$STATE"
    printf '| %s | PAUSE | - | rate_limit |\n' "$(date '+%H:%M')" >> docs/harness/pipeline-log.md 2>/dev/null || true
    command -v osascript >/dev/null && osascript -e 'display notification "flame-harness paused (rate limit)"' 2>/dev/null || true
    exit 0
    

Read the script before you install anything that runs on your machine. This is the one part of a plugin that acts without being asked.

Ships withflutter-flame-harness

A Claude Code plugin that takes a Flutter/Flame game from raw idea all the way to the app stores.

Get the whole plugin
Stats
60
Stars
5
Forks
Active
Maintenance
Shell
Language
MIT
License
17d ago
Last commit
2mo ago
Created

Repo: tjdrhs90/flutter-flame-harness