Logo Project Sizing Guide

Project Sizing Guide

Cộng đồngPhổ biến
zebbern
project-sizing-guide

Trợ lý ước tính công sức cho dự án phần mềm. Cung cấp ước tính ba điểm (giá trị lạc quan/có khả năng nhất/bi quan kèm khoảng tin cậy), cỡ áo phông hoặc số liệu Phân tích điểm chức năng (FPA). Kích hoạt khi người dùng hỏi “Tính năng này mất bao lâu?”, cần đánh giá khối lượng công việc của dự án, thực hiện ước tính PERT, phân cỡ áo phông, FPA, lập kế hoạch sprint hoặc phân tích công sức dựa trên báo giá.

Add to TypingMind

Tổng quan

Nhà phát hànhzebbern
Kho mãclaude-code-guide
Tên kỹ năngproject-sizing-guide
Sao
4.6K
Bản fork
464
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được zebbern công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Project Sizing Guide trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/zebbern/claude-code-guide/tree/main/skills/project-sizing-guide
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zebbern/claude-code-guide.git /tmp/claude-code-guide
mkdir -p .claude/skills
cp -r /tmp/claude-code-guide/skills/project-sizing-guide .claude/skills/project-sizing-guide
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Project Sizing Guide trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Project Sizing Guide ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Project Sizing Guide với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Project Sizing Guide — Software Project Effort Estimation

Helps teams produce scientifically grounded effort estimates for software projects, based on three major methodologies: Three-Point Estimation (PERT), T-shirt Sizing, and Function Point Analysis (FPA). Outputs optimistic, most-likely, and pessimistic values along with risk intervals.

Quick Start

  1. User provides a requirements description → Agent identifies functional modules and breaks them into a Work Breakdown Structure (WBS)
  2. Select an estimation method → Choose the best-fit approach based on project stage and available information
  3. Estimate each item → Assign O/M/P (Optimistic / Most Likely / Pessimistic) values to every work package
  4. Aggregate and report → Generate an estimation report with risk analysis and confidence intervals

A calculation helper is available:

bash
python3 scripts/estimate_calculator.py --method pert --tasks '[{"name":"User Login","O":2,"M":3,"P":8}]'

Method Selection Guide

ScenarioRecommended MethodRationale
Early feasibility study, rough budgetingT-shirt SizingLittle information available; quickly align on order of magnitude
Sprint planning, iteration estimationThree-Point Estimation (PERT)Good granularity with confidence intervals
Contract bidding, large-project RFPsFunction Point Analysis (FPA)Most rigorous; industry-comparable
Team has historical dataPERT + historical calibrationCombines empirical correction with data

Method 1: Three-Point Estimation (PERT)

Core Formulas

MetricFormulaMeaning
Expected Value E(O + 4M + P) / 6Weighted average effort
Standard Deviation σ(P − O) / 6Estimation uncertainty
Variance Vσ²Used to aggregate across tasks
Project Total ExpectedΣESum of individual expected values
Project Total Std Dev√(ΣV)Square root of summed variances

Where:

  • O (Optimistic): Shortest duration assuming everything goes smoothly
  • M (Most Likely): Duration under normal circumstances
  • P (Pessimistic): Longest duration when significant difficulties arise

Confidence Intervals

Confidence LevelIntervalUse Case
68.3%E ± 1σInternal rough estimates
90%E ± 1.645σProject planning
95%E ± 2σExternal quotes
99.7%E ± 3σContractual commitments

Steps

  1. Build the WBS: Decompose requirements into the smallest independently estimable units (recommended ≤ 5 person-days each)
  2. Three-point estimation: For each work package, provide O / M / P values (use consistent units: person-hours or person-days)
  3. Calculate per-task expected value and standard deviation
  4. Aggregate project-level metrics: Total Expected = ΣE, Total Std Dev = √(Σσ²)
  5. Output confidence intervals: Choose a confidence level based on risk appetite

O/M/P Estimation Rules of Thumb

  • O should not be less than 30% of M (overly optimistic suggests essential steps were overlooked)
  • P should not exceed 5× M (overly pessimistic suggests unclear requirements that need clarification first)
  • If O ≈ M ≈ P, the task is either extremely well-understood or the estimator hasn't seriously considered risks
  • The P/O ratio (spread ratio) reflects uncertainty: < 2 = low risk, 2–4 = medium risk, > 4 = high risk

