snarktank / ai-dev-tasks
- вторник, 30 сентября 2025 г. в 00:00:03
A simple task management system for managing AI dev agents
Welcome to AI Dev Tasks! This repository provides a collection of markdown files designed to supercharge your feature development workflow with AI-powered IDEs and CLIs. Originally built for Cursor, these tools work with any AI coding assistant including Claude Code, Windsurf, and others. By leveraging these structured prompts, you can systematically approach building features, from ideation to implementation, with built-in checkpoints for verification.
Stop wrestling with monolithic AI requests and start guiding your AI collaborator step-by-step!
Building complex features with AI can sometimes feel like a black box. This workflow aims to bring structure, clarity, and control to the process by:
This structured approach helps ensure the AI stays on track, makes it easier to debug issues, and gives you confidence in the generated code.
Here's the step-by-step process using the .md
files in this repository:
First, lay out the blueprint for your feature. A PRD clarifies what you're building, for whom, and why.
You can create a lightweight PRD directly within your AI tool of choice:
Ensure you have the create-prd.md
file from this repository accessible.
In your AI tool, initiate PRD creation:
Use @create-prd.md
Here's the feature I want to build: [Describe your feature in detail]
Reference these files to help you: [Optional: @file1.py @file2.ts]
(Pro Tip: For Cursor users, MAX mode is recommended for complex PRDs if your budget allows for more comprehensive generation.)
With your PRD drafted (e.g., MyFeature-PRD.md
), the next step is to generate a detailed, step-by-step implementation plan for your AI Developer.
Ensure you have generate-tasks.md
accessible.
In your AI tool, use the PRD to create tasks:
Now take @MyFeature-PRD.md and create tasks using @generate-tasks.md
(Note: Replace @MyFeature-PRD.md
with the actual filename of the PRD you generated in step 1.)
You'll now have a well-structured task list, often with tasks and sub-tasks, ready for the AI to start working on. This provides a clear roadmap for implementation.
To ensure methodical progress and allow for verification, we'll use process-task-list.md
. This command instructs the AI to focus on one task at a time and wait for your go-ahead before moving to the next.
Create or ensure you have the process-task-list.md
file accessible.
In your AI tool, tell the AI to start with the first task (e.g., 1.1
):
Please start on task 1.1 and use @process-task-list.md
(Important: You only need to reference @process-task-list.md
for the first task. The instructions within it guide the AI for subsequent tasks.)
The AI will attempt the task and then prompt you to review.
As the AI completes each task, you review the changes.
You'll see a satisfying list of completed items grow, providing a clear visual of your feature coming to life!
While it's not always perfect, this method has proven to be a very reliable way to build out larger features with AI assistance.
If you'd like to see this in action, I demonstrated it on Claire Vo's "How I AI" podcast.
create-prd.md
: Guides the AI in generating a Product Requirement Document for your feature.generate-tasks.md
: Takes a PRD markdown file as input and helps the AI break it down into a detailed, step-by-step implementation task list.process-task-list.md
: Instructs the AI on how to process the generated task list, tackling one task at a time and waiting for your approval before proceeding. (This file also contains logic for the AI to mark tasks as complete)..md
files into your project or a central location where your AI tool can access them.
git clone https://github.com/snarktank/ai-dev-tasks.git
.md
files in your AI assistant as described in the workflow above..md
files to better suit your specific needs or coding style.Cursor users can follow the workflow described above, using the .md
files directly in the Agent chat:
@
(e.g., @create-prd.md
)To use these tools with Claude Code:
Copy files to your repo: Copy the three .md
files to a subdirectory in your project (e.g., /ai-dev-tasks
)
Reference in CLAUDE.md: Add these lines to your project's ./CLAUDE.md
file:
# AI Dev Tasks
Use these files when I request structured feature development using PRDs:
/ai-dev-tasks/create-prd.md
/ai-dev-tasks/generate-tasks.md
/ai-dev-tasks/process-task-list.md
Create custom commands (optional): For easier access, create these files in .claude/commands/
:
.claude/commands/create-prd.md
with content:
Please use the structured workflow in /ai-dev-tasks/create-prd.md to help me create a PRD for a new feature.
.claude/commands/generate-tasks.md
with content:
Please generate tasks from the PRD using /ai-dev-tasks/generate-tasks.md
If not explicitly told which PRD to use, generate a list of PRDs and ask the user to select one under `/tasks` or create a new one using `create-prd.md`:
- assume it's stored under `/tasks` and has a filename starting with `[n]-prd-` (e.g., `0001-prd-[name].md`)
- it should not already have a corresponding task list in `/tasks` (e.g., `tasks-0001-prd-[name].md`)
- **always** ask the user to confirm the PRD file name before proceeding
Make sure to provide options in number lists so I can respond easily (if multiple options).
.claude/commands/process-task-list.md
with content:
Please process the task list using /ai-dev-tasks/process-task-list.md
Make sure to restart Claude Code after adding these files (/exit
).
Then use commands like /create-prd
to quickly start the workflow.
Note: This setup can also be adopted for a global level across all your projects, please refer to the Claude Code documentation here and here.
For other AI-powered IDEs or CLIs:
.md
files to your projectcreate-prd.mdc
) can yield more thorough and higher-quality results if your budget supports it.@MyFeature-PRD.md
) when generating tasks.Got ideas to improve these .md
files or have new ones that fit this workflow? Contributions are welcome!
Please feel free to:
Happy AI-assisted developing!