skill/triage/SKILL.md
Triage workflows and helpers for test-failure detection and critical issue creation. Provides a skill to search for or create critical `test-failure` work items and related resources.
npx skillsauth add sorratheorc/sorraagents triageInstall 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.
Provide a deterministic helper for agents that detect failing tests they do not own. The skill's canonical function is check_or_create_critical_issue which searches Worklog for matching incomplete critical issues and creates a new one using the repository template when none exists.
failure_signature):
test_name (required): name of the failing teststdout_excerpt: captured test outputstack_trace: full stack tracecommit_hash: failing commit hashci_url: CI job URLrepo_path: repository root for owner inference (default .)file_path: path to the failing test file (for owner inference){ issueId, created: true|false, matchedId?: id, reason: string }skill/triage/resources/test-failure-template.mdskill/triage/resources/runbook-test-failure.mdskill/owner_inference/SKILL.mdskill/triage/scripts/check_or_create.py — implementation using wl CLI.Heuristics are applied in order of preference:
test-failure issue.test-failure issue.If multiple candidates match, the most recently updated is preferred.
test-failure issue matches via the heuristics above, return the existing issue id.critical work item using the template (with all required sections), infer the suspected owner via the owner-inference skill, and return the new id.pytest -q -r a --disable-warnings or npm --silent test) so passing output stays minimal.triage.issue.created, triage.issue.enhanced.Calling the script with a JSON payload should return the structured result and print JSON to stdout.
Example invocation (documentation):
# Example payload saved to payload.json
cat <<'JSON' > payload.json
{
"test_name": "tests/test_example.py::test_failure",
"stdout_excerpt": "AssertionError: expected 1 but got 0",
"stack_trace": "...",
"commit_hash": "abc123",
"repo_path": ".",
"file_path": "tests/test_example.py"
}
# Run the triage helper (prints JSON to stdout)
python3 skill/triage/scripts/check_or_create.py payload.json
Possible script output when a new critical issue is created:
{ "issueId": "SA-0MPYMFZXO0004ZU4", "created": true, "reason": "No matching incomplete test-failure issue found; created new." }
Or, when matching an existing issue:
{ "issueId": "SA-EXISTING", "created": false, "matchedId": "SA-EXISTING", "reason": "Matched existing test-failure issue by test name." }
testing
Automated batch planning for intake_complete work items. Discovers all items in intake_complete status and invokes /plan for each sequentially, producing a summary report.
data-ai
Unified git management skill that orchestrates the full feature-branch lifecycle — create, commit, push, PR, merge, cleanup — for both AI agents and human operators.
development
Canonical push-to-dev and branch-policy enforcement for agents. Provides the push-to-dev workflow, branch naming, conflict handling, and release process guidance. Trigger with: /skill:ship push-to-dev
development
Write tests, docs and code for a single, specific Worklog work item. Unlike the `implement` skill, this skill operates on exactly one work-item without using `wl next` for recursive dependency resolution or sub-task discovery. It is designed to be invoked by Ralph's per-child loop so that each child is implemented, audited, and remediated independently. Trigger on user queries such as: 'implement-single <work-item-id>', 'complete <work-item-id> (single)', or when Ralph delegates a single-child implement step.