Skip to content

Prompting Techniques

Why Use Advanced Prompting?

Effective prompting helps you get the most out of Monk in various situations:

  • Troubleshooting: When you encounter errors or unexpected behavior in your deployments
  • Decision-making: When you need guidance on infrastructure choices or best practices
  • Efficiency: When you want to complete multiple tasks with minimal interaction
  • Team collaboration: When working with both Monk and other coding agents

Asking Direct Questions

Direct questions help when you need specific information or guidance:

explain the error to me
what can I do in this situation?
how would you size infrastructure for this project?

These prompts are ideal when you’re stuck, troubleshooting, or need expert infrastructure advice.

Chaining Commands

Chain several instructions together to accomplish complex tasks with a single prompt:

deploy the project on GCP and open preview in the browser
check the logs and restart containers if there is an error

This technique shines when you have a sequence of related tasks to complete or when setting up automated workflows.

Working with coding agents

When Monk suggests code changes, you can ask your preferred coding agent (e.g., Workspace, Claude, or others) to implement them in your codebase.

Context Sharing

Provide Monk with relevant context to get more accurate assistance:

Use a t2.micro EC2 instance. Would this be sufficient for this app?

Iterative Refinement

Start with a general request and then refine based on Monk’s response:

how should I deploy this Astro app?
// After Monk responds
let's go with Netlify. Can you use my existing Netlify account?