estimate

GitHub

通过分析代码复杂度、依赖关系、历史速度和风险因素,评估任务工作量并生成包含置信度和详细拆解的结构化估算报告。

.claude/skills/estimate/SKILL.md Donchitos/Claude-Code-Game-Studios

Trigger Scenarios

需要评估新功能或修改的工作量 规划迭代周期和排期 分析任务风险和依赖

Install

npx skills add Donchitos/Claude-Code-Game-Studios --skill estimate -g -y
More Options

Non-standard path

npx skills add https://github.com/Donchitos/Claude-Code-Game-Studios/tree/main/.claude/skills/estimate -g -y

Use without installing

npx skills use Donchitos/Claude-Code-Game-Studios@estimate

指定 Agent (Claude Code)

npx skills add Donchitos/Claude-Code-Game-Studios --skill estimate -a claude-code -g -y

安装 repo 全部 skill

npx skills add Donchitos/Claude-Code-Game-Studios --all -g -y

预览 repo 内 skill

npx skills add Donchitos/Claude-Code-Game-Studios --list

SKILL.md

Frontmatter
{
    "name": "estimate",
    "model": "sonnet",
    "description": "Estimates task effort by analyzing complexity, dependencies, historical velocity, and risk factors. Produces a structured estimate with confidence levels.",
    "allowed-tools": "Read, Glob, Grep",
    "argument-hint": "[task-description]",
    "user-invocable": true
}

Phase 1: Understand the Task

Read the task description from the argument. If the description is too vague to estimate meaningfully, ask for clarification before proceeding.

Read CLAUDE.md for project context: tech stack, coding standards, architectural patterns, and any estimation guidelines.

Read relevant design documents from design/gdd/ if the task relates to a documented feature or system.


Phase 2: Scan Affected Code

Identify files and modules that would need to change:

  • Assess complexity (size, dependency count, cyclomatic complexity)
  • Identify integration points with other systems
  • Check for existing test coverage in the affected areas
  • Read past sprint data from production/sprints/ for similar completed tasks and historical velocity

Phase 3: Analyze Complexity Factors

Code Complexity:

  • Lines of code in affected files
  • Number of dependencies and coupling level
  • Whether this touches core/engine code vs leaf/feature code
  • Whether existing patterns can be followed or new patterns are needed

Scope:

  • Number of systems touched
  • New code vs modification of existing code
  • Amount of new test coverage required
  • Data migration or configuration changes needed

Risk:

  • New technology or unfamiliar libraries
  • Unclear or ambiguous requirements
  • Dependencies on unfinished work
  • Cross-system integration complexity
  • Performance sensitivity

Phase 4: Generate the Estimate

## Task Estimate: [Task Name]
Generated: [Date]

### Task Description
[Restate the task clearly in 1-2 sentences]

### Complexity Assessment

| Factor | Assessment | Notes |
|--------|-----------|-------|
| Systems affected | [List] | [Core, gameplay, UI, etc.] |
| Files likely modified | [Count] | [Key files listed below] |
| New code vs modification | [Ratio] | |
| Integration points | [Count] | [Which systems interact] |
| Test coverage needed | [Low / Medium / High] | |
| Existing patterns available | [Yes / Partial / No] | |

**Key files likely affected:**
- `[path/to/file1]` -- [what changes here]

### Effort Estimate

| Scenario | Days | Assumption |
|----------|------|------------|
| Optimistic | [X] | Everything goes right, no surprises |
| Expected | [Y] | Normal pace, minor issues, one round of review |
| Pessimistic | [Z] | Significant unknowns surface, blocked for a day |

**Recommended budget: [Y days]**

### Confidence: [High / Medium / Low]

[Explain which factors drive the confidence level for this specific task.]

### Risk Factors

| Risk | Likelihood | Impact | Mitigation |
|------|-----------|--------|------------|

### Dependencies

