Validate that writer subagent output files exist and are non-empty before proceeding to index updates.
From standardsnpx claudepluginhub qmu/workaholic --plugin standardsThis skill is limited to using the following tools:
sh/validate.shValidates that expected output files from analyst subagents exist and are non-empty. Use this between analyst invocation and README index updates to prevent broken links.
bash ${CLAUDE_PLUGIN_ROOT}/skills/validate-writer-output/sh/validate.sh <directory> <file1> <file2> ...
<directory>: Path to the directory containing expected output files (e.g., .workaholic/specs)<file1> <file2> ...: Space-separated list of expected filenamesJSON with per-file status and overall pass/fail:
{
"pass": true,
"files": {
"stakeholder.md": "ok",
"model.md": "ok"
}
}
"ok": File exists and is non-empty"missing": File does not exist"empty": File exists but has zero bytes"pass": true: All files are ok"pass": false: One or more files are missing or emptyDo NOT proceed to README index updates if pass is false. Report the failure status with the list of files that failed validation.