4
AI Prompt Template
Tirsvad edited this page 2026-11-25 17:32:25 +01:00

AI Prompt Template

🌐 English · Dansk · Bahasa Melayu

Copy a prompt, fill in the <placeholders>, and paste it into your AI agent inside a project that has the framework installed (see Install).

The agent works one reviewed step at a time. It will ask questions, write a document, then stop for your review. That is intended: do not ask it to "do everything".

1. Start a new project

Use the create-project skill. Start a new project.

Idea (one sentence): <what the system does, for whom>
Belief that would kill it if false: <what must be true for this to be worth building>
Validated or a hunch: <people already use/pay/ask for it | a hunch>
Stage: <prototype | funded build | team forming>
Constraints: <duration, budget, deadline, team size>

Product Owner: <name>            (language: <e.g. English, Danish>, domain: <e.g. sports club administration>)
Reviewer for each step: <name>   (never the author of what is reviewed)
Acceptor: <name>
Can I reach the people the system is for: <yes | no>
Project name: <kebab-case; also the folder and the git repository>
User interface or API: <UI | API | none>; wireframes: <attached | none yet>
Security profile: <internal documents only | internal service | exposed service or personal data>
  (name any personal data; the agent records the profile in the Security Baseline)

Technology (to be recorded as an ADR, not decided silently):
  Platform: <e.g. Blazor, ASP.NET Core>
  Database: <e.g. PostgreSQL>
  Security: <e.g. role based access control, roles: ...>

Main things users must be able to do (candidate use cases):
  - <Role>: <goal>
  - <Role>: <goal>

Rules:
- Planning first: do not write code or anything under src/ or tests/.
- One step at a time. After each document, stop and wait for my review.
- Ask me every question a step forces, with options and your recommendation.
- Record design decisions as ADRs.
- Do not commit, push or open a pull request unless I ask.

What you should see

  1. The agent runs Intake, asking only for what you left out.
  2. It writes the Business Case (docs/business-case.md) and stops.
  3. You review; it records an RC-* review record; on Go it moves on: Stakeholder Analysis, Security Baseline, Project Plan, candidate stories and priority, milestones and tasks, Threat Model, the design artifacts and Test Plan, Operations Plan, then code. See Security and operations for the three security artifacts.
  4. Only when a milestone is Accepted with a Go review do tasks become issues and code become allowed.

1b. Start a new project without feature questions

Use this when the idea is small or clear and you do not want to be asked about features, rules or technology choices. The agent decides for you where the prompt is silent, but never silently: every choice is written down so you can challenge it at review.

Use the create-project skill. Start a new project. Do not ask me feature
questions: decide them yourself.

Idea (one sentence): <what the system does, for whom>
Belief that would kill it if false: <what must be true for this to be worth building>
Validated or a hunch: <people already use/pay/ask for it | a hunch>
Stage: <prototype | funded build | team forming>
Constraints: <duration, budget, deadline, team size>

Product Owner: <name>            (language: <e.g. English, Danish>, domain: <e.g. number theory>)
Reviewer for each step: <name>   (never the author of what is reviewed)
Acceptor: <name>
Project name: <kebab-case; also the folder and the git repository>
User interface or API: <UI | API | none>; wireframes: <attached | none yet>
Security profile: <internal documents only | internal service | exposed service or personal data>

Technology (record as ADRs):
  Language / platform: <e.g. C23, GCC>
  Other requirements: <e.g. small binary, runs offline>

What the system must do:
  - <Role>: <goal>

How to decide for me:
- Where this prompt is silent, choose the simplest option that meets the idea
  and the constraints. Do not ask me about it.
- Record every such choice: a feature or rule as an Assumption in the Business
  Case, a technology or design choice as an ADR. Tag it `Decided by default`
  and name the alternative you rejected.
- Ask me, and stop, only if a field above that you cannot do without is empty
  (the Product Owner's language, the reviewer, the acceptor), or if the choice
  involves personal data, security, legal duty or spending money.

Rules:
- Planning first: do not write code or anything under src/ or tests/.
- One step at a time. After each document, stop and wait for my review.
- Do not commit, push or open a pull request unless I ask.

What you should see

The same steps as prompt 1, with no questions in between. The Business Case carries a list of Decided by default assumptions and the ADRs carry the rejected alternatives. At review, read those first: they are the decisions you did not make. See Example: Prime Numbers.

2. Resume

Use the create-project skill. Where does this project stand?
Summarise in five lines (done, waiting for review, missing, blockers, next step)
and offer two to four options with your recommendation. Do not change anything yet.

3. Create or edit one document

Use the artifact skill. Create the <Use Case | Domain Model | ADR | ...> for
<task or topic>. Scaffold it with new-artifact.sh, fill the required sections
in the Product Owner's language, then stop for my review.

4. Review a document

Use the artifact skill. Review docs/<file>.md against its QC checklist
(and QC-LANG-001 if it is written in the PO language). Transcribe every
criterion into a new RC-* record in docs/sqa/reviews/ with Pass/Fail/N-A and
evidence, and give a verdict (Go, Go-with-conditions, No-Go).
I am not the author, so the verdict is mine to accept or not.

If the same agent session wrote the document, start a fresh session for the review: the reviewer must not be the author.

5. Plan a phase and sync it to Gitea

Use the project-planning skill. Plan <phase / milestone MIL-NNN> into tasks.
For each task say whether it is an actor's goal (needs a use case) or a plain
technical task. Show the dry-run output of
`bash framework/scripts/sync-project.sh` and stop. I will decide on --apply.

6. Write code for one task

Use the coding-conventions skill. Implement task MIL-NNN#N.
Check the plan-first gate first. Follow the language's conventions and the
existing code. Add tests. Before the pull request, review the code against
the qc-programming-<language>.md checklist and record an RC-*.
Commit with the trailer `Task: MIL-NNN#N` only when I ask you to commit.

Tips

Do Do not
Answer the agent's questions, even briefly Say "just decide everything" (a decision made silently is a defect; use prompt 1b, where each decision is recorded)
Name the reviewer at the start Let the agent review its own document
Keep the PO language consistent Mix languages inside one document
Let the agent draft interview scripts, then talk to people yourself Ask the agent to contact stakeholders
Review in the working tree before any commit Ask for "commit and push" on a whole phase

See filled-in versions: Example: Volunteer Football Club (prompt 1, with questions) and Example: Prime Numbers (prompt 1b, without feature questions).