/hermitd-laravel-forge:forge-failed-deploysfrom hermitd-laravel-forge
Routinely scans Laravel Forge sites for failed deployments, flagging any with failed, failed-build, or cancelled status.
Ships in hermitd-laravel-forge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Routine skill: scans the org-wide site list and flags any sites whose latest deployment status is failed, failed-build, or cancelled.
Contract: idempotent, read-only, no self-scheduling, short-running. Returns findings or silence — never creates proposals itself.
Run the estate scan.
php ${CLAUDE_PLUGIN_ROOT}/php/forge.php failed-deploys
This pages through the org-wide site list via organizationSites()->lazy() and fetches the deployment_status field on each site. For sites in a failure state it fetches the latest deployments() detail. Rate limiting (429) is handled internally with conservative pacing.
Parse the JSON output. It prints {"failures":[...]}; on {"error":...}, report Scan skipped: <error> in place of No actionable findings.. Each entry has: site_id, site_name, server_id, status, optionally deploy_id, deploy_status, commit. An entry whose detail fetch was rate-limited instead carries an error key (and no deploy_id/commit): treat those as "failure, detail unavailable" and omit the commit line. Never assume all keys are present.
Output the findings block. Always output to stdout, regardless of outcome. reflect --check-id forge-failed-deploys --check hermitd-laravel-forge:forge-failed-deploys classifies the result.
Failures found:
forge-failed-deploys findings — <YYYY-MM-DD>
Failed deployments: <N>
- [deploy-failure] <site_name> (server: <server_id>): status <status><commit line if available>
One bullet per failed site.
No failures:
forge-failed-deploys findings — <YYYY-MM-DD>
No actionable findings.
Do not fetch deployment logs. This scan surfaces sites with failures; the forge-logs or forge-deploy skills handle remediation. Fetching logs per failure during the scan would hit rate limits on large estates.
reflect --check-id forge-failed-deploys --check hermitd-laravel-forge:forge-failed-deploys to classify and route. Routine execution owns scheduling state./hermitd-laravel-forge:hatch as the hermitd-laravel-forge:forge-failed-deploys routine. Its schedule lives in config.routines.[reliability] proposals via the normal pipeline.organizationSites() does not carry deployment_status in your Forge plan/API version, the scan will report zero findings (not an error). Scope to watched_sites in .hermit/config.json if org-wide scan is unavailable.{"error":"rate_limited:..."}, and the check retries on the next scheduled run.What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/forge-deployDeploy a site on Laravel Forge. Always surface-then-approve (preview-deploy first, then deploy with native approval). Watches via the hermit /watch registry and writes a deploy-incident on failure. Triggers on "deploy", "trigger deployment", "deploy site", "run deployment", "check deployment status"./forge-logsRead site deployment logs, server logs, site application/nginx logs, background process logs, and specific deployment logs from Laravel Forge. Includes a triage mode that bundles recent logs with deployment history for rapid incident analysis. Triggers on "show logs", "read logs", "deployment log", "server log", "what happened to the deployment", "triage failing site"./npx claudepluginhub gtapps/hermitd --plugin hermitd-laravel-forgeOther plugins' skills for the same job