Skip to content

Instantly share code, notes, and snippets.

@jwiegley
Created October 23, 2025 21:02
Show Gist options
  • Select an option

  • Save jwiegley/edcf3f9548f809c785725fa3992708f0 to your computer and use it in GitHub Desktop.

Select an option

Save jwiegley/edcf3f9548f809c785725fa3992708f0 to your computer and use it in GitHub Desktop.

AI Development Process

Set initial variables

(setq my-sn "main"                      ; session name
      my-wn 0)                          ; window num

Initialize Git

git init
git add prd.txt
git commit -m "Added prd.txt"

Initialize Task Master AI for this project

task-master init

Setup Claude Code models

task-master models --setup

Create elaborated Product Requirements Document (PRD)

claude --model opus --dangerously-skip-permissions \
       -p "Please read the project description in @prd.txt and produce a full and complete Product Requirements Document (PRD) in a Markdown file prd.md. Use the template of what a PRD should look like from @https://raw.githubusercontent.com/eyaltoledano/claude-task-master/refs/heads/main/.taskmaster/templates/example_prd.txt"

Parse the Product Requirements Document (PRD)

task-master parse-prd prd.md

Show the list of tasks it produced

task-master list

Research and analyze the complexity of these tasks

task-master analyze-complexity --research

Show analyzed list of tasks it produced

task-master list

Expand all tasks into further subtasks

task-master expand --all

Verify orchestration is enabled/integrated

task-master rules add claude

Ensure no cycles, broken or invalid deps

task-master validate-dependencies

Begin orchestration using Task Master AI and Claude Code

You may wish to commit the current state into Git at this point.

git add .
git commit -m "Project initialization complete"

Once ready, start the orchestration, which runs to completion (likely for many hours):

claude --model sonnet --dangerously-skip-permissions /run-orchestrator

Note that /run-orchestrator is defined in ~/.claude/commands/run-orchestrator.md, with content as follows:

Use task-orchestrator to analyze and coordinate work

The orchestrator will:
1. Check task dependencies
2. Identify tasks that can run in parallel
3. Deploy executors for available work
4. Monitor progress and deploy new executors as tasks complete

Use task-executor for specific task implementation

When the orchestrator identifies task 2.3 needs work: The executor will implement that specific task

Do not pause your work to ask if I would like to review or continue. Work continuously until the entire project is completed. Commit your work to Git after each time you reach a point where no tasks are currently running, just before you begin the next task.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment