Create a type-safe state machine with transitions, guards, actions, and visualization support using XState patterns.
# Build State Machine Implementation Create a type-safe state machine with transitions, guards, actions, and visualization support using XState patterns. This prompt helps you leverage GitHub Copilot and Microsoft Copilot for code generation tasks. Use this prompt template to get consistent, high-quality results. ## How to Use 1. Copy the prompt template below 2. Customize the bracketed sections for your specific use case 3. Paste into Copilot Chat or M365 Copilot 4. Iterate on the output as needed ## Prompt Template Create a type-safe state machine with transitions, guards, actions, and visualization support using XState patterns.
Structured code review using GitHub Copilot. Security audit, performance analysis, test coverage assessment, and PR review checklists for production codebases.
End-to-end meeting productivity with M365 Copilot. Covers pre-meeting prep, real-time notes, action item extraction, and automated follow-ups across Teams and Outlook.
Create dynamic array formulas using FILTER, SORT, UNIQUE, and SEQUENCE for advanced data manipulation.
Comprehensive security audit checking for OWASP Top 10 vulnerabilities with proof-of-concept examples, fixes, and a hardened code version.
Systematic bug triage with root cause analysis, ranked hypotheses, step-by-step debugging instructions, and preventive solutions.
Generate a complete trip plan with day-by-day itinerary, budget breakdown, restaurant picks, and practical tips using real-time travel data.