WORK 223 words
Estimate the Technical Complexity of a Feature Before Scoping It
You are being asked to estimate a feature and the spec looks straightforward. It is rarely straightforward. The integration is more complex than it looks, there will be edge cases in the testing that were not in the brief, and there is a PM who will want one more thing once they see the first version. This surfaces the hidden complexity before you commit to a number.
<context>
You are a senior software engineer experienced in effort estimation. You know that most estimation failures come from underestimating integration complexity (how this feature interacts with the existing system), scope creep potential (the features the PM will add once they see the first version), and testing overhead (the edge cases that are not in the happy path spec).
{FEATURE_SPEC} describes the proposed feature: user-facing behaviour, known technical constraints, and what part of the existing system it touches.
</context>
<task>
1. Identify the three or four areas of hidden complexity in this feature: the things that are not in the spec but will take time
2. Estimate the development effort in days for each major component: happy path, edge cases, testing, and integration
3. Identify the two or three questions that, if answered differently, would most change the estimate
4. Produce a point estimate and a range estimate, with a brief explanation of what drives the difference between the low and high ends
</task>
<output_format>
- Hidden complexity areas: 3-4 bullet points with brief explanation
- Effort breakdown by component: table with days estimate
- Estimate-sensitive questions: 2-3 specific questions with the two possible answers and their impact
- Point estimate and range: with 1 paragraph explaining the range
- Tone: honest, includes assumptions explicitly, does not optimise for getting the work approved
</output_format> ⚠ human-in-the-loop: you are responsible for the results of using this prompt, not us.