Method 2: T-shirt Sizing

Size Reference Table

SizeTypical Range (person-days)Typical Story PointsSuitable For
XS0.25 – 0.51Config changes, copy edits, simple bug fixes
S0.5 – 22 – 3Single-component development, simple API, minor UI tweaks
M2 – 55 – 8Complete feature module, moderately complex API
L5 – 1513 – 21Cross-module features requiring integration
XL15 – 4034 – 55Subsystem-level development requiring architecture design
XXL40+89+Should be split across multiple iterations; not recommended as a single estimation unit

Converting T-shirt Sizes to Three-Point Estimates

When more precise numbers are needed, T-shirt sizes can be converted to three-point estimates:

SizeO (person-days)M (person-days)P (person-days)
XS0.250.51
S0.512.5
M23.57
L51020
XL152550
XXL4070150

Steps

  1. Team alignment: Confirm what each size means (the table above is a reference; teams may customize)
  2. Independent assessment: Each person assigns a size independently to avoid anchoring bias
  3. Discuss discrepancies: When estimates differ by more than 2 sizes, a discussion is mandatory
  4. Reach consensus: Adopt the team consensus value
  5. Convert to numbers (optional): Use the table above to derive O/M/P values

Method 3: Function Point Analysis (FPA)

Five Function Component Types

Component TypeAbbreviationDefinitionExample
Internal Logical FileILFLogical data group maintained by the applicationUsers table, Orders table
External Interface FileEIFData group referenced but not maintained by the applicationThird-party exchange rate data
External InputEIData processing entering the system from outsideForm submission, API POST
External OutputEOData generated and sent outside the systemReport generation, exports
External InquiryEQSimple data retrieval + displayList queries, detail pages

Complexity Weight Matrix

Component TypeLowMediumHigh
ILF71015
EIF5710
EI346
EO457
EQ346

Complexity Assessment Rules

ILF / EIF Complexity (based on DET – Data Element Types and RET – Record Element Types):

DET 1-19DET 20-50DET 51+
RET 1LowLowMedium
RET 2-5LowMediumHigh
RET 6+MediumHighHigh

EI Complexity (based on DET and FTR – File Types Referenced):

DET 1-4DET 5-15DET 16+
FTR 0-1LowLowMedium
FTR 2LowMediumHigh
FTR 3+MediumHighHigh

EO / EQ Complexity (based on DET and FTR):

DET 1-5DET 6-19DET 20+
FTR 0-1LowLowMedium
FTR 2-3LowMediumHigh
FTR 4+MediumHighHigh

Converting Function Points to Effort

After calculating Unadjusted Function Points (UFP):

  1. Calculate the Value Adjustment Factor (VAF) (optional; deprecated since IFPUG 4.3+ but still used by some teams)

    • 14 General System Characteristics (GSC), each scored 0–5
    • VAF = 0.65 + 0.01 × Σ(GSC)
    • Adjusted Function Points AFP = UFP × VAF
  2. Function points to person-hours

    • Industry benchmark: 8–15 person-hours per function point (varies by language and team maturity)
    Technology StackPerson-hours / FPNotes
    Low-code / Mature Frameworks4 – 8Many reusable components available
    Python / JS / Modern Web8 – 12Mainstream development productivity
    Java / C# Enterprise10 – 15Includes architecture and standards overhead
    Embedded / C / C++15 – 25High debugging and testing cost
    Legacy System Maintenance20 – 30Comprehension and regression cost

Steps

  1. Identify function components: List all ILFs, EIFs, EIs, EOs, and EQs
  2. Assess complexity: Rate each component as Low / Medium / High
  3. Calculate UFP: Sum (count × weight) for all components
  4. Select conversion factor: Choose person-hours per FP based on technology stack
  5. Compute total effort: UFP × conversion factor
  6. Add buffer: A 15–30% management and risk buffer is recommended

Estimation Adjustment Factor Checklist

After completing the estimation, verify that the following factors have been accounted for:

