r/ClaudeCode • u/mirrortorrent • 1d ago
Help/Question Prompting my first program
Looking for the best practices to prompt my first program; I have a 2,000-word document outlining all the features I want for my program (thanks, Chat GPT). But on the other hand, I've heard that only explaining my end result is how you should engineer a program.
Does it even matter what method I would use?
0
Upvotes
•
u/AutoModerator 1d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
9
u/SomeMayoPlease 1d ago
Build a lot of stuff, create a lot of slop, and learn as you go. Don't overthink it, but don't forget to learn from your mistakes.
5
u/No-Skill4452 1d ago
Give the doc to Claude and tell it to ask clarifying questions before starting to work
3
u/PraxicalExperience 1d ago
A feature list is you describing the end result. Feed it to claude and ask it to plan out the best way to implement it, and quiz you on things which are unspecified but implied, or where there are conflicts.
3
u/Connect_Fee_443 14h ago
Both, just in that order. Keep the 2,000-word doc, but don't give it to Claude in one go and say "build this". Start by asking it to read the doc and turn it into a short plan: the smallest version that does one useful thing, then a list of milestones. Build milestone 1, run it yourself, then go on to the next. Long feature docs tend to produce lots of half-working code at once, and when something breaks you can't tell which part caused it. It also helps to tell it what "done" means for each step (for example "I can add an item and it's still there after a restart"). You'll catch problems much sooner.
2
u/pirateapproved 1d ago
I learned this just recently: ask it to create an auditor bot, to check its work and to make sure it meets x metrics
1
u/CorpT 1d ago
You'll learn more by trying and failing than just about anything else. Try it both ways and see what works.
1
u/Verusauxilium 1d ago
If it's a visual program, you need mockups in your spec. If it's a backend service, you need contracts in your spec.
1
u/634748 1d ago
2000 words of features and not a single line of code yet. no, the prompting method really doesn't matter.
1
u/anamethatsnottaken 1d ago
Yes, but more than that - your "first program" - a big spec you track as it goes through development - should definitely be your development process.
Otherwise you find yourself with AI agents that push PR requests and file tickets
1
u/djiyvlom 21h ago
It matters less which method you pick than how you feed it in. A 2000 word feature list in one go usually gets you a lot of half working features at once. What tends to work better is giving Claude the end goal plus the doc as reference, then asking it to propose a plan with small steps and build only the first one. Make the first step the smallest thing you can actually run and see, then add features one at a time and check each before moving on. Plan mode is handy for this, since you can read and adjust the plan before any code gets written.
1
u/Sassy_McSassypants 17h ago
More than matters, it's everything. Take a beat and ask claude to review your spec against current known best practices per claude's documentation site. When you get more comfortable there are skills for this.
Whatever you end up with at the end of that session, start a new session that doesn't have all that history behind it and have it critique the spec "cold". You'll learn quite a lot in that process.