.claude/skills/goal-backward-verification/SKILL.md
Verify that task outputs actually achieve stated goals through 4 progressive levels of verification
npx skillsauth add oimiragieo/agent-studio goal-backward-verificationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Verify that task outputs actually achieve stated goals through 4 progressive levels of verification. Works backward from the goal to verify each artifact exists, is substantive, is wired into the system, and passes functional tests.
Skill({ skill: 'goal-backward-verification' });
Invoke when:
Verify the expected output artifact is present on disk.
# Check file existence
test -f <expected_path> && echo "PASS: File exists" || echo "FAIL: File missing"
Pass: File exists at expected path. Fail: File missing — task did not produce expected output.
Verify the file contains real content, not a stub or placeholder.
Checks:
# Count substantive lines (non-empty, non-comment)
grep -cvE '^\s*(//|#|\*|$|TODO|PLACEHOLDER|FIXME|STUB)' <file>
Pass: File has substantive content (>10 real lines). Fail: Stub detected — file exists but contains no real implementation.
Verify the artifact is imported, referenced, or registered by the system.
Checks:
.cjs/.js modules: at least 1 require() or import reference in other filesskills: frontmatter or skill-index.json# Search for references to the artifact
grep -r "require.*<module-name>" .claude/ --include="*.cjs" --include="*.js" | grep -v node_modules | grep -v _archive
Pass: At least 1 external reference found. Fail: Orphaned artifact — exists but nothing uses it.
Verify the artifact passes its associated tests end-to-end.
Checks:
tests/<mirror-path>/<name>.test.cjs)node --test <test-file># Run associated tests
node --test tests/<path>/<artifact>.test.cjs
Pass: All tests pass (exit code 0). Fail: Test failures detected — artifact may be broken.
All 4 levels must pass. Any failure at any level blocks the verification.
All 4 levels are checked, but failures produce warnings instead of blocking. Useful for incremental development where wiring may not be complete yet.
Set mode via environment variable:
GOAL_VERIFICATION_MODE=strict # or advisory
{
"artifact": "path/to/file",
"levels": {
"exists": { "passed": true },
"substantive": { "passed": true, "lines": 45 },
"wired": { "passed": true, "references": ["path/to/importer.cjs"] },
"functional": { "passed": false, "reason": "2 tests failed", "exitCode": 1 }
},
"verdict": "PARTIAL",
"mode": "advisory",
"passedLevels": 3,
"totalLevels": 4
}
Verdict values:
PASS — All 4 levels passedPARTIAL — Some levels passed, some failedFAIL — Level 1 (Exists) failed (nothing else to check)Read the task's acceptance criteria or plan file to identify expected output artifacts (files, schemas, skills, hooks).
For each artifact, run Levels 1-4 in order. Stop early if Level 1 fails (no point checking substantiveness of a missing file).
Generate structured JSON output with per-artifact, per-level results. Include the overall verdict.
In advisory mode, log warnings to session-gap-log for reflection-agent consumption. In strict mode, return FAIL verdict to block completion.
verification-before-completion — Evidence-based completion gatesproactive-audit — Framework health checkstdd — Test-driven development ensuring Level 4 passestools
Comprehensive biosignal processing toolkit for analyzing physiological data including ECG, EEG, EDA, RSP, PPG, EMG, and EOG signals. Use this skill when processing cardiovascular signals, brain activity, electrodermal responses, respiratory patterns, muscle activity, or eye movements. Applicable for heart rate variability analysis, event-related potentials, complexity measures, autonomic nervous system assessment, psychophysiology research, and multi-modal physiological signal integration.
tools
Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python. Use when working with network/graph data structures, analyzing relationships between entities, computing graph algorithms (shortest paths, centrality, clustering), detecting communities, generating synthetic networks, or visualizing network topologies. Applicable to social networks, biological networks, transportation systems, citation networks, and any domain involving pairwise relationships.
data-ai
Molecular featurization for ML (100+ featurizers). ECFP, MACCS, descriptors, pretrained models (ChemBERTa), convert SMILES to features, for QSAR and molecular ML.
development
Run Python code in the cloud with serverless containers, GPUs, and autoscaling. Use when deploying ML models, running batch processing jobs, scheduling compute-intensive tasks, or serving APIs that require GPU acceleration or dynamic scaling.