skills/estimate-assistant/SKILL.md
Provide data-driven task estimates using git history, code complexity analysis, and similar past work
npx skillsauth add stevefeldman/agents-skills estimate-assistantInstall 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 data-driven task estimation based on historical git data, code complexity, and similar past work.
Analyze the task described in $ARGUMENTS and produce a data-backed estimate.
Collect relevant historical data from the repository:
# Get commit history with timestamps and authors (last 6 months)
git log --pretty=format:"%h|%an|%ad|%s" --date=iso --since="6 months ago"
# Analyze PR completion times (if gh CLI is available)
gh pr list --state closed --limit 50 --json number,title,createdAt,closedAt,additions,deletions,files
# Get file change frequency to identify hot spots
git log --pretty=format: --name-only --since="6 months ago" | sort | uniq -c | sort -rn | head -20
# Analyze commit patterns by author
git shortlog -sn --since="6 months ago"
For the files and modules relevant to the task:
Search the git history for similar completed tasks:
Evaluate factors that increase or decrease effort:
| Factor | Impact | Notes | |---|---|---| | New code vs refactoring | Refactoring typically 1.3x | Existing code has hidden dependencies | | External API integration | +20-40% | API docs, auth, error handling | | Database changes | +15-30% | Migrations, backwards compatibility | | UI work | +20-30% | Cross-browser, responsive, accessibility | | Security-sensitive | +20-40% | Review, testing, edge cases | | Existing test coverage | -10-20% | Safety net for changes | | Well-documented area | -10-15% | Faster ramp-up |
Combine the data:
Present findings in this format:
## Task Estimation Report
**Task:** [description]
**Date:** [date]
### Estimate: [X] story points (or [X] hours/days)
**Confidence:** [Low/Medium/High] ([percentage]%)
**Range:** [optimistic] - [pessimistic]
### Similar Completed Tasks
1. "[PR/commit title]" - [duration], [files changed], [lines changed]
2. "[PR/commit title]" - [duration], [files changed], [lines changed]
3. "[PR/commit title]" - [duration], [files changed], [lines changed]
### Complexity Factors
- **[Factor]** ([+/- impact]): [explanation]
- **[Factor]** ([+/- impact]): [explanation]
### Affected Areas
- [file/module]: [what changes are needed]
- [file/module]: [what changes are needed]
### Risk Factors
- [risk]: [mitigation]
- [risk]: [mitigation]
### Recommendations
1. [actionable suggestion]
2. [actionable suggestion]
### Breakdown (if applicable)
1. [subtask] - [estimate]
2. [subtask] - [estimate]
3. [subtask] - [estimate]
See references/estimation-models.md for detailed estimation model examples and pattern recognition approaches.
development
Use when reviewing Dependabot alerts, npm audit findings, govulncheck output, or CVE reports on a JavaScript/Node.js or Go project — especially when triaging multiple alerts across direct and transitive dependencies to assess real-world risk and produce a remediation plan.
development
Use when a code review finding needs proof — write a focused test in JavaScript or Go that either confirms the issue is real or exposes it as over-engineering hyperbole. Trigger after code-review or code-review-skill findings are presented and evidence is requested.
development
Produce data-driven software delivery estimates by analyzing historical JIRA tickets, git activity, and engineer track records, then matching the new work against the most similar past tickets. Use this skill whenever the user asks "how long will this take", wants to estimate a piece of work, scope an epic, plan a sprint, or estimate delivery for JIRA stories or a Figma design. Also use whenever the user wants developer-to-work assignment recommendations based on history, wants to optimize an estimate by adding or reallocating engineers, or asks "what's the fastest way to ship this" or "who should work on this". Especially trigger when the user provides JIRA ticket IDs, JIRA story links, or Figma designs together with any indication of a team that will execute the work.
tools
Use when auditing an existing test suite for quality and coverage gaps, evaluating Playwright migration readiness, scoring automation against a world-class e-commerce standard, or guiding the creation of new tests. Applicable to Selenium, WebdriverIO, and Playwright suites.