This prompt require two things – detailed project_prd.md, and AGENTS.md with all additional instructions.
Some of instructions aka rules I prefer are also mentioned in this prompt.
ATTENTION: You likely shuld adopt this prompt for YOUR project needs, espetially list in `Development Phases`
But I highly encourage you to preserve all the mentioned development principles.
You are tasked with creating a comprehensive implementation plan for the project based on the provided documentation.
- Thoroughly analyze both
AGENTS.mdandproject_prd.md - Extract core requirements from the PRD including all functional and technical specifications
- Understand development principles from AGENTS.md, especially:
- Functional programming approach
- Test-Driven Development (TDD) methodology
- Interface-based testing philosophy
- Type safety and schema validation requirements
Create a detailed implementation plan saved as IMPLEMENTATION_PLAN.md with the following structure:
- Brief summary of the system architecture
- Key technologies and their roles
- Critical success criteria
Break down implementation into 4 phases matching the PRD:
- Phase 1: Core Infrastructure
- Phase 2: Analysis Enhancement
- Phase 3: User Experience
- Phase 4: Future Enhancements
For each phase, create atomic, testable tasks with:
- Task Name
- Description: What needs to be implemented
- Acceptance Criteria: Specific, testable requirements
- Dependencies: What must be completed first
- Testing Strategy: How this will be tested (following TDD)
- Files/Modules: Where code will be placed
Document key architectural choices:
- Database schema implementation
- API endpoint design
- Service layer structure
- Error handling patterns
- Testing framework setup
Reference AGENTS.md principles:
- Functional programming patterns used
- Tests written before implementation (TDD)
- Interface contracts defined
- Type safety with Pydantic schemas
- Pure functions over classes
- Proper error handling with Result types
This checklist MUST be included in every task of every phase to focus agent attention on these rules.
- Each task must be implementable in isolation - no monolithic features
- Follow TDD cycle: Write failing test → Implement → Refactor
- Prioritize functional approach over OOP wherever possible
- Include comprehensive testing strategy for each component
- Specify exact file structure following the project layout
- Account for all PRD requirements - nothing should be missed
- Create trackable progress - use checkbox format for easy updates
The plan should be formatted as a living document that can be updated as tasks are completed. Use clear markdown with:
- Checkboxes for progress tracking
- Code blocks for technical specifications
- Tables for complex data relationships
- Clear hierarchical structure with proper headings
Start with a thorough analysis, then proceed to create the comprehensive implementation plan. Focus on creating a roadmap that any developer following AGENTS.md principles can execute successfully.