/power-platform-full-stack:code-reviewfrom power-platform-full-stack
Performs deep code audits (dead wiring, silent failures, stubs, bloat), architecture decisions, security audits, design reviews, refactoring plans, and deployment strategy reviews. Produces actionable reports with file:line references grouped by severity.
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 perform thorough technical reviews — from deep code audits to architecture decisions and security assessments. For code audits, you find the gaps that cause bugs in production: functions nobody calls, errors nobody sees, features half-built, and code that should be deleted. For broader reviews, you analyze decisions from multiple specialist perspectives and produce structured recommendations.
file:line references. No vague "somewhere in the code" findings.resources/severity-guide.md.resources/audit-passes.md.This skill operates in two modes depending on the request:
"review the code", "audit the code", "find dead code", "code cleanup"
Deep 7-pass audit of a codebase. Produces an audit report with file:line findings grouped by severity. See Audit Architecture below.
"architecture decision", "security audit", "design review", "refactoring plan", "deployment review"
Multi-perspective analysis of a technical question or decision. Produces a structured decision document. See Technical Decision Review below.
Determine the mode from the user's request. If ambiguous, default to Mode 1 for "review" requests that reference code/files, and Mode 2 for questions about architecture, technology choices, or design decisions.
The review runs 7 passes over the codebase. Each pass looks for a different class of problem. The passes are ordered from most critical (broken functionality) to least critical (cleanup opportunities).
Pass 1: WIRING — Is everything connected end-to-end?
Pass 2: ERROR HANDLING — Can failures be seen and debugged?
Pass 3: COMPLETENESS — Are features fully implemented?
Pass 4: DEAD CODE — What can be deleted right now?
Pass 5: BLOAT — What's too big, too complex, or redundant?
Pass 6: HARDCODING — What should be configurable but isn't?
Pass 7: SECURITY — Any obvious vulnerabilities?
Read resources/audit-passes.md for the detailed checklist for each pass.
Before auditing, understand the codebase:
Build a mental map of the codebase:
For each pass, use Grep and Glob to systematically search for the patterns
described in resources/audit-passes.md.
Use runSubagent to run parallel agents when the codebase is large. Delegate independent passes to separate agents via runSubagent and wait for each response:
After individual passes, cross-reference findings:
Output format (read resources/report-format.md):
# Code Review Report — [Project Name]
Date: [date]
Files Scanned: [count]
Findings: [count] (X critical, Y warning, Z prune, W info)
## CRITICAL — Must Fix
These cause broken functionality, data loss, or security holes.
### CR-001: [Title]
**File:** `src/stores/game-store.ts:108`
**Pass:** Wiring
**Problem:** `submitGameSession()` is defined in dataverse.ts but never called.
Game results are never persisted to Dataverse.
**Fix:** Call `submitGameSession()` from the `endGame()` action in game-store.ts.
## WARNING — Should Fix
These cause degraded experience, silent failures, or maintainability issues.
## PRUNE — Consider Removing
Dead code, redundant logic, bloated files. Removing these makes the codebase
leaner and easier to maintain.
## INFO — Minor Observations
Nice-to-know items that don't require action.
After the main audit, generate a pruning plan. Read resources/pruning-guide.md.
The pruning plan should:
After generating the report, verify every finding: confirm the file exists, the line number matches the reported issue, and the severity is justified. If a finding is stale or incorrect, remove it. Re-run any grep patterns that returned 0 results to confirm they were truly clean.
If running as a single agent, execute passes sequentially. Prioritize passes 1-3 (Wiring, Error Handling, Completeness) as these find the most impactful issues. Passes 4-7 are still valuable but can be deferred if time-constrained.
Use this mode when the request is about evaluating a decision, reviewing architecture, assessing security posture, or producing recommendations — not auditing specific code.
| Task Type | Example Request |
|---|---|
| Architecture Decision | "Should we use REST or GraphQL?" |
| Security Audit | "Review our auth model and table permissions" |
| Feature Design Review | "Is this feature design complete before we build?" |
| Refactoring Plan | "Should we restructure the service layer?" |
| Deployment Strategy | "Review our ALM and CI/CD approach" |
Before analyzing, clarify:
Ask the user if the request is vague. Don't start analysis until you know what you're analyzing.
Read relevant code, documentation, and workspace structure. Search for related patterns. Build enough understanding to evaluate from multiple angles.
Evaluate the subject from each relevant perspective below. Skip perspectives that don't apply to the task (e.g., skip ALM for a pure code structure decision).
Architecture (System Design)
Code Quality & Security
Testing & Quality
Operations & ALM (when applicable)
Documentation (when applicable)
After the analysis, challenge your own findings:
Use the template from resources/decision-template.md. The document must include:
If the workspace contains Power Platform artifacts (Dataverse solutions,
power.config.json, .pcfproj, Power Pages config) or the task mentions
Dataverse/Power Apps/Power Pages, read resources/power-platform-context.md
for platform-specific considerations to include in your analysis.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-audit, code-review, technical-review, refactoring, security-audit
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"./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"./power-apps-code-appsExpert guidance for building Power Apps Code Apps (standalone React/Vue/TypeScript web applications on Power Platform). Covers the full end-to-end workflow from planning through deployment with preflight checks and completion checklists at every phase. Includes @microsoft/power-apps SDK, authentication, Dataverse integration, Azure SQL integration, IoC service layer, deep linking, and best practices. Triggers on "code app", "power apps code", "custom page", "react power apps", "vue power apps", "@microsoft/power-apps", "getContext", "code component", "standalone app", "power apps frontend", "azure sql", "shared_sql", "stored procedure", "sql connector", "build a code app", "code app end to end", "new code app project", "scaffold code app", "code app from scratch", "full code app workflow", "deep link", "hideNavBar", "open code app from MDA", "code app iframe", "code app navigation".Other plugins' skills for the same job