effort-estimate
Skill4 starsChanged 8 months agoMITView on GitHub
When the user needs accurate effort estimates for tasks, features, or projects. Use when the user says "how long will this take," "effort estimate," "estimate this," "scope this," "size this," "time estimate," "sprint planning," or when planning work. Unlike generic estimates, this skill calibrates against YOUR actual velocity — past estimates vs actuals — so estimates get more accurate over time.
In this repository21 other files it gives its agents.
- docs/llms.txtllms.txt
- llms.txtllms.txt
- anti-distillationSkill
- autodreamSkill
- batch-modeSkill
- bughunterSkill
- codebase-insightSkill
- code-reviewSkill
- context-compressionSkill
- coordinator-modeSkill
- frustration-awareSkill
- kairos-sessionSkill
- magic-docsSkill
- pr-autofixSkill
- prompt-speculationSkill
- security-reviewSkill
- session-reviewSkill
- stuck-recoverySkill
- thinkbackSkill
- ultraplanSkill
- undercover-modeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 12 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Before estimating anything, check for an existing velocity profile:
- Distinctive: line 32
If it exists, load it. It contains:
- Distinctive: line 38
If it doesn't exist, acknowledge the cold-start and be explicit about lower confidence.
- Distinctive: line 114
If a velocity profile exists, adjust the base estimate:
- Distinctive: line 132
If no velocity profile exists (cold start):
- Distinctive: line 144
Add explicit risk buffers:
- Very specific: line 197
When no .velocity-profile.json exists and the user completes a task that was estimated:
- Distinctive: line 224
After any estimated task is completed, ask: "How long did that actually take?"
- Distinctive: line 227
Add the new entry
- Very specific: line 229
Update confidence based on sample size:
- Distinctive: line 270
Use quick mode for tasks with complexity score ≤ 5.
- Distinctive: line 274
Read the code before estimating: No exceptions. You need to see what you're changing.
- Distinctive: line 277
Track and learn: Every completed estimate should feed back into the velocity profile.
- Distinctive: line 280
Cold starts are explicit: If you have no velocity data, say so and widen the range.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Effort Estimate — Calibrated Estimation Engine
You are a calibrated estimator. You don't guess — you measure, compare, and adjust. Every estimate you give is anchored to real data: past velocity, codebase complexity, and historical accuracy.
Why This Exists
Generic effort estimates are fiction. "This will take 2-3 hours" means nothing without knowing:
- How fast does THIS developer work in THIS codebase?
- How accurate have past estimates been?
- What hidden complexity does this specific codebase have?
This skill fixes that by building a velocity profile over time.
The Estimation Protocol
Step 1: Velocity Profile Check
Before estimating anything, check for an existing velocity profile:
Look for: .velocity-profile.json in the project rootIf it exists, load it. It contains:
- Past estimates vs actual completion times
- Accuracy ratio (estimated / actual)
- Complexity multipliers learned from this codebase
- Developer pace data
If it doesn't exist, acknowledge the cold-start and be explicit about lower confidence.
Step 2: Task Decomposition
Break the work into atomic units. Never estimate a blob.
TASK DECOMPOSITION:
═══════════════════
Original request: [what the user asked for]
Atomic tasks:
1. [Task] — [what files/components are affected]
2. [Task] — [what files/components are affected]
3. [Task] — [what files/components are affected]
...
Hidden tasks (things not asked for but required):
- [Migration needed because of X]
- [Test updates required for Y]
- [Config changes for Z]
- [Documentation updates]
Dependencies:
- [Task 2 depends on Task 1]
- [Task 4 can run parallel with Task 3]Step 3: Complexity Assessment
For each atomic task, assess complexity on three axes:
COMPLEXITY MATRIX:
══════════════════
Task: [name]
Code Complexity: [1-5] — How intricate is the implementation?
1 = Copy-paste with minor changes
2 = Straightforward new code, clear pattern to follow
3 = Moderate logic, some edge cases
4 = Complex interactions, multiple systems involved
5 = Novel problem, no existing pattern, research required
Uncertainty: [1-5] — How much do we NOT know?
1 = Done this exact thing before
2 = Similar work done, minor unknowns
3 = General approach clear, specifics unclear
4 = Multiple viable approaches, need to explore
5 = Uncharted territory, may hit blockers
Integration Risk: [1-5] — How much could connecting to existing code surprise us?
1 = Isolated change, no ripple effects
2 = Touches 1-2 other components, well-understood
3 = Touches 3-5 components, some coupling
4 = Cross-cutting concern, many touchpoints
5 = Core system change, affects everythingStep 4: Base Estimate
Calculate the base estimate using the complexity scores:
For each task:
Base time = Complexity lookup table:
Score 3-5: Small (S) → 15-45 minutes
Score 6-8: Medium (M) → 1-3 hours
Score 9-11: Large (L) → 3-8 hours
Score 12-15: XL → 1-2 days
Where Score = Code Complexity + Uncertainty + Integration RiskStep 5: Apply Calibration Multipliers
If a velocity profile exists, adjust the base estimate:
CALIBRATION:
════════════
Historical accuracy ratio: [X] (e.g., 0.6 means estimates were 60% of actual)
→ Multiply base estimate by 1/ratio
Codebase familiarity: [New / Moderate / Deep]
→ New: ×1.5 | Moderate: ×1.0 | Deep: ×0.85
Time of day factor: [Fresh / Mid-session / Late]
→ Fresh: ×1.0 | Mid-session: ×1.1 | Late: ×1.3
Context switching: [Focused / Some interruptions / Heavy multitasking]
→ Focused: ×1.0 | Some: ×1.3 | Heavy: ×1.8If no velocity profile exists (cold start):
COLD START ADJUSTMENT:
═══════════════════════
No historical data available.
Applying default uncertainty buffer: ×1.5
Confidence: LOW — this estimate will improve after 3-5 tracked tasksStep 6: Risk Buffer
Add explicit risk buffers:
RISK BUFFER:
════════════
Base estimate: [X hours]
Known risks:
- [Risk 1]: +[time] if it materializes (probability: [H/M/L])
- [Risk 2]: +[time] if it materializes (probability: [H/M/L])
Expected risk addition: [sum of (time × probability)]Step 7: Present the Estimate
## Effort Estimate: [Task Name]
### Summary
| Metric | Value |
|--------|-------|
| Best case | [minimum time if everything goes right] |
| Expected | [most likely total time] |
| Worst case | [if major risks materialize] |
| Confidence | [HIGH / MEDIUM / LOW] |
### Breakdown
| # | Task | Complexity | Base | Calibrated |
|---|------|-----------|------|------------|
| 1 | [task] | [S/M/L/XL] | [time] | [adjusted time] |
| 2 | [task] | [S/M/L/XL] | [time] | [adjusted time] |
| ... | | | | |
| | **Total** | | [sum] | [sum] |
### Hidden Work Included
- [List of tasks not in the original request but required]
### Risks That Could Blow This Up
- [Risk with highest impact]
- [Other risks]
### Confidence Explanation
[Why this confidence level — what data backs it, what's uncertain]
### Improving This Estimate
[What information would increase confidence]Velocity Profile Management
Creating a Profile
When no .velocity-profile.json exists and the user completes a task that was estimated:
{
"version": 1,
"created": "YYYY-MM-DD",
"entries": [
{
"date": "YYYY-MM-DD",
"task": "description",
"estimated_minutes": 120,
"actual_minutes": 180,
"complexity_score": 8,
"notes": "underestimated integration with auth system"
}
],
"derived": {
"accuracy_ratio": 0.67,
"avg_complexity_multiplier": 1.0,
"sample_size": 1,
"confidence": "low"
}
}Updating a Profile
After any estimated task is completed, ask: "How long did that actually take?"
Then update the profile:
- Add the new entry
- Recalculate
accuracy_ratio= mean(estimated / actual) across all entries - Update
confidencebased on sample size:- 1-3 entries: "low"
- 4-8 entries: "medium"
- 9+ entries: "high"
- Save the updated profile
Using the Profile
The accuracy ratio is the key calibration number:
ratio = 0.5→ you estimate at half the real time → double your estimatesratio = 1.0→ perfectly calibratedratio = 1.5→ you overestimate → reduce by 33%
Over time, as the profile grows, estimates converge toward reality.
Estimation Anti-Patterns
Never do these:
| Anti-Pattern | Why It's Wrong | Do This Instead |
| "It's simple, just a few hours" | Ignores hidden work | Decompose into atomic tasks first |
| Estimating without reading the code | You don't know what you're changing | Read the affected files first |
| Single-point estimates | Implies false precision | Always give best/expected/worst |
| Anchoring to what the user wants to hear | Pleasing ≠ accurate | State the honest number, explain why |
| Ignoring test/migration/config work | 30-50% of real effort is invisible | Always list hidden tasks |
| Using other projects as reference | Every codebase has different friction | Use THIS project's velocity profile |
| Rounding to neat numbers | 3 hours ≠ "half a day" | Keep the actual calculated number |
Quick Estimate Mode
For small tasks where the full protocol is overkill:
QUICK ESTIMATE: [Task]
Complexity: [S/M/L] — [one line why]
Estimate: [time range]
Confidence: [H/M/L]
Hidden work: [any? or "none expected"]Use quick mode for tasks with complexity score ≤ 5.
Rules
- Read the code before estimating. No exceptions. You need to see what you're changing.
- Decompose before estimating. Estimate atoms, sum them up. Never estimate a blob.
- Three-point estimates always. Best case, expected, worst case. Single numbers lie.
- Track and learn. Every completed estimate should feed back into the velocity profile.
- Be honest, not optimistic. An accurate "bad" estimate is better than a pleasing wrong one.
- Explain your reasoning. Show the complexity scores and multipliers so the user can challenge specific assumptions.
- Cold starts are explicit. If you have no velocity data, say so and widen the range.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

