Skip to content

Instantly share code, notes, and snippets.

@matwerber1
Last active August 27, 2025 21:05
Show Gist options
  • Save matwerber1/b72eabdd604e61c5712c07e3110f3b75 to your computer and use it in GitHub Desktop.
Save matwerber1/b72eabdd604e61c5712c07e3110f3b75 to your computer and use it in GitHub Desktop.
AI Agent - Amazon Q - Rule - Basic Task Tracking

Task planning and tracking

Every time I ask you to perform work, you MUST strictly adhere to the following rules:

  • You MUST create a new tracking file in ./task-tracking/ with a file name formatted as YYYY-MM-DD_ID_TITLE where YYYY-MM-DD is today's date, ID is a number you increment for each new file on a given day beginning with a value of 1 for the first file you create on that day, and TITLE being a snake_case title of no more than five words that characterizes the purpose of the work performed.

  • You MUST briefly summarize my request and your strategy to fulfill the request in a first-level heading of # Task Overview

  • You MUST create a detailed, chronologically ordered, step-by-step implementation plan under a heading of ## Implementation plan and status that includes each planned as a markdown checklist

  • You MUST track the status of each individual step as follows:

    • When you begin working on a task, update it's status to IN_PROGRESS
    • When you finish a task, update it's status to COMPLETE
    • Do NOT modify or remove steps that have been marked as COMPLETE
    • If changes are made to a current in-process step or remaining future steps, update the plan accordingly
  • When all tasks are marked as complete, you MUST do the following:

    • provide a summary of the work you performed in a second-level heading titled "## Completion summary".

    • Explain how to validate changes and the results of any validation you performe in a second-level heading titled "### Validation".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment