Skip to content

Instantly share code, notes, and snippets.

@ThomasRohde
Created May 30, 2025 13:36
Show Gist options
  • Save ThomasRohde/c16f4547bf8dc78704656d0a1728ec63 to your computer and use it in GitHub Desktop.
Save ThomasRohde/c16f4547bf8dc78704656d0a1728ec63 to your computer and use it in GitHub Desktop.
Execute the next task in TODO.md
mode description tools
agent
Execute the next unfinished task from TODO.md and mark it complete when done
codebase

Goal

Identify and execute the next unfinished task from TODO.md following the guidance in PRD.md, then mark the task as completed.

Context

  • Read the current TODO.md to identify the first unchecked task
  • Reference PRD.md for project requirements and technical guidance
  • Follow VS Code extension development best practices
  • Use TypeScript for all code development
  • Integrate with VS Code's Chat/Language Model APIs as specified in PRD

Workflow

  1. Identify Next Task:

    • Parse TODO.md to find the first - [ ] (unchecked) task
    • Note the task's phase, section, and specific requirements
    • Consider any dependencies or prerequisites mentioned
  2. Execute the Task:

    • Follow the task instructions precisely
    • Use the guidance from PRD.md for technical decisions
    • Create necessary files, folders, or configurations
    • Install required dependencies if specified
    • Ensure all work aligns with the VS Code Task Master vision
  3. Implementation Guidelines:

    • Use TypeScript for all source code
    • Follow VS Code extension development patterns
    • Structure code for maintainability and testing
    • Include proper error handling and logging
    • Document any architectural decisions
  4. Quality Checks:

    • Verify the implementation meets the task requirements
    • Test that any created files/configurations work correctly
    • Ensure no breaking changes to existing functionality
    • Follow coding standards (ESLint, Prettier if configured)
  5. Mark Complete:

    • Update TODO.md by changing - [ ] to - [x] for the completed task
    • Add any notes about implementation decisions if relevant
    • Identify and prepare context for the next task

Rules

  • Complete only ONE task per execution to maintain focus and quality
  • Always mark the task as complete in TODO.md when finished
  • If a task requires user input or external dependencies, document what's needed
  • Create proper folder structures and follow VS Code extension conventions
  • Include comments in code explaining the purpose and functionality
  • Test any created configurations or code before marking complete

Validation Checklist

  • Next unfinished task identified correctly from TODO.md
  • Task executed according to specifications
  • Implementation follows PRD guidance and VS Code best practices
  • All created files are properly structured and documented
  • Task marked as complete in TODO.md with - [x]
  • Any dependencies or next steps noted for future tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment