skill/effort_and_risk/SKILL.md
Produce engineering effort and risk estimates using WBS, three-point (PERT) estimating, risk matrix, uncertainty, and assumptions. Operates on a provided issue id and its prepared plan.
npx skillsauth add sorratheorc/sorraagents effort_and_riskInstall 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.
Produce a concise, auditable engineering estimate (effort + risk) for a prepared work item. The skill's canonical outputs are:
Before doing any work the issue MUST be in the intake_complete or plan_complete stage. If it is not, refuse and output ONLY this single sentence (replace <issue-id> with the actual id):
The issue does not have a sufficiently detailed plan, to proceed it must be in the stage of intake_complete or plan_complete. Run the intake command with /intake <issue-id> or the plan command with /plan <issue-id>.
Do not output any other text when refusing.
The orchestrate_estimate.py script accepts work items in either intake_complete or plan_complete stages when applying effort and risk updates. This allows estimates to be applied early in the intake phase and refined later if needed. The script uses the same stage validation for both calculation and update phases.
Use this skill only after the Producer has prepared a plan and set the work item's stage to intake_complete or plan_complete.
Follow these steps from the project root (run commands from the repository root, not from the skill/effort_and_risk directory):
Fetch the issue and its children (audit file):
wl show <issue-id> --json
Prepare the inputs (JSON) using the plan and WBS. The input should include keys such as:
{ "items": [{"id":"CHILD-1","title":"Design","o":2,"m":4,"p":6}, ...], "o": <effort_units>, "m": <effort_units>, "p": <effort_units>, "overheads": {"coordination": <h>, "review": <h>, "testing": <h>, "risk_buffer": <h>}, "parent": {"probability": <1-5>, "impact": <1-5>}, "children": [{"id":"ISSUE-1","probability":2,"impact":1,"title":"child A"}, ...], "certainty": 85, "assumptions": ["..."], "unknowns": ["..."] }
Run the orchestrator. Prefer capturing output to a filename derived from the work-item id (avoid fixed names):
```sh
python3 scripts/run_skill.py --issue <issue-id> <<'JSON' > final-<issue-id>.json
{ ... }
JSON
```
The orchestrator enforces gating, computes effort and risk, updates issue metadata, and posts the comment. The script returns a single JSON object that includes:
Verify what was posted by inspecting the generated output file (for example final-<issue-id>.json) or, if needed, the issue itself:
wl show <issue-id> --format full
final-<issue-id>.json (or captured stdout): canonical machine-readable estimate (as described above), plus orchestration metadata including human_text and comment_result. Prefer filenames generated from the work-item id to avoid fixed temporary filenames.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.