A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and deploying solutions.
JavaScript claude-code-pluginclaude-code-skillscode-appsgithub-copilot-pluginpower-appspower-pagespower-platform
PR feedback and other improvements as suggested by copilot#15
Akshay Maloo433a688b2f4b
diff --git a/AGENTS.md b/AGENTS.mdindex 365d05304..89fb7a732 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -1,4 +1,4 @@-# Power Platform Claude Plugins - Development Guidelines+# Power Platform Skills - Development GuidelinesThis file provides generic instructions for Claude Code when working on this plugin marketplace. For plugin-specific guidelines, see the `AGENTS.md` file in each plugin's folder.diff --git a/plugins/power-apps/github/copilot-instructions.md b/plugins/power-apps/github/copilot-instructions.mdindex 9a2737dc9..1bd65c4ac 100644--- a/plugins/power-apps/github/copilot-instructions.md+++ b/plugins/power-apps/github/copilot-instructions.md@@ -198,7 +198,7 @@ For the full rules, see [genux-rules-reference.md](../shared/references/genux-ru### Critical Rules1. **React 17 + TypeScript** — all code must use React 17 (no React 18 features like `useTransition`, `createRoot`, concurrent mode)-2. **Fluent UI V9** — use `@fluentui/react-components` exclusively (DatePicker from `@fluentui/react-datepicker-compat` with `mountNode` prop)+2. **Fluent UI V9** — use `@fluentui/react-components` exclusively (DatePicker from `@fluentui/react-datepicker-compat`, TimePicker from `@fluentui/react-timepicker-compat` — both require `mountNode` prop)3. **Single File** — all code in one `.tsx` file; each component/utility as separate top-level function (no nesting)4. **Limited Imports** — only React, Fluent UI V9, approved Fluent icons, and D3.js for charts5. **DataAPI** — ONLY use when explicit TableRegistrations provided; otherwise use mocked data@@ -219,6 +219,7 @@ For the full rules, see [genux-rules-reference.md](../shared/references/genux-ru"@fluentui/react-calendar-compat": "^0.2.2""@fluentui/react-components": "^9.46.4""@fluentui/react-datepicker-compat": "^0.5.0"+"@fluentui/react-timepicker-compat": "^0.3.0""@fluentui/react-theme": "^9.1.24""d3": "^7.9.0"```diff --git a/plugins/power-apps/shared/references/genux-rules-reference.md b/plugins/power-apps/shared/references/genux-rules-reference.mdindex 32601418a..4972782c1 100644--- a/plugins/power-apps/shared/references/genux-rules-reference.md+++ b/plugins/power-apps/shared/references/genux-rules-reference.md@@ -7,7 +7,7 @@ Comprehensive rules for generating genux page code. Read this file during code g## Critical Rules1. **React 17 + TypeScript**: All code must use React 17 with TypeScript-2. **Fluent UI V9**: Use `@fluentui/react-components` (DatePicker from `@fluentui/react-datepicker-compat` with `mountNode` prop)+2. **Fluent UI V9**: Use `@fluentui/react-components` (DatePicker from `@fluentui/react-datepicker-compat`, TimePicker from `@fluentui/react-timepicker-compat` — both require `mountNode` prop)3. **Single File**: All code (components, utilities) in one file; each as separate top-level function (no nesting)4. **Limited Imports**: Only React, Fluent UI V9, FluentUI icons, and D3.js for charts5. **DataAPI**: ONLY use when explicit TableRegistrations provided; otherwise use mocked data@@ -32,11 +32,12 @@ Only these libraries are available. Do NOT use any other library."@fluentui/react-calendar-compat": "^0.2.2""@fluentui/react-components": "^9.46.4""@fluentui/react-datepicker-compat": "^0.5.0"+"@fluentui/react-timepicker-compat": "^0.3.0""@fluentui/react-theme": "^9.1.24""d3": "^7.9.0"```-**CRITICAL**: DatePicker must be imported from `@fluentui/react-datepicker-compat` (NOT `@fluentui/react-components`)+**CRITICAL**: DatePicker must be imported from `@fluentui/react-datepicker-compat` and TimePicker from `@fluentui/react-timepicker-compat` (NOT from `@fluentui/react-components`)---diff --git a/plugins/power-apps/shared/samples/2-wizard-multi-step.tsx b/plugins/power-apps/shared/samples/2-wizard-multi-step.tsxindex 7e843d439..75a147e91 100644--- a/plugins/power-apps/shared/samples/2-wizard-multi-step.tsx+++ b/plugins/power-apps/shared/samples/2-wizard-multi-step.tsx@@ -1,5 +1,5 @@import React, { useState } from 'react';-import { Button, Text, RadioGroup, Radio, Divider, ProgressBar } from '@fluentui/react-components';+import { Button, Text, RadioGroup, Radio, Divider, ProgressBar, tokens } from '@fluentui/react-components';const GeneratedComponent = () => {const [currentStep, setCurrentStep] = useState(0);diff --git a/plugins/power-apps/shared/samples/3-poa-revocation-wizard.tsx b/plugins/power-apps/shared/samples/3-poa-revocation-wizard.tsxindex 9e7906bc7..ee56edfae 100644--- a/plugins/power-apps/shared/samples/3-poa-revocation-wizard.tsx+++ b/plugins/power-apps/shared/samples/3-poa-revocation-wizard.tsx@@ -13,6 +13,7 @@ import {RadioGroup,Radio,ProgressBar,+ tokens,} from "@fluentui/react-components";// Mock data for POA records and accountsdiff --git a/plugins/power-apps/shared/samples/5-file-upload.tsx b/plugins/power-apps/shared/samples/5-file-upload.tsxindex cb8184f13..fa04489ea 100644--- a/plugins/power-apps/shared/samples/5-file-upload.tsx+++ b/plugins/power-apps/shared/samples/5-file-upload.tsx@@ -1,5 +1,5 @@import React, { useRef, useState } from "react";-import { Button, Text } from "@fluentui/react-components";+import { Button, Text, tokens } from "@fluentui/react-components";const GeneratedComponent = () => {const fileInputRef = useRef<HTMLInputElement>(null); // Ref for hidden file inputdiff --git a/plugins/power-apps/shared/samples/6-navigation-sidebar.tsx b/plugins/power-apps/shared/samples/6-navigation-sidebar.tsxindex bf9fca008..16d4d0358 100644--- a/plugins/power-apps/shared/samples/6-navigation-sidebar.tsx+++ b/plugins/power-apps/shared/samples/6-navigation-sidebar.tsx@@ -1,5 +1,5 @@import React, { useState } from 'react';-import { Button, Text } from '@fluentui/react-components';+import { Button, Text, tokens } from '@fluentui/react-components';const sections = ['Home', 'About', 'Contact'];const subsectionsMap: Record<string, string[]> = {diff --git a/plugins/power-apps/shared/samples/7-comprehensive-form.tsx b/plugins/power-apps/shared/samples/7-comprehensive-form.tsxindex 821bdeca6..bd4766aec 100644--- a/plugins/power-apps/shared/samples/7-comprehensive-form.tsx+++ b/plugins/power-apps/shared/samples/7-comprehensive-form.tsx@@ -84,7 +84,7 @@ const GeneratedComponent: React.FC = () => {}, []);return (- <div className={styles.container}>+ <div className={styles.container} ref={containerRef}><header><Subtitle1 as="h1" block>User Information Form</Subtitle1><Body1 style={{ color: tokens.colorNeutralForeground2, marginTop: tokens.spacingVerticalXS }} block>Please fill out all required fields. Fields marked with * are mandatory.</Body1>@@ -133,7 +133,6 @@ const GeneratedComponent: React.FC = () => {placeholder="Select preferred contact time"freeform={false}showSeconds={false}- // All Time Pickers must have this propmountNode={mountNode}/></Field>diff --git a/plugins/power-apps/skills/genpage/SKILL.md b/plugins/power-apps/skills/genpage/SKILL.mdindex 75ffa817c..02daac390 100644--- a/plugins/power-apps/skills/genpage/SKILL.md+++ b/plugins/power-apps/skills/genpage/SKILL.md@@ -49,7 +49,7 @@ Before starting, verify:## Development Standards- **React 17 + TypeScript** — all generated code-- **Fluent UI V9** — `@fluentui/react-components` exclusively (DatePicker from `@fluentui/react-datepicker-compat`)+- **Fluent UI V9** — `@fluentui/react-components` exclusively (DatePicker from `@fluentui/react-datepicker-compat`, TimePicker from `@fluentui/react-timepicker-compat`)- **Single file architecture** — all components, utilities, styles in one `.tsx` file- **No external libraries** — only React, Fluent UI V9, approved Fluent icons, D3.js for charts- **Type-safe DataAPI** — use RuntimeTypes when Dataverse entities are involved