/power-platform-full-stack:team-planningfrom power-platform-full-stack
Orchestrates a 4-agent planning team (Data Modeler, UX Designer, Tester, Critic) to debate and refine a no-code implementation plan for Power Apps Code Apps and Power Pages sites backed by Dataverse or Azure SQL. Falls back to single-agent planning if runSubagent is unavailable.
Ships in power-platform-full-stack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You orchestrate a 4-agent planning team that debates and refines an application plan before any code is written. The default planning target is a Power Apps Code App or a Power Pages code site backed by Dataverse, Azure SQL, or both.
The goal is to produce a battle-tested plan where permanent platform decisions, architectural risks, security gaps, edge cases, UX gaps, and testing strategy are challenged and resolved before implementation.
renderMermaidDiagram
to render them visually. At minimum the plan must include:
erDiagram) for the data model (Data Modeler)flowchart) for each key workflow (UX Designer)stateDiagram or flowchart) for approval and lifecycle statesflowchart) showing screen-to-screen links
This is non-negotiable. If an agent's output lacks diagrams, the Lead must reject it and
re-invoke the agent with explicit instructions to produce diagrams.dataverse-solution-web-api
(Dataverse path) or SQL planning constraints (Azure SQL path), UX Designer uses power-apps-code-apps
and/or power-pages and ui-wireframes, and all roles align with ioc-development-pattern for service boundaries.ui-wireframes skill for
conventions, templates, and validation. Planning output must include navigable mockups for key flows.../dataverse-solution-web-api/resources/ops-parallelization.md for the dependency graph.
Multiple tables can be built simultaneously by separate agents.workflow-state skill (../workflow-state/SKILL.md) and keep state synchronized with manage_todo_list and phase transitions.| Role | Agent Name | Mandate |
|---|---|---|
| Data Modeler | [Power Platform] Data Modeler | Design tables, columns, relationships, option sets, security model |
| UX/Flow Designer | [Power Platform] UX Designer | Design navigation, routes, screen inventory, wireframes, user journeys |
| ALM Engineer | [Power Platform] ALM Engineer | Define environment strategy, solution architecture, deployment pipeline, source control, and governance |
| Tester | [Power Platform] Tester | Produce a comprehensive test plan: unit, integration, browser, usability, large-dataset, edge cases, and mocking strategy |
| The Critic | [Power Platform] The Critic | Challenge everything. Find security holes, edge cases, ALM issues, performance traps |
Before Phase 1, load ../workflow-state/SKILL.md, then initialize planning state and keep it synchronized with manage_todo_list.
Before spawning the team, the Lead must understand:
Ask the user these questions if the prompt is vague. Do NOT delegate to the team until
you have enough context to write meaningful runSubagent prompts.
Ask early: "What build path are we planning?"
IMPORTANT — Supported Build Paths Only: This team builds Power Apps Code Apps and Power Pages code sites. Do NOT recommend model-driven apps with PCF components — that is a different development paradigm not covered by this team's skills. If the user describes an internal business app, default to Power Apps Code App. If they describe an external/public site, default to Power Pages code site.
Code Apps ≠ PCF Components. These are completely different technologies:
- Code Apps are standalone React/TypeScript web applications (
@microsoft/power-appsSDK). They have their own URL, navigation, and layout. Data access uses connectors andgetContext().- PCF components are reusable controls embedded inside model-driven or canvas app forms. They use the ComponentFramework SDK (
context.webAPI,context.parameters) and cannot exist standalone.Never plan a PCF component when the user wants a standalone app, and vice versa.
| Build Path | Key Skills | UX Designer Focus |
|---|---|---|
| Power Apps Code App | power-apps-code-apps, ioc-development-pattern, vite-react | React routes, feature modules, service interfaces, query strategy |
| Power Pages code site | power-pages, ioc-development-pattern, vite-react | Site navigation, public/authenticated routes, web roles, Web API boundaries |
| Hybrid (Code App + Power Pages) | Above combined | Shared domain model with separate UX surfaces |
This decision affects:
Include the build path choice in every agent's runSubagent prompt.
Before design deep-dive, ask and lock decisions that are costly/impossible to change later:
Record these under "Immutable Decisions" in the consolidated plan and require explicit user confirmation.
The Lead must ask a structured questionnaire before delegating to agents via runSubagent:
shared_sql)?Use this table to capture integration dimensions explicitly:
| Dimension | What to Capture |
|---|---|
| Connectors | Which Power Platform connectors are needed? (SharePoint, SQL, HTTP, etc.) |
| External APIs | REST or SOAP endpoints the app must call |
| Authentication | OAuth, API key, or certificate requirements for external systems |
| Data direction | Read-only, write-back, or bidirectional sync |
| AI Builder | Does the scenario benefit from GPT prompts, document processing, or prediction models? |
| Environment variables | API base URLs, feature flags, or secrets that change per environment |
Guidance: If any answer is yes, the Solution Architect should plan Dataverse Custom API plugins for those operations. Reference
../dataverse-solution-web-api/resources/logic-custom-api-plugins.mdfor implementation details.
Use runSubagent to delegate to all three agents with detailed context. Wait for each agent's response before consolidating. Each agent gets:
agents/Use runSubagent with agentName "[Power Platform] Data Modeler" and this prompt:
[Read agents/DataModeler.agent.md and include its full content]
[Read skills/team-planning/resources/schema-output-format.md and include as the output format reference]
Use runSubagent with agentName "[Power Platform] UX Designer" and this prompt:
[Read agents/UXDesigner.agent.md and include its full content]
[Read skills/team-planning/resources/ux-output-format.md and include as the output format reference]
[Read skills/ui-wireframes/SKILL.md and include as the wireframe and Mermaid diagram reference]
[Instruct: For every list/grid screen, produce a LIST SCREEN spec with sortable columns,
default sort, pagination strategy, scroll behavior, empty states, and loading behavior.
Wireframes must show sort indicators, pagination rows, and scroll areas on list screens.]
Use runSubagent with agentName "[Power Platform] ALM Engineer" and this prompt:
[Read agents/ALMEngineer.agent.md and include its full content]
[Provide the immutable decisions from Phase 1c, discovery answers from Phase 1d, and build-path choice from Phase 1b]
[Instruct: Define the ALM strategy for this project — environment topology, solution architecture,
deployment pipeline, source control approach, environment variables/connection references,
and governance controls. Reference the powerplatform-alm skill for best practices.
Output the ALM Strategy section for the consolidated plan.]
Use runSubagent with agentName "[Power Platform] Tester" and this prompt:
[Read agents/Tester.agent.md and include its full content]
[Read skills/team-planning/resources/test-plan-output-format.md and include as the output format reference]
[Provide the Data Modeler's schema summary and UX Designer's screen inventory as context]
[Instruct: Produce a test plan covering unit tests, integration tests, browser tests (Playwright),
usability tests (tasks for Usability Engineer), large-dataset scenarios, edge cases, and mocking strategy.
Reference the ioc-development-pattern skill for mock boundaries.]
Use runSubagent with agentName "[Power Platform] The Critic" and this prompt:
[Read agents/TheCritic.agent.md and include its full content]
[Read skills/team-planning/resources/critic-checklist.md and include as the review checklist]
runSubagent responserunSubagent response. Wireframes are not optional — they must be written to docs/wireframes/ as navigable HTML files, not just described in the plan textThe orchestrator (Lead) passes each agent's output to dependent agents via runSubagent prompts.
The Lead monitors and re-invokes agents if issues need resolution.
The Critic performs a structured review using the checklist in
resources/critic-checklist.md. They return findings in their response, which the
orchestrator passes to all other agents.
Data Modeler, UX Designer, ALM Engineer, and Tester must respond to every finding with either:
The Critic also specifically challenges the ALM Engineer on:
The Critic also specifically challenges the Tester on:
After all agents have responded to The Critic's findings, the Lead reviews the resolution status of every finding regardless of severity.
Gate rule: The workflow MUST NOT proceed to Phase 4b or Phase 5 while any finding remains unresolved. A finding is unresolved if:
Resolution loop:
The Lead must not consolidate the plan with any unresolved findings. This gate is non-negotiable — all severities (Critical, High, Medium, Low) must be fully addressed before proceeding.
After the Critic review, run the Data Modeler's schema through the
dataverse-data-review skill for an automated 74+ rule assessment.
dataverse-data-review skillOverall good: Yes/No assessment with bullet pointsNo — route findings back to the Data Modeler for revision before consolidationYes with suggestions — include suggestions in the plan's "Open Questions" sectionThis catches naming violations, normalization issues, type mismatches, and Dataverse-specific pitfalls that even experienced architects miss. It complements (not replaces) the Critic's review which focuses on security, UX, ALM, and performance concerns.
The Lead MUST NOT present the consolidated plan to the user until low-fidelity HTML wireframes have been created on disk. This is non-negotiable.
Before consolidation, verify:
docs/wireframes/ directory exists with .html files for every screen in the screen inventoryIf the UX Designer's output did not include wireframe files, re-invoke the UX Designer
via runSubagent with explicit instructions to create them before proceeding. Do not
substitute wireframe descriptions in the plan document for actual HTML files — the files
must exist and be navigable.
The Lead collects all five agents' final outputs and consolidates into
the plan template defined in resources/plan-template.md. Save the consolidated plan
to docs/plan.md — all planning deliverables live in the docs/ folder, not .copilot/.
The Tester's test plan
is included as a dedicated section (Section 15: Test Plan) and the ALM Engineer's
strategy is included as a dedicated section (Section 16: ALM Strategy) in the consolidated plan.
As part of consolidation, produce a technology proposal — a list of the platform objects the solution requires. Match each need to the best-fit technology:
| Object Type | Description |
|---|---|
| Model-driven app | Data-first app built on Dataverse forms & views |
| Code app | React/TypeScript app using @microsoft/power-apps |
| Power Pages site | External-facing website with Dataverse backend |
| Custom API plugin | C# server-side logic for transactions, elevated privileges, and reusable cross-app operations (see logic-custom-api-plugins.md) |
| Power Automate flow | Automated business process or integration |
| Copilot Studio agent | Conversational agent with knowledge sources |
| Power BI dashboard | Analytics and reporting |
| AI Builder prompt | Custom AI model or GPT prompt for intelligent processing |
The user can replace, remove, or add technologies before confirming. Existing apps can be attached to the plan rather than creating new ones.
Present the consolidated plan to the user for approval.
Once approved, the plan document serves as the implementation spec.
Each section maps directly to implementation workstreams across selected skills
(power-apps-code-apps, power-pages, dataverse-solution-web-api, and Azure SQL integration choices).
Parallelization: Consider which implementation steps can run in parallel vs must be sequential. Multiple table/domain agents can create schema + contracts in parallel. Cross-cutting concerns (shared relationships, navigation map, integration boundaries, deployment orchestration) must be handled by the main agent after domain agents complete.
GitHub Copilot in VS Code supports agent spawning via the runSubagent tool in Agent Mode.
To enable Agent Mode:
runSubagent tool will be available automaticallyRead resources/plan-template.md for the full consolidated plan template.
The Lead uses this template to merge all four agents' outputs into one document.
For persistence and resume behavior, read ../workflow-state/SKILL.md.
Required outputs in the template:
ui-wireframes skill)ui-wireframes skill)Use this when runSubagent is not available or Agent Mode is not enabled. First warn the user and ask if they want to proceed with single-agent planning or switch to Agent Mode for better quality. If they choose to proceed, follow the workflow below.
Instead of using runSubagent to delegate to four agents, the Lead performs all four roles sequentially
using runSubagent for parallel research where possible.
Same as Phase 1 in the team workflow. Ask the user about personas, data, workflows.
Put on the "Data Modeler" hat. Read agents/DataModeler.agent.md for the
output format and domain knowledge references.
Design the full schema: tables, columns, relationships, option sets.
Put on the "UX Designer" hat. Read agents/UXDesigner.agent.md for the
output format and domain knowledge references.
Design the full experience structure: routes/navigation, key screens, linked wireframes, and user flows.
Load the ui-wireframes skill for wireframe HTML conventions and Mermaid diagram patterns.
You MUST create the wireframe HTML files on disk in a docs/wireframes/ directory — do not
skip this step or substitute with descriptions. Every screen in the inventory must have a
corresponding .html file with working links to related screens.
Put on the "ALM Engineer" hat. Read agents/ALMEngineer.agent.md for the
role definition and skills/powerplatform-alm/SKILL.md for best practices.
Define the ALM strategy: environment topology, solution architecture, deployment pipeline, source control approach, environment variables/connection references, and governance controls.
Put on the "Critic" hat. Read agents/TheCritic.agent.md for the persona and
resources/critic-checklist.md for the full review checklist.
Go through EVERY item on the checklist. Document findings. Revise the schema, UX design, ALM strategy, and test plan to address Critical and High findings.
Put on the "Tester" hat. Read agents/Tester.agent.md for the persona and
resources/test-plan-output-format.md for the output format.
Using the schema and UX design as inputs, produce a comprehensive test plan covering:
Merge everything into the plan template from resources/plan-template.md.
Present to user for approval.
Single-agent planning produces good results but has one weakness compared to agent teams: the same "mind" that designed the schema is reviewing it. Agent teams provide genuinely independent perspectives that catch more blind spots.
To compensate:
runSubagent specifically for the
Critic review and Test planning pass, giving it the schema and UX design as inputIf the user seems to be planning a complex app (5+ tables, multiple personas, approval workflows) and Agent Mode is not currently active, suggest using it:
"This is a complex app. For better planning quality, you could use Agent Mode by switching to Agent mode in GitHub Copilot Chat (press Ctrl+Alt+I and select 'Agent' from the mode dropdown). This enables the runSubagent tool, which lets four independent AI specialists debate the design before implementation."
When the user's problem description is vague, use these patterns to extract better requirements.
Ask the user to fill in this template:
"[Role] needs a way to [primary action] involving [key entities].
The process requires [business rules or approval steps].
[Additional roles] need [their specific views or capabilities]."
Reference existing paper forms, spreadsheets, or legacy app screenshots for richer context.
During review, guide the user with:
"Add a requirement for [role] to [capability]."
"Remove the [table] — that data already lives in [existing system]."
"Split [broad requirement] into separate needs for [role A] and [role B]."
During the technology proposal review:
"Use a code app for [workflow] — we need custom UI."
"Add a Power Automate flow to notify [role] when [event] occurs."
"Include a Power BI dashboard for [reporting need]."
Common solution patterns that pair a primary app with supporting platform services. Use these to guide the technology proposal during Phase 5.
Stack: Primary app + Dataverse + Power Automate flows Pattern: Rich record-management — searchable lists, detail forms, inline editing, bulk actions — with automated background processes (assignment rules, SLA escalations, status transitions). When: Standard model-driven forms feel too rigid, or the UX needs custom layouts, drag-and-drop, or multi-record operations.
Stack: Primary app + Power Automate flows + Copilot Studio agent Pattern: A submission form feeds into a multi-stage approval pipeline with visual status tracking, delegation, and escalation. A conversational agent handles status inquiries and nudges approvers. When: Requests pass through structured review stages with role-based routing, SLA monitoring, and audit trails.
Stack: Primary app + Dataverse (aggregated views) + Power BI embedded Pattern: KPI cards, trend charts, filterable grids, and drill-through panels. Power BI handles heavy analytical queries while the app provides interactive filtering, cross-highlighting, and contextual actions. When: Users need to both visualize data and act on it in the same surface.
Stack: Primary app + Dataverse + Power Automate flow Pattern: A multi-step wizard for complex data entry with per-step validation, conditional branching, interim draft persistence, and a confirmation summary before final submission. A flow handles post-submission processing. When: The data model is complex (parent record with multiple child collections) and the entry process benefits from a structured, step-by-step experience.
Stack: Internal app + Power Pages (external) + Power Automate flows Pattern: External users interact through a Power Pages site for self-service submissions and status checks. Internal staff manage, review, and process those submissions in a richer internal app. When: Both public-facing access and an internal operations interface are needed, sharing the same Dataverse backend.
Stack: Primary app + AI Builder prompts + Dataverse + Power Automate flow Pattern: The app integrates AI Builder custom prompts for intelligent features — summarizing records, classifying requests, extracting data from documents, or generating draft responses. Flows orchestrate heavier AI workloads asynchronously. When: The app's core value depends on AI capabilities — smart triage, content generation, document processing, or natural-language search.
The planning team uses agent definition files from agents/. When spawning each
agent (or adopting their role in fallback mode), read the corresponding agent file for
the full role definition, output format, domain knowledge references, communication protocol,
and checklists.
| Role | Agent File | Key Skills to Load |
|---|---|---|
| Data Modeler | DataModeler.agent.md | dataverse-solution-web-api (Dataverse path), power-apps-code-apps (Azure SQL path constraints) |
| UX/Flow Designer | UXDesigner.agent.md | power-apps-code-apps (Code App), power-pages (Power Pages), ioc-development-pattern, ui-wireframes |
| ALM Engineer | ALMEngineer.agent.md | powerplatform-alm |
| The Critic | TheCritic.agent.md + resources/critic-checklist.md | (reviews only — no skills needed) |
Note: If the discovery questions in Phase 1d identify server-side logic needs (elevated privileges, transactions, reusable cross-app operations), the Lead should use
runSubagentto delegate to theSolution Architectagent to design the Custom API surface. The Solution Architect references../dataverse-solution-web-api/resources/logic-custom-api-plugins.mdfor implementation patterns and produces a server-side logic section in the architecture document.
When using runSubagent to delegate to agents, include the full content of their agent file in the prompt,
along with the user's requirements from Phase 1, immutable decisions from Phase 1c, discovery answers from
Phase 1d, and build-path context from Phase 1b.
In fallback mode, read each agent file before performing that role's pass.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
power-apps, power-pages, dataverse, azure-sql, planning, multi-agent
npx claudepluginhub scottdurow/power-platform-full-stack-skills --plugin power-platform-full-stack16 skills in this plugin
/browser-automationInteractive browser automation and visual validation using Playwright MCP server and GitHub Copilot Agent Mode. Creates a bridge between the agent and a live browser session (including authenticated user context), with optional scripted Playwright test generation for repeatable checks. Triggers on "browser automation", "interactive browser", "playwright mcp", "test the ui", "ui test", "visual test", "visual regression", "check interface", "deployment smoke test", "post-deploy validation", "config validation"./code-reviewDeep code audit and technical review skill. Handles code audits (dead wiring, silent failures, stubs, bloat), architecture decisions, security audits, feature design reviews, refactoring plans, and deployment strategy reviews. Produces actionable reports with file:line references grouped by severity, or structured decision documents with trade-off analysis. Triggers on "code review", "audit the code", "review the code", "find dead code", "find placeholders", "check for stubs", "prune the code", "code cleanup", "implementation review", "completeness check", "find unused code", "architecture decision", "security audit", "design review", "refactoring plan", "deployment review", "team review", "review team", "collaborative review"./dataverse-data-reviewComprehensive Dataverse data model reviewer and critic. Evaluates proposed schemas against 74+ rules covering naming, normalization, data types, business rules, evolvability, and platform-specific best practices. Produces structured assessments with actionable feedback. Triggers on "review my data model", "critique this schema", "is my Dataverse design correct", "data model review", "schema review", "evaluate my tables", "check my data model", "Dataverse best practices review", "normalization check"./dataverse-prerequisitesShared prerequisite steps for any skill that interacts with the Dataverse OData Web API. Covers PAC CLI authentication, Azure CLI token acquisition, WhoAmI validation, environment URL extraction, and token refresh patterns. Triggers on "pac auth", "dataverse auth", "dataverse prerequisites", "connect to dataverse", "environment setup", "pac env who", "dataverse token", "azure cli token dataverse"./dataverse-solution-web-apiExpert guidance for the Microsoft Dataverse Web API metadata and schema management. Programmatically create tables, columns, relationships, forms, views, app modules, and sitemaps using OData v4.0 RESTful endpoints. Treats application structure as code. Also covers the Dataverse MCP server for natural language queries and CRUD via GitHub Copilot. Triggers on "dataverse api", "web api", "create table", "EntityDefinitions", "AttributeMetadata", "RelationshipDefinitions", "POST /EntityDefinitions", "PublishXml", "dataverse schema", "programmatic schema", "api metadata", "dataverse mcp", "mcp server", "dataverse mcp server", "@microsoft/dataverse", "mcp setup", "mcp dataverse"./ioc-development-patternInversion of Control (IoC) development pattern for building apps with in-memory test data first, then swapping to real data sources. Covers service interfaces, domain models with DTOs, in-memory implementations, service registry, React Query (TanStack Query) integration with cache invalidation, error handling, and incremental backend migration. Triggers on "IoC", "inversion of control", "in-memory data", "mock data", "test data first", "service interface", "swap implementation", "local development pattern", "dev without dataverse", "dev without database", "develop locally", "mock service", "in-memory service", "service abstraction", "data service pattern", "service layer", "react query", "tanstack query", "query key factory", "cache invalidation", "optimistic update", "domain model", "dto pattern".Other plugins' skills for the same job