Initial PRD prompt to Claude Opus 4.1 (Research mode): "Help me create a Project Requirement Document (PRD) for a Python module called fastlabel that will contain a plug-in replacement for the scipy.ndimage.label() function that is written in pure PyTorch to allow GPU acceleration, specifically for three-dimensional images. I want a highly performant app that runs on CUDA or MPS GPUs, written in a clean and modular way, using a test-driven development framework. It should use a 3D version of the Block-based Union Find algorithm described in sections 5.1 and 5.3 of this paper: https://iris.unimore.it/retrieve/handle/11380/1179616/225393/2018_TPDS_Optimized_Block_Based_Algorithms_to_Label_Connected_Components_on_GPUs.pdf"
CLAUDE.md prompt: Generate a CLAUDE.md file from the attached PRD that will guide Claude Code sessions on this project
PLANNING.md prompt: Based on the attached CLAUDE.md and PRD.md files, create a PLANNING.md file that includes architecture, technology stack, development processes/workflow, and required tools list for this app.
TASKS.md prompt: Based on the attached CLAUDE.md and PRD.md files, create a TASKS.md file with bullet points tasks divided into milestones for building this app.