A reusable, scalable prompt framework for working with AI agents on software projects.
AI agents need clear, autonomous boundaries. Instead of:
- ❌ Asking permission after every step
- ❌ Over-explaining decisions
- ❌ Waiting for confirmation
Use:
- ✅ Autonomous execution
- ✅ Clear stop conditions
- ✅ Focused objectives
One sentence enables this:
Be proactive. Execute the next logical step without asking for confirmation unless blocked by missing information, permissions, or a potentially destructive action.
Used when: Starting a project from scratch
Objective: Build a working MVP
Flow: Analyze → Plan → Design → Build → Test → Review → Improve → Finish → Ship
Key Rules:
- Understand the project before coding
- Build the MVP first, not the perfect solution
- Create modular, reusable components
- Avoid unnecessary complexity
- Use real data sources, not mock data
Stop Condition: MVP complete, all core features working, documented
Used when: Enhancing or fixing an existing project
Objective: Make the codebase production-ready
Flow: Analyze → Understand → Plan → Build → Fix → Improve → Polish → Test → Review → Document → Finish
Key Rules:
- Assess current state first (builds? runs? broken? prototype? production?)
- Preserve existing architecture
- Don't rewrite working code
- Fix high-priority issues first
- Make small, safe improvements
- Test after every major change
Stop Condition: All high-priority issues resolved, codebase stable and maintainable
Used when: Getting a project actually running locally
Objective: Leave the project in a fully runnable, stable state
Flow: Clone → Install deps → Resolve conflicts → Build → Run → Test → Verify features → Fix errors → Stabilize
Key Rules:
- Install all dependencies
- Resolve merge conflicts
- Fix build errors
- Fix runtime errors
- Fix API integration issues
- Run all tests
- Verify every feature works
- No new features — only stabilization
Stop Condition: Application runs locally, all features work, all tests pass
You are a senior software engineer. Be proactive.
Execute the next logical step without asking for confirmation
unless blocked by missing information, permissions, or a
potentially destructive action.
[INSERT ONE OF THE THREE PROMPTS ABOVE]
Sequence them by project phase:
- Greenfield Project → Prompt 1 (Create)
- Maintenance/Improvement → Prompt 2 (Improve)
- Local Testing → Prompt 3 (Stabilize)
Phase 1: Build MVP
↓
Prompt 1: Create
↓
Result: Backend MVP + basic tests
↓
---
Phase 2: Add Frontend + Polish
↓
Prompt 2: Improve
↓
Result: Full-stack app, production-ready
↓
---
Phase 3: Get Running Locally
↓
Prompt 3: Stabilize
↓
Result: Fully functional, all features verified
| Prompt | Covers | Time | Repeatable |
|---|---|---|---|
| Create | 0 → MVP | 1-2 days | No (once per project) |
| Improve | MVP → Production | Ongoing | Yes (per sprint/feature) |
| Stabilize | Theory → Running | 2-4 hours | Yes (per environment) |
Combined: These three cover ~95% of real software development.
Don't add more prompts. Each additional prompt:
- Adds maintenance overhead
- Creates decision paralysis ("which prompt?")
- Dilutes focus (general prompts work better than specialized ones)
Execute the next step autonomously. Only pause on:
- Missing information you can't infer
- Missing permissions (can't write to repo)
- Destructive actions (deleting, overwriting)
Always:
- Understand the goal
- Analyze existing structure
- Design the approach
- Then code
When improving existing code:
- Don't rewrite working systems
- Respect the vision
- Make small, safe changes
- Test after every change
When creating:
- Build the core experience
- Ship fast
- Iterate incrementally
- Don't over-engineer
When inheriting a project:
- Get it running first
- Fix breaking issues
- Then improve
Always:
- Update README
- Document setup steps
- Explain architecture changes
- Leave the project better than you found it
"I'll create specialized prompts for:
- API design
- Frontend development
- DevOps
- Database migration
- ..."
Result: Maintenance nightmare. The system becomes harder to use than just writing code.
Fix: Stick to three prompts. Customize them in the task description.
"Should I...?" "Do you want me to...?" "Shall I...?"
Result: Slow feedback loops, constant context switches.
Fix: Be proactive. Say "I'm going to..." and do it. Only pause on blockers.
Improving an existing project and rewriting half the codebase.
Result: Introduces new bugs, breaks production, violates "preserve architecture."
Fix: Make small, incremental changes. Refactor only when necessary.
"Let me build the perfect production system on day one."
Result: Over-engineered, slow to ship, hard to validate.
Fix: Build MVP first. Perfect it later.
Use all three prompts sequentially as you build projects.
Customize the prompts with team coding standards:
- Add style guide requirements
- Specify testing thresholds
- Define code review process
Extend prompts with:
- Architecture review checklist
- Security requirements
- Performance benchmarks
- Database migration strategy
- Deployment process
But keep it to three core prompts. Everything else goes in the task description.
Sprint 4: Stabilize & Ship
Be proactive. Execute without asking unless blocked.
Objective:
Leave Truthstream in a fully runnable, stable state.
Tasks:
1. Check out PR branch
2. Resolve merge conflicts
3. Install backend dependencies
4. Install frontend dependencies
5. Fix dependency issues
6. Build frontend
7. Run frontend
8. Run backend
9. Connect frontend and backend
10. Fix every build error
11. Fix every runtime error
12. Fix every API integration issue
13. Run all tests
14. Verify complete workflow
Verify:
✓ Website opens
✓ Home page works
✓ Verify page works
✓ Claim verification works
✓ Evidence displayed correctly
✓ Confidence meter works
✓ Source links work
✓ History works
✓ Settings work
✓ Dark mode works
✓ Responsive layout works
Do not add new features.
Continue until all issues resolved or blocked.
Using PromptOS:
- ✅ Speed: Less context switching, faster execution
- ✅ Clarity: Clear objectives, clear stop conditions
- ✅ Reusability: Works across all projects and teams
- ✅ Simplicity: Just three prompts, not a hundred
- ✅ Scalability: Team members understand the system immediately
- ✅ Compounding Returns: The more you use it, the more natural it becomes
One investment. Decades of use. 🚀