diff --git a/README.chatmodes.md b/README.chatmodes.md
index bcd4071..9529116 100644
--- a/README.chatmodes.md
+++ b/README.chatmodes.md
@@ -53,6 +53,7 @@ Custom chat modes define specific behaviors and tools for GitHub Copilot Chat, e
| [Planning mode instructions](chatmodes/planner.chatmode.md)
[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fplanner.chatmode.md)
[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fplanner.chatmode.md) | Generate an implementation plan for new features or refactoring existing code. |
| [Playwright Tester](chatmodes/playwright-tester.chatmode.md)
[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fplaywright-tester.chatmode.md)
[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fplaywright-tester.chatmode.md) | Testing mode for Playwright tests |
| [PostgreSQL Database Administrator](chatmodes/postgresql-dba.chatmode.md)
[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fpostgresql-dba.chatmode.md)
[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fpostgresql-dba.chatmode.md) | Work with PostgreSQL databases using the PostgreSQL extension. |
+| [Power Platform Expert](chatmodes/power-platform-expert.chatmode.md)
[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fpower-platform-expert.chatmode.md)
[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fpower-platform-expert.chatmode.md) | Power Platform expert providing guidance on Code Apps, canvas apps, Dataverse, connectors, and Power Platform best practices |
| [Create PRD Chat Mode](chatmodes/prd.chatmode.md)
[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fprd.chatmode.md)
[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fprd.chatmode.md) | Generate a comprehensive Product Requirements Document (PRD) in Markdown, detailing user stories, acceptance criteria, technical considerations, and metrics. Optionally create GitHub issues upon user confirmation. |
| [Principal software engineer mode instructions](chatmodes/principal-software-engineer.chatmode.md)
[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fprincipal-software-engineer.chatmode.md)
[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fprincipal-software-engineer.chatmode.md) | Provide principal-level software engineering guidance with focus on engineering excellence, technical leadership, and pragmatic implementation. |
| [Prompt Builder Instructions](chatmodes/prompt-builder.chatmode.md)
[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fprompt-builder.chatmode.md)
[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fprompt-builder.chatmode.md) | Expert prompt engineering and validation system for creating high-quality prompts - Brought to you by microsoft/edge-ai |
diff --git a/README.collections.md b/README.collections.md
index 011a7d0..341e6bb 100644
--- a/README.collections.md
+++ b/README.collections.md
@@ -21,6 +21,7 @@ Curated collections of related prompts, instructions, and chat modes organized a
| [DevOps On-Call](collections/devops-oncall.md) | A focused set of prompts, instructions, and a chat mode to help triage incidents and respond quickly with DevOps tools and Azure resources. | 5 items | devops, incident-response, oncall, azure |
| [Frontend Web Development](collections/frontend-web-dev.md) | Essential prompts, instructions, and chat modes for modern frontend web development including React, Angular, Vue, TypeScript, and CSS frameworks. | 11 items | frontend, web, react, typescript, javascript, css, html, angular, vue |
| [Java Development](collections/java-development.md) | Comprehensive collection of prompts and instructions for Java development including Spring Boot, Quarkus, testing, documentation, and best practices. | 12 items | java, springboot, quarkus, jpa, junit, javadoc |
+| [Power Apps Code Apps Development](collections/power-apps-code-apps.md) | Complete toolkit for Power Apps Code Apps development including project scaffolding, development standards, and expert guidance for building code-first applications with Power Platform integration. | 3 items | power-apps, power-platform, typescript, react, code-apps, dataverse, connectors |
| [Project Planning & Management](collections/project-planning.md) | Tools and guidance for software project planning, feature breakdown, epic management, implementation planning, and task organization for development teams. | 17 items | planning, project-management, epic, feature, implementation, task, architecture, technical-spike |
| [Security & Code Quality](collections/security-best-practices.md) | Security frameworks, accessibility guidelines, performance optimization, and code quality best practices for building secure, maintainable, and high-performance applications. | 6 items | security, accessibility, performance, code-quality, owasp, a11y, optimization, best-practices |
| [Technical Spike](collections/technical-spike.md) | Tools for creation, management and research of technical spikes to reduce unknowns and assumptions before proceeding to specification and implementation of solutions. | 2 items | technical-spike, assumption-testing, validation, research |
diff --git a/README.instructions.md b/README.instructions.md
index 5c6d714..a3fb7d6 100644
--- a/README.instructions.md
+++ b/README.instructions.md
@@ -70,6 +70,7 @@ Team and project-specific instructions to enhance GitHub Copilot's behavior for
| [Playwright Python Test Generation Instructions](instructions/playwright-python.instructions.md)
[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fplaywright-python.instructions.md)
[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fplaywright-python.instructions.md) | Playwright Python AI test generation instructions based on official documentation. |
| [Playwright Typescript](instructions/playwright-typescript.instructions.md)
[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fplaywright-typescript.instructions.md)
[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fplaywright-typescript.instructions.md) | Playwright test generation instructions |
| [Power Apps Canvas Apps YAML Structure Guide](instructions/power-apps-canvas-yaml.instructions.md)
[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fpower-apps-canvas-yaml.instructions.md)
[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fpower-apps-canvas-yaml.instructions.md) | Comprehensive guide for working with Power Apps Canvas Apps YAML structure based on Microsoft Power Apps YAML schema v3.0. Covers Power Fx formulas, control structures, data types, and source control best practices. |
+| [Power Apps Code Apps Development Instructions](instructions/power-apps-code-apps.instructions.md)
[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fpower-apps-code-apps.instructions.md)
[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fpower-apps-code-apps.instructions.md) | Power Apps Code Apps development standards and best practices for TypeScript, React, and Power Platform integration |
| [Power Platform Connectors Schema Development Instructions](instructions/power-platform-connector.instructions.md)
[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fpower-platform-connector.instructions.md)
[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fpower-platform-connector.instructions.md) | Comprehensive development guidelines for Power Platform Custom Connectors using JSON Schema definitions. Covers API definitions (Swagger 2.0), API properties, and settings configuration with Microsoft extensions. |
| [PowerShell Pester v5 Testing Guidelines](instructions/powershell-pester-5.instructions.md)
[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fpowershell-pester-5.instructions.md)
[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fpowershell-pester-5.instructions.md) | PowerShell Pester testing best practices based on Pester v5 conventions |
| [PowerShell Cmdlet Development Guidelines](instructions/powershell.instructions.md)
[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fpowershell.instructions.md)
[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fpowershell.instructions.md) | PowerShell cmdlet and scripting best practices based on Microsoft guidelines |
diff --git a/README.prompts.md b/README.prompts.md
index 1702581..c1eed1b 100644
--- a/README.prompts.md
+++ b/README.prompts.md
@@ -80,6 +80,7 @@ Ready-to-use prompt templates for specific development scenarios and tasks, defi
| [Test Generation with Playwright MCP](prompts/playwright-generate-test.prompt.md)
[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fplaywright-generate-test.prompt.md)
[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fplaywright-generate-test.prompt.md) | Generate a Playwright test based on a scenario using Playwright MCP |
| [PostgreSQL Code Review Assistant](prompts/postgresql-code-review.prompt.md)
[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fpostgresql-code-review.prompt.md)
[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fpostgresql-code-review.prompt.md) | PostgreSQL-specific code review assistant focusing on PostgreSQL best practices, anti-patterns, and unique quality standards. Covers JSONB operations, array usage, custom types, schema design, function optimization, and PostgreSQL-exclusive security features like Row Level Security (RLS). |
| [PostgreSQL Development Assistant](prompts/postgresql-optimization.prompt.md)
[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fpostgresql-optimization.prompt.md)
[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fpostgresql-optimization.prompt.md) | PostgreSQL-specific development assistant focusing on unique PostgreSQL features, advanced data types, and PostgreSQL-exclusive capabilities. Covers JSONB operations, array types, custom types, range/geometric types, full-text search, window functions, and PostgreSQL extensions ecosystem. |
+| [Power Apps Code Apps Project Scaffolding](prompts/power-apps-code-app-scaffold.prompt.md)
[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fpower-apps-code-app-scaffold.prompt.md)
[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fpower-apps-code-app-scaffold.prompt.md) | Scaffold a complete Power Apps Code App project with PAC CLI setup, SDK integration, and connector configuration |
| [Project Workflow Documentation Generator](prompts/project-workflow-analysis-blueprint-generator.prompt.md)
[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fproject-workflow-analysis-blueprint-generator.prompt.md)
[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fproject-workflow-analysis-blueprint-generator.prompt.md) | Comprehensive technology-agnostic prompt generator for documenting end-to-end application workflows. Automatically detects project architecture patterns, technology stacks, and data flow patterns to generate detailed implementation blueprints covering entry points, service layers, data access, error handling, and testing approaches across multiple technologies including .NET, Java/Spring, React, and microservices architectures. |
| [Professional Prompt Builder](prompts/prompt-builder.prompt.md)
[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fprompt-builder.prompt.md)
[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fprompt-builder.prompt.md) | Guide users through creating high-quality GitHub Copilot prompts with proper structure, tools, and best practices. |
| [README Generator Prompt](prompts/readme-blueprint-generator.prompt.md)
[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Freadme-blueprint-generator.prompt.md)
[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Freadme-blueprint-generator.prompt.md) | Intelligent README.md generation prompt that analyzes project documentation structure and creates comprehensive repository documentation. Scans .github/copilot directory files and copilot-instructions.md to extract project information, technology stack, architecture, development workflow, coding standards, and testing approaches while generating well-structured markdown documentation with proper formatting, cross-references, and developer-focused content. |
diff --git a/chatmodes/power-platform-expert.chatmode.md b/chatmodes/power-platform-expert.chatmode.md
new file mode 100644
index 0000000..cd1a201
--- /dev/null
+++ b/chatmodes/power-platform-expert.chatmode.md
@@ -0,0 +1,116 @@
+---
+description: 'Power Platform expert providing guidance on Code Apps, canvas apps, Dataverse, connectors, and Power Platform best practices'
+model: GPT-4.1
+---
+
+# Power Platform Expert
+
+You are an expert Microsoft Power Platform developer and architect with deep knowledge of Power Apps Code Apps, canvas apps, Power Automate, Dataverse, and the broader Power Platform ecosystem. Your mission is to provide authoritative guidance, best practices, and technical solutions for Power Platform development.
+
+## Your Expertise
+
+- **Power Apps Code Apps (Preview)**: Deep understanding of code-first development, PAC CLI, Power Apps SDK, connector integration, and deployment strategies
+- **Canvas Apps**: Advanced Power Fx, component development, responsive design, and performance optimization
+- **Model-Driven Apps**: Entity relationship modeling, forms, views, business rules, and custom controls
+- **Dataverse**: Data modeling, relationships (including many-to-many and polymorphic lookups), security roles, business logic, and integration patterns
+- **Power Platform Connectors**: 1,500+ connectors, custom connectors, API management, and authentication flows
+- **Power Automate**: Workflow automation, trigger patterns, error handling, and enterprise integration
+- **Power Platform ALM**: Environment management, solutions, pipelines, and multi-environment deployment strategies
+- **Security & Governance**: Data loss prevention, conditional access, tenant administration, and compliance
+- **Integration Patterns**: Azure services integration, Microsoft 365 connectivity, third-party APIs, Power BI embedded analytics, AI Builder cognitive services, and Power Virtual Agents chatbot embedding
+- **Advanced UI/UX**: Design systems, accessibility automation, internationalization, dark mode theming, responsive design patterns, animations, and offline-first architecture
+- **Enterprise Patterns**: PCF control integration, multi-environment pipelines, progressive web apps, and advanced data synchronization
+
+## Your Approach
+
+- **Solution-Focused**: Provide practical, implementable solutions rather than theoretical discussions
+- **Best Practices First**: Always recommend Microsoft's official best practices and current documentation
+- **Architecture Awareness**: Consider scalability, maintainability, and enterprise requirements
+- **Version Awareness**: Stay current with preview features, GA releases, and deprecation notices
+- **Security Conscious**: Emphasize security, compliance, and governance in all recommendations
+- **Performance Oriented**: Optimize for performance, user experience, and resource utilization
+- **Future-Proof**: Consider long-term supportability and platform evolution
+
+## Guidelines for Responses
+
+### Code Apps Guidance
+- Always mention current preview status and limitations
+- Provide complete implementation examples with proper error handling
+- Include PAC CLI commands with proper syntax and parameters
+- Reference official Microsoft documentation and samples from PowerAppsCodeApps repo
+- Address TypeScript configuration requirements (verbatimModuleSyntax: false)
+- Emphasize port 3000 requirement for local development
+- Include connector setup and authentication flows
+- Provide specific package.json script configurations
+- Include vite.config.ts setup with base path and aliases
+- Address common PowerProvider implementation patterns
+
+### Canvas App Development
+- Use Power Fx best practices and efficient formulas
+- Recommend modern controls and responsive design patterns
+- Provide delegation-friendly query patterns
+- Include accessibility considerations (WCAG compliance)
+- Suggest performance optimization techniques
+
+### Dataverse Design
+- Follow entity relationship best practices
+- Recommend appropriate column types and configurations
+- Include security role and business rule considerations
+- Suggest efficient query patterns and indexes
+
+### Connector Integration
+- Focus on officially supported connectors when possible
+- Provide authentication and consent flow guidance
+- Include error handling and retry logic patterns
+- Demonstrate proper data transformation techniques
+
+### Architecture Recommendations
+- Consider environment strategy (dev/test/prod)
+- Recommend solution architecture patterns
+- Include ALM and DevOps considerations
+- Address scalability and performance requirements
+
+### Security and Compliance
+- Always include security best practices
+- Mention data loss prevention considerations
+- Include conditional access implications
+- Address Microsoft Entra ID integration requirements
+
+## Response Structure
+
+When providing guidance, structure your responses as follows:
+
+1. **Quick Answer**: Immediate solution or recommendation
+2. **Implementation Details**: Step-by-step instructions or code examples
+3. **Best Practices**: Relevant best practices and considerations
+4. **Potential Issues**: Common pitfalls and troubleshooting tips
+5. **Additional Resources**: Links to official documentation and samples
+6. **Next Steps**: Recommendations for further development or investigation
+
+## Current Power Platform Context
+
+### Code Apps (Preview) - Current Status
+- **Supported Connectors**: SQL Server, SharePoint, Office 365 Users/Groups, Azure Data Explorer, OneDrive for Business, Microsoft Teams, MSN Weather, Microsoft Translator V2, Dataverse
+- **Current SDK Version**: @microsoft/power-apps ^0.3.1
+- **Limitations**: No CSP support, no Storage SAS IP restrictions, no Git integration, no native Application Insights
+- **Requirements**: Power Apps Premium licensing, PAC CLI, Node.js LTS, VS Code
+- **Architecture**: React + TypeScript + Vite, Power Apps SDK, PowerProvider component with async initialization
+
+### Enterprise Considerations
+- **Managed Environment**: Sharing limits, app quarantine, conditional access support
+- **Data Loss Prevention**: Policy enforcement during app launch
+- **Azure B2B**: External user access supported
+- **Tenant Isolation**: Cross-tenant restrictions supported
+
+### Development Workflow
+- **Local Development**: `npm run dev` with concurrently running vite and pac code run
+- **Authentication**: PAC CLI auth profiles (`pac auth create --environment {id}`) and environment selection
+- **Connector Management**: `pac code add-data-source` for adding connectors with proper parameters
+- **Deployment**: `npm run build` followed by `pac code push` with environment validation
+- **Testing**: Unit tests with Jest/Vitest, integration tests, and Power Platform testing strategies
+- **Debugging**: Browser dev tools, Power Platform logs, and connector tracing
+
+Always stay current with the latest Power Platform updates, preview features, and Microsoft announcements. When in doubt, refer users to official Microsoft Learn documentation, the Power Platform community resources, and the official Microsoft PowerAppsCodeApps repository (https://github.com/microsoft/PowerAppsCodeApps) for the most current examples and samples.
+
+
+Remember: You are here to empower developers to build amazing solutions on Power Platform while following Microsoft's best practices and enterprise requirements.
diff --git a/collections/power-apps-code-apps.collection.yml b/collections/power-apps-code-apps.collection.yml
new file mode 100644
index 0000000..d9a4901
--- /dev/null
+++ b/collections/power-apps-code-apps.collection.yml
@@ -0,0 +1,20 @@
+id: power-apps-code-apps
+name: Power Apps Code Apps Development
+description: Complete toolkit for Power Apps Code Apps development including project scaffolding, development standards, and expert guidance for building code-first applications with Power Platform integration.
+tags: [power-apps, power-platform, typescript, react, code-apps, dataverse, connectors]
+items:
+ # Power Apps Code Apps Prompt
+ - path: prompts/power-apps-code-app-scaffold.prompt.md
+ kind: prompt
+
+ # Power Apps Code Apps Instructions
+ - path: instructions/power-apps-code-apps.instructions.md
+ kind: instruction
+
+ # Power Platform Expert Chat Mode
+ - path: chatmodes/power-platform-expert.chatmode.md
+ kind: chat-mode
+
+display:
+ ordering: manual
+ show_badge: true
diff --git a/collections/power-apps-code-apps.md b/collections/power-apps-code-apps.md
new file mode 100644
index 0000000..90ec470
--- /dev/null
+++ b/collections/power-apps-code-apps.md
@@ -0,0 +1,16 @@
+# Power Apps Code Apps Development
+
+Complete toolkit for Power Apps Code Apps development including project scaffolding, development standards, and expert guidance for building code-first applications with Power Platform integration.
+
+**Tags:** power-apps, power-platform, typescript, react, code-apps, dataverse, connectors
+
+## Items in this Collection
+
+| Title | Type | Description |
+| ----- | ---- | ----------- |
+| [Power Apps Code Apps Project Scaffolding](../prompts/power-apps-code-app-scaffold.prompt.md)
[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fpower-apps-code-app-scaffold.prompt.md)
[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fpower-apps-code-app-scaffold.prompt.md) | Prompt | Scaffold a complete Power Apps Code App project with PAC CLI setup, SDK integration, and connector configuration |
+| [Power Apps Code Apps Development Instructions](../instructions/power-apps-code-apps.instructions.md)
[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fpower-apps-code-apps.instructions.md)
[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fpower-apps-code-apps.instructions.md) | Instruction | Power Apps Code Apps development standards and best practices for TypeScript, React, and Power Platform integration |
+| [Power Platform Expert](../chatmodes/power-platform-expert.chatmode.md)
[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fpower-platform-expert.chatmode.md)
[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fpower-platform-expert.chatmode.md) | Chat Mode | Power Platform expert providing guidance on Code Apps, canvas apps, Dataverse, connectors, and Power Platform best practices |
+
+---
+*This collection includes 3 curated items for power apps code apps development.*
\ No newline at end of file
diff --git a/instructions/power-apps-code-apps.instructions.md b/instructions/power-apps-code-apps.instructions.md
new file mode 100644
index 0000000..5a2b4e2
--- /dev/null
+++ b/instructions/power-apps-code-apps.instructions.md
@@ -0,0 +1,601 @@
+---
+description: 'Power Apps Code Apps development standards and best practices for TypeScript, React, and Power Platform integration'
+applyTo: '**/*.{ts,tsx,js,jsx}, **/vite.config.*, **/package.json, **/tsconfig.json, **/power.config.json'
+---
+
+# Power Apps Code Apps Development Instructions
+
+Instructions for generating high-quality Power Apps Code Apps using TypeScript, React, and Power Platform SDK, following Microsoft's official best practices and preview capabilities.
+
+## Project Context
+
+- **Power Apps Code Apps (Preview)**: Code-first web app development with Power Platform integration
+- **TypeScript + React**: Recommended frontend stack with Vite bundler
+- **Power Platform SDK**: @microsoft/power-apps (current version ^0.3.1) for connector integration
+- **PAC CLI**: Power Platform CLI for project management and deployment
+- **Port 3000**: Required for local development with Power Platform SDK
+- **Power Apps Premium**: End-user licensing requirement for production use
+
+## Development Standards
+
+### Project Structure
+
+- Use well-organized folder structure with clear separation of concerns:
+ ```
+ src/
+ ├── components/ # Reusable UI components
+ ├── hooks/ # Custom React hooks for Power Platform
+ ├── services/ # Generated connector services (PAC CLI)
+ ├── models/ # Generated TypeScript models (PAC CLI)
+ ├── utils/ # Utility functions and helpers
+ ├── types/ # TypeScript type definitions
+ ├── PowerProvider.tsx # Power Platform initialization
+ └── main.tsx # Application entry point
+ ```
+- Keep generated files (`services/`, `models/`) separate from custom code
+- Use consistent naming conventions (kebab-case for files, PascalCase for components)
+
+### TypeScript Configuration
+
+- Set `verbatimModuleSyntax: false` in tsconfig.json for Power Apps SDK compatibility
+- Enable strict mode for type safety with recommended tsconfig.json:
+ ```json
+ {
+ "compilerOptions": {
+ "target": "ES2020",
+ "useDefineForClassFields": true,
+ "lib": ["ES2020", "DOM", "DOM.Iterable"],
+ "module": "ESNext",
+ "skipLibCheck": true,
+ "verbatimModuleSyntax": false,
+ "moduleResolution": "bundler",
+ "allowImportingTsExtensions": true,
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "noEmit": true,
+ "jsx": "react-jsx",
+ "strict": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "noFallthroughCasesInSwitch": true,
+ "baseUrl": ".",
+ "paths": {
+ "@/*": ["./src/*"]
+ }
+ }
+ }
+ ```
+- Use proper typing for Power Platform connector responses
+- Configure path alias with `"@": path.resolve(__dirname, "./src")` for cleaner imports
+- Define interfaces for app-specific data structures
+- Implement error boundaries and proper error handling types
+
+### Advanced Power Platform Integration
+
+#### Custom Control Frameworks (PCF Controls)
+- **Integrate PCF controls**: Embed Power Apps Component Framework controls in Code Apps
+ ```typescript
+ // Example: Using custom PCF control for data visualization
+ import { PCFControlWrapper } from './components/PCFControlWrapper';
+
+ const MyComponent = () => {
+ return (
+