agentleFS
bruuuuucebruuuuuce/mana/skills/story-effort-estimation/SKILL.md

story-effort-estimation

Skill2 starsChanged 4 months agoMITView on GitHub

Estimates Agile story points and implementation-only time ranges for stories and split technical tasks using confirmed scope, complexity, uncertainty, risk, dependencies, and direct test effort. Historical calibration is optional and requires explicit user approval.

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. About 0 are common, 11 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    After technical-task-breakdown splits a story into implementation tasks.

    line 56
  2. Distinctive:

    When a Team Leader needs to compare sibling stories or decide whether a story is too large to start.

    line 57
  3. Distinctive:

    When time pressure requires an explicit delivery range with uncertainty called out.

    line 58
  4. Distinctive:

    Do not treat the time estimate as a commitment or SLA.

    line 61
  5. Very specific:

    Do not estimate from title-only stories unless the output is explicitly marked insufficient_evidence.

    line 62
  6. Distinctive:

    Do not hide missing requirements inside a larger estimate.

    line 63
  7. Distinctive:

    Do not sum task story points mechanically to override the story-level estimate.

    line 64
  8. Distinctive:

    Do not produce story points or a numeric time range unless estimation was explicitly requested, the scope is confirmed, and blockers are …

    line 65
  9. Distinctive:

    Do not include approvals, discovery, branch alignment, review queue time, or evidence collection in implementation effort.

    line 67
  10. Distinctive:

    When comparable historical evidence could materially improve the estimate, first return the base estimate and ask the user for explicit …

    line 103
  11. Distinctive:

    Use the team's configured scale when available.

    line 116
  12. Very specific:

    Use >13 only as a warning that the story should be split or clarified before development.

    line 127
  13. Distinctive:

    Test effort: unit, integration, regression, contract, manual evidence.

    line 136
  14. Very specific:

    If technical_task_breakdown is present, estimate each task separately with:

    line 148
  15. Distinctive:

    Call out split recommendations when any task is too large, too risky, or not independently testable.

    line 160
  16. Very specific:

    Use this structure inside the standard Mana report:

    line 166
  17. Very specific:

    Read .mana/global/service-mission.md, architecture.md, engineering-guards.md, testing-policy.md, and .mana/global/team-decisions/ when …

    line 202
  18. Very specific:

    Follow docs/standards/agent-skill-output-standard.md (Agent And Skill Output Standard) for all generated artifacts.

    line 205

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Story Effort Estimation

Purpose

Help a Team Leader estimate story complexity with Agile story points and produce a separate time range for planning. The skill also estimates each technical task when a story is split, so task assignment and sequencing use the same estimation logic.

This skill supports planning decisions. It does not replace team planning poker, capacity planning, or accountable Team Leader judgement.

When To Use It

  • During story readiness, team planning, or refinement when a story needs a shared size estimate.
  • After technical-task-breakdown splits a story into implementation tasks.
  • When a Team Leader needs to compare sibling stories or decide whether a story is too large to start.
  • When time pressure requires an explicit delivery range with uncertainty called out.

When Not To Use It

  • Do not treat the time estimate as a commitment or SLA.
  • Do not estimate from title-only stories unless the output is explicitly marked insufficient_evidence.
  • Do not hide missing requirements inside a larger estimate; report blockers or questions.
  • Do not sum task story points mechanically to override the story-level estimate.
  • Do not produce story points or a numeric time range unless estimation was explicitly requested, the scope is confirmed, and blockers are resolved.
  • Do not include approvals, discovery, branch alignment, review queue time, or evidence collection in implementation effort. Report them separately as readiness lead-time risks when relevant.

Inputs

  • story
  • acceptance_criteria
  • technical_task_breakdown
  • source_impact_map
  • risk_register
  • team_constraints
  • implementation_contract
  • estimation_requested: optional boolean, defaults to false.
  • historical_calibration_approved: optional boolean, defaults to false. It permits read-only comparison with historical team-level delivery evidence.

Outputs

  • story_effort_estimate
  • task_effort_estimates
  • estimation_rationale
  • estimation_risks
  • calibration_status

Decision Rules

  • blocker: estimate cannot be made responsibly because acceptance criteria, scope, dependency, owner decision, or implementation-contract conflict is missing or unresolved.
  • warning: story is 13 or >13, confidence is low, time range is wide, task split is uneven, or a task is not independently testable.
  • info: estimate is usable with normal uncertainty.

Optional Historical Calibration

The default estimate uses only the current story, technical analysis, service context, and explicit team conventions. Do not search Jira history, Git history, closed stories, cycle time, or delivery metrics by default.

When comparable historical evidence could materially improve the estimate, first return the base estimate and ask the user for explicit approval. Proceed only when historical_calibration_approved: true is supplied or the user explicitly confirms it in the current interaction.