Technical Factors

  • Technology stack familiarity (Is the team experienced? If unfamiliar, add 30–50%)
  • Technical debt (Poor legacy code quality? Add 20–40%)
  • Third-party dependencies (Unstable APIs? Missing documentation? Add 10–30%)
  • Performance / security requirements (Special non-functional requirements? Add 15–25%)

Team Factors

  • Team size (Communication overhead increases significantly above 5 people; add ~5% per person)
  • Personnel turnover risk (Key members may leave? Add 15–25%)
  • Parallel projects (Team context-switching across multiple projects? Add 20–30%)
  • Onboarding new members (New hires? Expect ~50% reduced efficiency for the first 2 weeks)

Process Factors

  • Requirements stability (Requirements likely to change? Add 20–50%)
  • Approval processes (Multiple layers of approval needed? Add 10–20%)
  • Deployment complexity (Multi-environment, multi-region deployments? Add 10–15%)
  • Compliance requirements (Audit or compliance processes? Add 15–30%)

Commonly Underestimated Work

  • Code review: +10–15%
  • Unit test authoring: +15–25%
  • Integration / E2E testing: +10–20%
  • Documentation: +5–15%
  • Bug fixing and regression: +10–20%
  • Environment setup and DevOps: +5–10%
  • Meetings and communication: +10–15%

Estimation Output Template

After the Agent completes the estimation, it should produce output in the following format:

## Estimation Report: [Project / Feature Name]

### Estimation Method: [PERT / T-shirt / FPA]

### Work Package Breakdown

| # | Work Package | O (person-days) | M (person-days) | P (person-days) | E (person-days) | σ |
|---|-------------|-----------------|-----------------|-----------------|-----------------|---|
| 1 | xxx         | x               | x               | x               | x.x             | x.x |
| 2 | xxx         | x               | x               | x               | x.x             | x.x |

### Summary

- Total expected effort: X person-days
- Total standard deviation: X person-days
- 68% confidence interval: X – X person-days
- 90% confidence interval: X – X person-days
- 95% confidence interval: X – X person-days

### Adjustment Factors
- [Factors considered and adjustments applied]

### Final Recommendation
- For internal planning: X person-days (90% confidence)
- For external quotes: X person-days (95% confidence)

### Risk Alerts
- [Key risk items and mitigation suggestions]

Calculation Tool

The scripts/estimate_calculator.py script supports numerical calculations for all three estimation methods:

bash
# Three-Point Estimation (PERT)
python3 scripts/estimate_calculator.py --method pert \
  --tasks '[{"name":"Login Module","O":2,"M":3,"P":8},{"name":"Payment Module","O":5,"M":10,"P":20}]'

# T-shirt Size Conversion
python3 scripts/estimate_calculator.py --method tshirt \
  --tasks '[{"name":"Login Module","size":"M"},{"name":"Payment Module","size":"L"}]'

# Function Point Analysis
python3 scripts/estimate_calculator.py --method fpa \
  --components '[{"type":"ILF","complexity":"medium","count":3},{"type":"EI","complexity":"low","count":5}]' \
  --hours-per-fp 10

References

  • IFPUG (International Function Point Users Group) CPM 4.3.1
  • PMI PMBOK Guide — 6th Edition, Section 6.4: Estimate Activity Durations
  • Steve McConnell, Software Estimation: Demystifying the Black Art
  • Mike Cohn, Agile Estimating and Planning

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Project Sizing Guide làm được gì?

Trợ lý ước tính công sức cho dự án phần mềm. Cung cấp ước tính ba điểm (giá trị lạc quan/có khả năng nhất/bi quan kèm khoảng tin cậy), cỡ áo phông hoặc số liệu Phân tích điểm chức năng (FPA). Kích hoạt khi người dùng hỏi “Tính năng này mất bao lâu?”, cần đánh giá khối lượng công việc của dự án, thực hiện ước tính PERT, phân cỡ áo phông, FPA, lập kế hoạch sprint hoặc phân tích công sức dựa trên báo giá.

Vì sao nên dùng Project Sizing Guide trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Project Sizing Guide là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Project Sizing Guide trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/zebbern/claude-code-guide/tree/main/skills/project-sizing-guide. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Project Sizing Guide?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Project Sizing Guide với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Project Sizing Guide với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Project Sizing Guide có miễn phí không?

Có. Kỹ năng này được zebbern phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