Transform the provided high-level requirements into a complete set of project planning artifacts for spec-driven development.
You must produce four files inside the docs/ and .junie/ directories:
docs/requirements.mddocs/plan.mddocs/tasks.md
| # Requirements Analysis Prompt | |
| Transform the provided high-level requirements into a comprehensive, structured requirements document using the following methodology: | |
| ## Instructions: | |
| 1. **Create a Requirements Document** with the following structure: | |
| - Document title: "Requirements Document" | |
| - Introduction section that summarizes the application purpose and key functionality | |
| - Requirements section with numbered requirements |
This document outlines the coding standards, architectural patterns, and best practices for the Bookstore application.
| sealed interface Creature | |
| data class Cthulhu( | |
| val madnessLevel: Int, | |
| val isAwakened: Boolean | |
| ) : Creature | |
| data class Kraken( | |
| val length: Double, |
| import kotlin.random.Random | |
| data class Note(val pitch: Int, val duration: Double) | |
| class SonicPiDarkHouseGenerator { | |
| private val scale = listOf(60, 63, 65, 67, 70, 72) // C minor pentatonic scale | |
| private val rhythms = listOf(0.25, 0.5, 1.0) // Sixteenth, eighth, and quarter notes | |
| fun generateMelody(length: Int): List<Note> = | |
| List(length) { |