With approval, use only aggregate, team-level evidence: comparable completed stories, their planned versus observed delivery range, recurring dependency or test-environment delays, and documented local point conventions. Do not rank, profile, or infer productivity for individual people. Record the sources, comparison scope, and limitations; calibration may refine confidence or the time range, but must not mechanically override the story-point estimate.

Estimation Scale

Use the team's configured scale when available. If no scale is provided, use:

PointsMeaning
1Trivial, localized, well understood, very low risk.
2Small, clear, limited files, straightforward tests.
3Moderate, normal implementation and test effort, low uncertainty.
5Medium-large, multiple components or notable test/risk work.
8Large, cross-component, high uncertainty, careful review needed.
13Very large, risky, likely needs splitting before assignment.

Use >13 only as a warning that the story should be split or clarified before development.

Estimation Factors

Score using evidence, not optimism:

  • Functional scope and number of acceptance criteria.
  • Number and volatility of affected components.
  • Unknowns, requirement ambiguity, and owner decisions still needed.
  • Integration, database, concurrency, security, or architecture risk.
  • Test effort: unit, integration, regression, contract, manual evidence.
  • Dependencies on other stories, teams, approvals, environments, or data.
  • Legacy complexity, low observability, or fragile existing behavior.

Execution Logic

  1. Confirm estimation_requested: true, confirmed scope, sufficient requirement evidence, and no unresolved blockers. If any condition fails, return not_requested or not_estimable with story_points: null and time_range: null; do not turn uncertainty into a larger estimate.
  2. Respect the implementation contract. An authoritative input must not be re-derived, and a forbidden read or change cannot be included in the estimate.
  3. Estimate the story first using the point scale and rationale. Mark whether the story should be split.
  4. If technical_task_breakdown is present, estimate each task separately with:
    • task name or id
    • story points when the task is independently assignable
    • time range
    • confidence
    • dependencies
    • main uncertainty driver
  5. Produce an implementation-only person-time range: code changes and direct automated tests. Use ranges such as 0.5-1 day, 1-2 days, 3-5 days, or 1-2 weeks. Keep discovery, approvals, review rework, and evidence collection in a separate readiness section and never add them to this range.
  6. Explain why the time range differs from the story point signal when it does; for example, low complexity but slow external dependency.
  7. Call out split recommendations when any task is too large, too risky, or not independently testable.
  8. Set calibration_status to not_requested unless explicit approval was provided. If approved, perform the bounded team-level comparison and set it to performed, insufficient_history, or access_limited.

Required Output Shape

Use this structure inside the standard Mana report:

story_estimate:
  status: ready
  story_points: 5
  time_range: "3-5 days"
  confidence: medium
  split_recommendation: "split optional; tasks are independently assignable"
task_estimates:
  - task: "Add API validation"
    story_points: 2
    time_range: "1-2 days"
    confidence: high
    dependencies: []
    uncertainty_driver: "error mapping details"
estimation_risks:
  - "Integration test environment may widen the time range."
readiness_lead_time:
  excluded_items:
    - "Owner approval and review queue are tracked separately from implementation effort."
calibration_status:
  state: not_requested
  reason: "Historical calibration requires explicit user approval."

Failure Modes

  • Teams may calibrate points differently; use local historical examples only after explicit approval.
  • Time estimates are sensitive to developer familiarity, interruptions, CI latency, and review availability.
  • Splitting can make task time additive, but story points remain relative complexity and should not be summed blindly.

Required Human Review

The Team Leader owns the final estimate, split decision, and assignment. Product Owner, Architect, DBA, Security, or QA review is required when their domain drives a blocker or high-uncertainty estimate.

Service Context Layer

Read .mana/global/service-mission.md, architecture.md, engineering-guards.md, testing-policy.md, and .mana/global/team-decisions/ when available. Use team-specific estimation conventions if documented there.

Output Standard

Follow docs/standards/agent-skill-output-standard.md (Agent And Skill Output Standard) for all generated artifacts. Use templates/story-effort-estimate.template.md for the dedicated estimate artifact; use templates/standard-agent-skill-report.template.md when no more specific template exists.

Internal reasoning must use compact caveman mode: terse fragments, evidence-first notes, no long narrative, and no private chain-of-thought in final artifacts. Maintain a context budget: keep a short working summary with objective, issue keys, workspace path, checked evidence, open hypotheses, discarded hypotheses, and next checks instead of accumulating raw transcripts, full diffs, repeated file dumps, or copied tool output.

Example Output

skill: story-effort-estimation
status: warning
summary: "Story is estimated at 2 points with a 0.5-1 day implementation-only range."
story_estimate:
  status: ready
  story_points: 2
  time_range: "0.5-1 day"
  confidence: high
  split_recommendation: "not needed"
outputs:
  - story_effort_estimate
  - task_effort_estimates
human_review_required: true

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.