| name | prd-loc-estimator |
| description | Estimate line additions and deletions from a PRD or spec by reading the requirements and inspecting the target repo. Use when the user asks for changed LOC, additions, deletions, diff size, PR size, or implementation size before building. |
PRD LOC Estimator
Estimate likely source changes before implementation.
Flow
- Read the PRD or spec.
- Extract scope, non-goals, acceptance criteria, and unknowns.
- Inspect likely touched repo areas.
- List likely files, including expected new files.
- Estimate additions and deletions per file.
- Use ranges and separate additions from deletions.
- Mark expected paths that do not exist as
new file.
- Exclude generated, build, and lockfile output unless the PRD requires it.
- Recommend splitting when total changed lines likely exceed
400.
- Use TEMPLATE.md for output.