ai-docs/docs/ai/crossplatform/starter-prompts.md
Matt Bruce 3586f39e8e More refactoring
Signed-off-by: Matt Bruce <matt.bruce1@toyota.com>
2026-02-22 15:02:58 -06:00

1.2 KiB

Starter Prompts (Copy/Paste)

You are here: AI Docs Home > Cross-Platform AI Usage > Starter Prompts

Contents

  • How To Use Starter Prompts
  • Understand Existing Code
  • Safe Refactoring
  • Testing
  • Planning
  • Debugging
  • Next Steps

How To Use Starter Prompts

  1. Copy one prompt that matches your task.
  2. Replace placeholders (file names, functions, constraints).
  3. Keep the request focused on one outcome.

Understand Existing Code

Example prompt:

Summarize this file in 5 bullets and list 2 risks.

Safe Refactoring

Example prompt:

Refactor this function to remove duplication. Keep behavior the same.

Testing

Example prompt:

List tests I should add for this change.

Planning

Example prompt:

Create a 5-step plan to split this class into smaller components. Wait for approval before edits.

Debugging

Example prompt:

Explain this error and propose the top 3 fixes in priority order.

Next Steps