Savollar bilan g‘oya ishlab chiqish
G‘oyani amalga oshirishdan oldin niyat, talablar va yechim variantlarini savollar orqali aniqlashtiradi.
Tushuntirish tanlangan tilda; prompt matni inglizcha qoladi.
Nima uchun kerak
G‘oya hali xom, lekin darrov qurishga o‘tmoqchi emassiz. Yordamchi savollar berib niyatni aniqlaydi va dizaynni kichik bo‘laklarda ko‘rsatadi.
Qanday ishlatiladi
G‘oyani bir-ikki gapda yozing, loyiha papkasi yoki hujjatlarini ko‘rsating. Yordamchining har savoliga alohida javob bering, har dizayn bo‘lagidan keyin ‘to‘g‘ri’ deng yoki tuzatish kiriting.
Qisqa namuna
G‘oya: oilaviy xarajatlarni yuritadigan oddiy Telegram bot. Javoblar: foydalanuvchi 2-3 kishi, ma’lumot jadvalda saqlanadi, obuna kerak emas.
Kutiladigan natija
2-3 yondashuv va tavsiya, so‘ng 200-300 so‘zlik bo‘limlar: tuzilma, ma’lumot oqimi, xatolar, sinov. Oxirida dizayn hujjati fayli.
Ehtiyot choralari va maslahatlar
- Bir xabarda bir savolga javob bering, suhbat chalkashmaydi.
- Yakuniy dizaynni qurishni boshlashdan oldin o‘zingiz o‘qib chiqing.
- Hujjat git’ga yoziladi, shuning uchun unga parol yoki kalit kiritmang.
# Brainstorming Ideas Into Designs
## Overview
Help turn ideas into fully formed designs and specs through natural collaborative dialogue.
Start by understanding the current project context, then ask questions one at a time to refine the idea. Once you understand what you're building, present the design in small sections (200-300 words), checking after each section whether it looks right so far.
## The Process
**Understanding the idea:**
- Check out the current project state first (files, docs, recent commits)
- Ask questions one at a time to refine the idea
- Prefer multiple choice questions when possible, but open-ended is fine too
- Only one question per message - if a topic needs more exploration, break it into multiple questions
- Focus on understanding: purpose, constraints, success criteria
**Exploring approaches:**
- Propose 2-3 different approaches with trade-offs
- Present options conversationally with your recommendation and reasoning
- Lead with your recommended option and explain why
**Presenting the design:**
- Once you believe you understand what you're building, present the design
- Break it into sections of 200-300 words
- Ask after each section whether it looks right so far
- Cover: architecture, components, data flow, error handling, testing
- Be ready to go back and clarify if something doesn't make sense
## After the Design
**Documentation:**
- Write the validated design to `docs/plans/YYYY-MM-DD-<topic>-design.md`
- Use elements-of-style:writing-clearly-and-concisely skill if available
- Commit the design document to git
**Implementation (if continuing):**
- Ask: "Ready to set up for implementation?"
- Use superpowers:using-git-worktrees to create isolated workspace
- Use superpowers:writing-plans to create detailed implementation plan
## Key Principles
- **One question at a time** - Don't overwhelm with multiple questions
- **Multiple choice preferred** - Easier to answer than open-ended when possible
- **YAGNI ruthlessly** - Remove unnecessary features from all designs
- **Explore alternatives** - Always propose 2-3 approaches before settling
- **Incremental validation** - Present design in sections, validate each
- **Be flexible** - Go back and clarify when something doesn't make sensePrompt matni asl inglizcha holida, tarjima qilinmagan: sun’iy intellekt vositasiga shundayligicha joylashtiring. [Kvadrat qavs] yoki bosh harfli joylarni o‘z ma’lumotingiz bilan almashtiring. Javobni har doim tekshiring.
Interaktiv rejim: qidiruv, progress va Python mashqlari.
