Loading...
Loading...
Phase 2.5 of disciplined development. Deep specification interview after design. Reads specifications, conducts thorough user interviews about implementation details, edge cases, and tradeoffs using AskUserQuestionTool. Appends refined findings to the design document. Uses convergence-based completion.
npx skill4agent add terraphim/terraphim-skills disciplined-specificationInput Processing Steps:
1. Read primary spec file
2. Extract file references from spec
3. Read Phase 2 design doc if available
4. Read referenced code files for context
5. Build unified context for question generation1. READ all input specification files
2. ANALYZE for gaps, ambiguities, and assumptions
3. GENERATE batch of 3-4 deep questions (using AskUserQuestionTool)
- Select from dimensions with least coverage
- Prioritize high-impact areas based on spec content
- Frame questions as specific scenarios, not abstract concepts
4. RECORD answers and implications
5. IDENTIFY follow-up areas based on answers
6. TRACK dimensions covered and novelty of answers
7. REPEAT steps 3-6 until convergence:
- Questions no longer yield new concerns (2 consecutive rounds)
- OR user explicitly signals completion
- OR all critical dimensions explored
8. APPEND findings to design documentInterview Loop:
dimensions_covered = []
no_new_concerns_count = 0
WHILE (has_new_concerns OR len(dimensions_covered) < 6):
questions = generate_questions(unexplored_areas, previous_answers)
answers = AskUserQuestionTool(questions)
new_concerns = analyze_for_novelty(answers)
update_coverage(answers, dimensions_covered)
IF (new_concerns):
no_new_concerns_count = 0
ELSE:
no_new_concerns_count += 1
IF (no_new_concerns_count >= 2):
offer_to_conclude()
IF (user_confirms_done):
BREAK---
## Specification Interview Findings
**Interview Date**: [YYYY-MM-DD]
**Dimensions Covered**: [List of covered dimensions]
**Convergence Status**: Complete / Partial (with notes)
### Key Decisions from Interview
#### Concurrency & Race Conditions
- [Decision 1]: [Rationale from discussion]
- [Decision 2]: [Rationale from discussion]
#### Failure Modes
- [Decision 1]: [Rationale from discussion]
#### Edge Cases
- [Decision 1]: [Rationale from discussion]
#### User Experience
- [Decision 1]: [Rationale from discussion]
#### Scale & Performance
- [Decision 1]: [Rationale from discussion]
#### Security & Privacy
- [Decision 1]: [Rationale from discussion]
#### Integration Effects
- [Decision 1]: [Rationale from discussion]
#### Migration & Compatibility
- [Decision 1]: [Rationale from discussion]
#### Accessibility
- [Decision 1]: [Rationale from discussion]
#### Operational Readiness
- [Decision 1]: [Rationale from discussion]
### Deferred Items
- [Item 1]: Deferred because [reason]
- [Item 2]: Deferred because [reason]
### Interview Summary
[2-3 paragraph summary of key clarifications and decisions made during the interview.
Highlight the most significant findings that will affect implementation.]
---disciplined-implementation