| Dependency | Status | Impact if Delayed |
|-----------|--------|-------------------|

### Suggested Breakdown

| # | Sub-task | Estimate | Notes |
|---|----------|----------|-------|
| 1 | [Research / spike] | [X days] | |
| 2 | [Core implementation] | [X days] | |
| 3 | [Testing and validation] | [X days] | |
| | **Total** | **[Y days]** | |

### Notes and Assumptions
- [Key assumption that affects the estimate]
- [Any caveats about scope boundaries]

Output the estimate with a brief summary: recommended budget, confidence level, and the single biggest risk factor.

This skill is read-only — no files are written. Verdict: COMPLETE — estimate generated.


Phase 5: Next Steps

  • If confidence is Low: recommend a time-boxed spike (/prototype) before committing.
  • If the task is > 10 days: recommend breaking it into smaller stories via /create-stories.
  • To schedule the task: run /sprint-plan update to add it to the next sprint.

Guidelines

  • Always give a range (optimistic / expected / pessimistic), never a single number
  • The recommended budget should be the expected estimate, not the optimistic one
  • Round to half-day increments — estimating in hours implies false precision for tasks longer than a day
  • Do not pad estimates silently — call out risk explicitly so the team can decide

Version History

  • 984023d Current 2026-07-25 09:37

Same Skill Collection

.claude/skills/adopt/SKILL.md
.claude/skills/architecture-decision/SKILL.md
.claude/skills/architecture-review/SKILL.md
.claude/skills/art-bible/SKILL.md
.claude/skills/asset-audit/SKILL.md
.claude/skills/asset-spec/SKILL.md
.claude/skills/balance-check/SKILL.md
.claude/skills/brainstorm/SKILL.md
.claude/skills/bug-report/SKILL.md
.claude/skills/bug-triage/SKILL.md
.claude/skills/changelog/SKILL.md
.claude/skills/code-review/SKILL.md
.claude/skills/consistency-check/SKILL.md
.claude/skills/content-audit/SKILL.md
.claude/skills/create-architecture/SKILL.md
.claude/skills/create-control-manifest/SKILL.md
.claude/skills/create-epics/SKILL.md
.claude/skills/create-stories/SKILL.md
.claude/skills/day-one-patch/SKILL.md
.claude/skills/design-review/SKILL.md
.claude/skills/design-system/SKILL.md
.claude/skills/dev-story/SKILL.md
.claude/skills/gate-check/SKILL.md
.claude/skills/help/SKILL.md
.claude/skills/hotfix/SKILL.md
.claude/skills/launch-checklist/SKILL.md
.claude/skills/localize/SKILL.md
.claude/skills/map-systems/SKILL.md
.claude/skills/milestone-review/SKILL.md
.claude/skills/onboard/SKILL.md
.claude/skills/patch-notes/SKILL.md
.claude/skills/perf-profile/SKILL.md
.claude/skills/playtest-report/SKILL.md
.claude/skills/project-stage-detect/SKILL.md
.claude/skills/propagate-design-change/SKILL.md
.claude/skills/prototype/SKILL.md
.claude/skills/qa-plan/SKILL.md
.claude/skills/quick-design/SKILL.md
.claude/skills/regression-suite/SKILL.md
.claude/skills/release-checklist/SKILL.md
.claude/skills/retrospective/SKILL.md
.claude/skills/reverse-document/SKILL.md
.claude/skills/review-all-gdds/SKILL.md
.claude/skills/scope-check/SKILL.md
.claude/skills/security-audit/SKILL.md
.claude/skills/setup-engine/SKILL.md
.claude/skills/skill-improve/SKILL.md
.claude/skills/skill-test/SKILL.md
.claude/skills/smoke-check/SKILL.md

Metadata

Files
0
Version
984023d
Hash
7774e2d2
Indexed
2026-07-25 09:37

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 11:55
浙ICP备14020137号-1 $Гость$