agentleFS
MicrosoftKnown publishermicrosoft/kpi-dashboard-suite-pcfcontrols/.github/copilot-instructions.md

kpi-dashboard-suite-pcfcontrols

Copilot instructions3 starsChanged 12 months agoMITView on GitHub

This workspace contains a Power Platform Component Framework (PCF) controls library for professional KPI dashboards.

The file

We split this copilot-instructions.md into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When building controls, use npm run build in each control directory

    line 21
  2. Very specific:

    Use PowerShell scripts like create-complete-package.ps1 for deployment packages

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

Copilot Instructions for PCF KPI Dashboard Suite

This workspace contains a Power Platform Component Framework (PCF) controls library for professional KPI dashboards.

Project Structure

  • Individual Control Directories: Each PCF control has its own directory with source code, CSS, and manifest
  • WorkingSolution Directory: Contains the complete solution package structure for deployment to Power Platform
  • Solution Directory: Contains build outputs and packaged solutions
  • Packaging Scripts: PowerShell scripts for creating deployment packages

Key Controls

  1. KpiStatControl - Single metric display with trend indicators
  2. TripleKpiCard - Three-metric unified card for communication tracking
  3. CircularKpiCard - Salesforce-style circular progress visualization
  4. EngagementScorecard - Calculated engagement scores with multiple methods
  5. OpportunitySummary - Opportunity pipeline overview with win rates
  6. PipelineAttainment - Goal achievement tracking with percentages
  7. TreeMapKpiControl - D3.js hierarchical data visualization

Development Guidelines

  • When building controls, use npm run build in each control directory
  • For solution packaging, use the WorkingSolution structure with proper ControlManifest.xml files
  • Maintain consistent naming: kpi_BillWhalen.Controls.* namespace for all controls
  • CSS should include vendor prefixes for cross-browser compatibility
  • Version bumps in solution.xml are required for Power Platform to recognize updates
  • Ultra-compact design: 150px minimum height for most controls (280px for TreeMap)

Build Commands

  • npm install - Install dependencies
  • npm run build - Build all controls
  • npm run rebuild - Clean and rebuild
  • Individual controls: cd [ControlName] && npm run build

Packaging

  • Use PowerShell scripts like create-complete-package.ps1 for deployment packages
  • Solution packages go in WorkingSolution directory structure
  • Each control requires ControlManifest.xml in WorkingSolution/Controls/[namespace].[controlname]/

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.