What Are Agents & Prompts (and why they are mandatory in complex projects)
🤖 What is an Agent?
An agent is an "executor role" focused on one work domain. Examples:
apiagent focuses on endpoints + OpenAPIdataagent focuses on migrations + DBML + query optimizationqaagent focuses on regression + quality gate
Agents keep complex work from getting mixed together.
🧩 What is a Prompt?
A prompt is a standard instruction template for agents. Goals:
- consistent output
- structured execution steps
- less ambiguity during fast vibe coding
Default complex structure (reference)
This starter kit uses a modular structure by default, not a "normal" flat structure.
ai/
├── agents/
│ ├── core/AGENT.md
│ ├── api/AGENT.md
│ ├── admin/AGENT.md
│ ├── data/AGENT.md
│ └── qa/AGENT.md
└── prompts/
├── prd/
│ ├── create-feature-prd.md
│ └── revise-feature-prd.md
├── implementation/
│ ├── implement-from-prd.md
│ └── bugfix-structured.md
└── review/
├── regression-review.md
└── done-check-review.md
Required documents
docs/PRODUCT_REQUIREMENTS.mddocs/PRODUCT_CHANGELOG.mddocs/ARCH_DECISIONS.mddocs/api/openapi.yaml(with request/response examples)docs/db/schema.dbmldocs/BUSINESS_FLOW.md
Recommended documents
docs/VIBE_CODING_FLOW.mddocs/STARTERKIT.mddocs/FEATURE_REQUEST_TEMPLATE.mdai/agents/*/AGENT.mdai/prompts/*/*.md
Operational rules
- Complex PRD → split by module
- Assign one agent per module
- Every change must update required docs
- Quality gate must never be skipped