dev_workflow_prompts.mdā¢8.4 kB
# Development Workflow Prompt Templates
## Environment Setup
### Development Environment Validation
```
Validate my development environment setup:
- Check installed development tools (IDEs, compilers, interpreters)
- Verify version compatibility across the toolchain
- Test environment variables and PATH configuration
- Validate project dependencies and requirements
- Check development server connectivity and access
```
### Project Initialization
```
Help me initialize a new development project:
- Create standard project directory structure
- Set up configuration files and templates
- Initialize version control (check Git configuration)
- Create initial documentation templates
- Set up development and testing environments
```
### Dependency Management
```
Manage project dependencies effectively:
- Analyze current dependency versions and updates
- Check for security vulnerabilities in dependencies
- Validate dependency compatibility
- Generate dependency reports and documentation
- Clean up unused or obsolete dependencies
```
## Code Quality and Analysis
### Code Review Support
```
Support code review processes:
- Analyze code files for common patterns and issues
- Check coding standards compliance
- Generate code metrics and statistics
- Identify potential security issues in code
- Create code review checklists and reports
```
### Documentation Generation
```
Generate and maintain project documentation:
- Extract documentation from code comments
- Create API documentation from source files
- Generate project structure diagrams
- Update README files with current project state
- Create changelog from version control history
```
### Testing Support
```
Support testing and quality assurance:
- Set up test environments and data
- Run automated test suites and collect results
- Generate test coverage reports
- Monitor test execution performance
- Clean up test artifacts and temporary files
```
## Build and Deployment
### Build Process Automation
```
Automate build and compilation processes:
- Execute build scripts and monitor progress
- Validate build outputs and artifacts
- Check build environment configuration
- Generate build reports and logs
- Clean up build artifacts and temporary files
```
### Deployment Preparation
```
Prepare applications for deployment:
- Package applications and dependencies
- Validate deployment configurations
- Check deployment target connectivity
- Generate deployment documentation
- Create deployment verification scripts
```
### Environment Management
```
Manage multiple development environments:
- Compare configurations across environments
- Sync environment settings and variables
- Monitor environment health and availability
- Generate environment documentation
- Support environment provisioning and cleanup
```
## Version Control Integration
### Repository Management
```
Support Git and version control operations:
- Check repository status and branch information
- Analyze commit history and patterns
- Generate release notes from commit messages
- Identify large files and repository bloat
- Support repository maintenance and cleanup
```
### Branch and Merge Support
```
Support branching and merging workflows:
- Compare files across different branches
- Identify merge conflicts and differences
- Generate branch analysis reports
- Support code migration between branches
- Document branching strategies and policies
```
## Database Development
### Database Operations
```
Support database development tasks:
- Test database connectivity and configuration
- Execute database scripts and migrations
- Generate database documentation and schemas
- Monitor database performance during development
- Support database backup and restore operations
```
### Data Management
```
Manage development and test data:
- Generate test data sets and samples
- Anonymize production data for development use
- Validate data integrity and consistency
- Support data migration and transformation
- Clean up test data and temporary objects
```
## DevOps and Automation
### CI/CD Pipeline Support
```
Support continuous integration and deployment:
- Monitor build and deployment pipelines
- Validate pipeline configurations
- Generate pipeline reports and metrics
- Support pipeline troubleshooting and debugging
- Maintain pipeline documentation and procedures
```
### Infrastructure as Code
```
Support infrastructure automation:
- Validate infrastructure configuration files
- Generate infrastructure documentation
- Monitor infrastructure provisioning and changes
- Support infrastructure testing and validation
- Maintain infrastructure version control
```
### Monitoring and Logging
```
Support application monitoring and logging:
- Configure application logging and metrics
- Analyze log files for development insights
- Monitor application performance during development
- Generate monitoring reports and dashboards
- Support log aggregation and analysis
```
## Debugging and Troubleshooting
### Debug Environment Setup
```
Set up debugging environments:
- Configure debugging tools and environments
- Set up log monitoring and analysis
- Prepare test data and scenarios
- Document debugging procedures and workflows
- Support remote debugging configurations
```
### Performance Analysis
```
Analyze application performance:
- Monitor resource usage during development
- Profile application performance and bottlenecks
- Analyze memory usage and leaks
- Generate performance reports and recommendations
- Support performance testing and validation
```
### Error Analysis
```
Analyze and troubleshoot errors:
- Parse error logs and stack traces
- Identify common error patterns and root causes
- Generate error reports and summaries
- Support error reproduction and testing
- Document error resolution procedures
```
## Security Development
### Security Testing
```
Support security testing and validation:
- Scan code for security vulnerabilities
- Test application security configurations
- Validate input sanitization and validation
- Check for common security anti-patterns
- Generate security compliance reports
```
### Secure Configuration
```
Ensure secure development configurations:
- Validate security configurations and settings
- Check for hardcoded credentials and secrets
- Ensure secure communication and encryption
- Support security policy compliance
- Generate security configuration documentation
```
## Project Management
### Project Metrics
```
Generate project metrics and reports:
- Analyze code complexity and maintainability
- Track development progress and velocity
- Generate productivity reports and insights
- Monitor project health and quality metrics
- Support project planning and estimation
```
### Release Management
```
Support release planning and management:
- Prepare release documentation and notes
- Validate release configurations and dependencies
- Support release testing and validation
- Generate release reports and summaries
- Maintain release history and documentation
```
## Team Collaboration
### Shared Development Resources
```
Manage shared development resources:
- Maintain shared configuration and templates
- Support team environment synchronization
- Manage shared documentation and knowledge base
- Support team tool configuration and setup
- Generate team productivity reports
```
### Knowledge Management
```
Support team knowledge management:
- Maintain development procedures and guidelines
- Create and update technical documentation
- Support onboarding documentation and processes
- Generate training materials and resources
- Maintain project history and lessons learned
```
## Best Practices
### Development Standards
- Follow secure coding practices
- Implement proper error handling and logging
- Use version control effectively
- Maintain clean and documented code
- Implement automated testing strategies
### Performance Guidelines
- Monitor resource usage during development
- Optimize build and deployment processes
- Use efficient development tools and techniques
- Implement proper caching and optimization
- Monitor and profile application performance
### Security Considerations
- Never store credentials in code or configuration files
- Use secure communication protocols
- Implement proper input validation and sanitization
- Follow security development lifecycle practices
- Regularly update dependencies and tools