# Deployment WorkflowBefore deploying to production, ensure:## Pre-Deployment Checklist1. All tests passing (unit, integration, e2e)2. Code review approved by 2+ engineers3. Staging environment tested successfully4. Database migrations reviewed5. Rollback plan documented## Deployment Steps1. Create deployment branch from main2. Run final test suite3. Deploy to production4. Monitor error rates for 30 minutes5. Verify key user flows## Post-Deployment1. Update deployment log2. Notify team in #deployments channel3. Monitor metrics for 24 hours
用法
复制
询问 AI
/deployI'm ready to deploy the new authentication feature
# Code Review Workflow## Pre-Review Checklist- [ ] Code follows project style guide- [ ] All tests pass locally- [ ] No console.log or debugging code- [ ] Comments explain "why" not "what"- [ ] PR description is clear and complete## Review Focus Areas1. **Architecture**: Does this fit our existing patterns?2. **Security**: Any potential vulnerabilities?3. **Performance**: Any obvious bottlenecks?4. **Testing**: Are edge cases covered?5. **Documentation**: Is it clear how to use new features?## Review Response- Address all feedback within 24 hours- Mark conversations as resolved when addressed- Re-request review after major changes
错误分类工作流
复制
询问 AI
# Bug Triage Workflow## Information Gathering1. Reproduce the bug in local environment2. Identify affected versions/environments3. Check if similar issues exist4. Gather error logs and stack traces## Priority Assessment**P0 (Critical)**: Production down, data loss, security breach**P1 (High)**: Major feature broken, significant user impact**P2 (Medium)**: Minor feature broken, workaround available**P3 (Low)**: Cosmetic issue, minimal impact## Create Ticket- Use template: "Bug Report"- Add reproduction steps- Include screenshots/videos if applicable- Tag with affected component- Assign priority label## Next Steps- P0/P1: Immediate fix required- P2: Schedule for current sprint- P3: Add to backlog
功能规划工作流
复制
询问 AI
# Feature Planning Workflow## Requirements Gathering1. Define the user problem we're solving2. List success criteria (measurable)3. Identify edge cases and constraints4. Document technical dependencies## Design Considerations1. How does this fit existing architecture?2. What data models are needed?3. What API changes are required?4. How will this impact performance?## Implementation Plan1. Break into smaller, shippable pieces2. Identify which pieces can be done in parallel3. Note any feature flags needed4. Plan for backwards compatibility## Testing Strategy1. What unit tests are needed?2. What integration tests are needed?3. How will we test edge cases?4. What manual testing is required?