Prompt for Creating M&A Due Diligence Platform PRD with Implementation Guidance
Defines requirements for generating a PRD that automates security assessment of code repositories during M&A due diligence.
What this file does
Defines requirements for generating a PRD that automates security assessment of code repositories during M&A due diligence.
When to use it
- Building an M&A due diligence automation platform
- Creating a PRD template that enforces coding standards and progress tracking
- Planning a project that integrates Context7 and Tavily MCP for technical research
- Establishing documentation and commenting standards for a large codebase
Assumes this stack
Prompt for Creating M&A Due Diligence Platform PRD with Implementation Guidance
Primary Instruction
Create a comprehensive Product Requirements Document (PRD) for the M&A Due Diligence Code Assessment Automation Platform that automates security assessment of software repositories during merger and acquisition processes. The PRD must serve as a complete blueprint for implementation and follow all specified requirements below.
Authoritative Sources
-
Context7 MCP: You MUST reference Context7 MCP as the ONLY authoritative source for:
- Current library versions (React, Tailwind, shadUI, etc.)
- Component implementations and APIs
- Best practices for library usage
- When discussing ANY technical implementation, explicitly query Context7 MCP first before falling back to your knowledge
-
Tavily MCP: You MUST leverage Tavily MCP for:
- Researching ambiguous requirements
- Investigating potential implementation risks
- Identifying best practices for security tool integration
- Resolving any technical questions that arise during planning
Coding Standards Integration
You MUST incorporate the provided comprehensive coding standards throughout the PRD by:
- Explicitly referencing specific sections of the coding standards when discussing implementation
- Including code examples that follow these standards for key components
- Noting where standards may need extension for platform-specific needs
- Creating specific requirements for code reviews to verify standards compliance
- Referencing the standards document as an appendix to the PRD
Implementation Plan Requirements
The PRD MUST include a detailed implementation plan that features:
- Phased approach with clearly defined checkpoints (NOT timeline-based)
- Specific completion criteria for each step
- Task checklists that can be marked as complete throughout development
- Risk assessment and mitigation strategies for each phase
- Testing and validation procedures for each completed component
- Progress tracking methodology with visual indicators
- Continuous documentation update requirements
Documentation Standards
The PRD MUST specify documentation requirements including:
- Mandatory header/footer format for all source files
- Required documentation for all public functions/methods/interfaces
- Standards for README files, build instructions, and deployment guides
- API documentation format and completeness criteria
- Process for updating documentation as the implementation progresses
Code Commenting Requirements
The PRD MUST emphasize rigorous code commenting by requiring:
- Every source file to include standardized header comments
- All functions/methods to have descriptive comments with parameters and returns
- Complex logic to include explanatory inline comments
- References to specific coding standards sections where appropriate
- A process for validating comment completeness during code review
- Progress tracking metadata in comment headers
Progress Tracking
The PRD MUST establish a comprehensive progress tracking system that:
- Maintains a
PROGRESS.mdfile at the repository root - Requires updating progress metadata in file headers upon changes
- Implements checkpoint validations with formal sign-off requirements
- Visualizes overall progress through a dashboard or reporting mechanism
- Flags deviations from the implementation plan for immediate attention
Implementation Methodology
- Implement using AI-assisted development (Roo Code with Gemini 2.5 Pro or Claude 3.7)
- Follow modular architecture patterns from the coding standards
- Prioritize containerization and cross-language interoperability
- Create reusable components that strictly adhere to design tokens
- Implement comprehensive testing at multiple levels
Risk Mitigation
- Identify critical integration points between components
- Develop fallback strategies for tool failures
- Create comprehensive error handling and recovery mechanisms
- Establish a version compatibility matrix for all dependencies
- Define maintenance and upgrade procedures
Deliverables
The PRD must include the following deliverable sections, each adhering to the coding standards:
- Executive Summary
- User Personas & Requirements
- Architecture Design
- Feature Specifications
- Database Schema
- API Documentation
- UI/UX Design
- Implementation Plan
- Testing Strategy
- Deployment Guide
- Maintenance Plan
- Appendices (including Coding Standards)
Implementation Instructions
When implementing each component:
- Always check Context7 MCP for the most current library implementations
- Use Tavily MCP to research any ambiguous requirements or potential issues
- Update progress tracking in both code comments and the PROGRESS.md file
- Follow the coding standards example patterns exactly
- Include proper error handling according to section 10 of the coding standards
- Implement consistent documentation as required
- Verify each task against its completion criteria before marking complete
- Alert users to any apparent inconsistencies in the coding standards
Quality Assurance Requirements
The PRD must specify that each phase of implementation includes:
- Unit tests meeting coverage requirements from the standards
- Integration tests for all component interactions
- System tests validating end-to-end functionality
- Code review procedures with explicit standards verification
- Documentation review process
Create this PRD with these requirements as your strict guide. For each section of the PRD, explicitly reference the relevant sections of the coding standards and use Context7 MCP to ensure all technical specifications reflect current best practices and library versions.
What's inside
12 deliverable sections, 8 implementation instructions, 5 quality assurance requirements, 3 authoritative sources
Change this for your project
- Replace
Planet9V/project_nightingalewith your repository name - Replace
Roo Code with Gemini 2.5 Pro or Claude 3.7with your AI development tools - Replace
Context7 MCPandTavily MCPwith your authoritative sources if different
Where it goes
Keep it in your repository where the agent or team that needs it will read it.
Worth borrowing
- Requiring explicit references to coding standards sections within the PRD ensures consistency
- Using checkpoint-based phases with completion criteria instead of timeline-based milestones
- Mandating progress metadata in file headers and a PROGRESS.md file for real-time tracking
Related Documents
How you work
Defines personality, planning, task execution, and communication conventions for a coding agent in the Codex CLI environment.
How you work
Defines personality, planning, task execution, and communication guidelines for a coding agent in Codex CLI.
内置 Agent 提示词
Documents the system prompts, tool permissions, and model assignments for six built-in subagents in Claude Code.
perplexity-ai_20250112
Defines the system prompt for Perplexity AI, instructing the assistant on how to answer queries using search results with strict formatting, citation, and query-type rules.