powerplatform-vibecoding-samples: Instructions file for GitHub Copilot

.github/instructions/PowerPlatform-DataversePluginsDoc.instructions.md

PowerPlatform-DataversePluginsDoc is an instructions file for GitHub Copilot from tchinnin/powerplatform-vibecoding-samples. It costs 2,860 tokens per session, scanned C, original, MIT.

Documentation instructions for Dataverse plugins written in C#. Dataverse is Microsoft's cloud data platform, and these plugins are code components that respond to its data or business events.

In plain words
What is it for?
Use them to create and maintain README.md, HELPERS.md, and PLUGINS.md files for projects stored under the Plugins directory.
Why use it?
They give every plugin project a predictable documentation layout, making the main project, helper classes, and plugin implementations easier to understand.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is tchinnin/powerplatform-vibecoding-samples's own configuration. It tells GitHub Copilot how to work on powerplatform-vibecoding-samples itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything powerplatform-vibecoding-samples configures โ†’

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is pac plugin push --pluginId {PluginPackageId} --pluginFile ./bin/Release/{ProjectName}.{Version}.nupkg.

Reuse

Borrowing it

Nothing to install: this file belongs to tchinnin/powerplatform-vibecoding-samples. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tchinnin/powerplatform-vibecoding-samples/main/.github/instructions/PowerPlatform-DataversePluginsDoc.instructions.md
Clone the repo
git clone --depth 1 https://github.com/tchinnin/powerplatform-vibecoding-samples

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for PowerPlatform-DataversePluginsDoc

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tchinnin/powerplatform-vibecoding-samples/powerplatform-dataversepluginsdoc/github.svg)](https://agentmods.dev/instructions/tchinnin/powerplatform-vibecoding-samples/powerplatform-dataversepluginsdoc)
Your own site
<a href="https://agentmods.dev/instructions/tchinnin/powerplatform-vibecoding-samples/powerplatform-dataversepluginsdoc"><img src="https://agentmods.dev/badge/instructions/tchinnin/powerplatform-vibecoding-samples/powerplatform-dataversepluginsdoc/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80ร—15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80ร—15 button for PowerPlatform-DataversePluginsDoc

Your own site ยท 80ร—15
<a href="https://agentmods.dev/instructions/tchinnin/powerplatform-vibecoding-samples/powerplatform-dataversepluginsdoc"><img src="https://agentmods.dev/badge/instructions/tchinnin/powerplatform-vibecoding-samples/powerplatform-dataversepluginsdoc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,860 This file is loaded in full into every session.
When invoked 2,860 The same file โ€” it is already loaded in full.
Security scan C 1 finding. A grade says what 26 rules found in the file โ€” not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.02860 $0.02860
Opus 5.5 $0.01144 $0.01144
Sonnet 5.5 $0.00572 $0.00572
Haiku 4.5 $0.00286 $0.00286

Measured 2mo ago against content hash 096f57d52059, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

PowerPlatform-DataversePluginsDoc scanned grade C with 1 finding against 26 rules in 11 categories โ€” prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency โ€” measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Harvests environment variableshighData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

6. Extract environment variables referenced
.github/instructions/PowerPlatform-DataversePluginsDoc.instructions.md ยท 460 lines

How it starts

The opening of the file, as written. The whole thing โ€” 460 lines โ€” stays where its author put it; the contents beside it link to each section on GitHub.

GitHub Copilot Instructions for Dataverse Plugin Documentation

These instructions guide the agent in documenting Dataverse .NET plugins developed in the codebase.


๐Ÿ“Œ Documentation Context

  • This documentation is for Dataverse C# Plugin projects
  • Each plugin project is located under Plugins/{ProjectName}/
  • Projects contain:
    • Helpers/ - Reusable helper classes
    • Plugins/ - Plugin implementations (standard messages or custom APIs)
    • {ProjectName}.csproj - Project file with NuGet configuration

๐Ÿ“ Documentation Structure

Each plugin project should have three markdown documentation files in its root folder:

Plugins/
โ””โ”€โ”€ {ProjectName}/
    โ”œโ”€โ”€ README.md                 # Global project documentation with table of contents
    โ”œโ”€โ”€ HELPERS.md                # Helper classes documentation
    โ”œโ”€โ”€ PLUGINS.md                # Plugin implementations documentation
    โ”œโ”€โ”€ Helpers/                  # Helper source code
    โ”œโ”€โ”€ Plugins/                  # Plugin source code
    โ””โ”€โ”€ {ProjectName}.csproj      # Project file

๐Ÿ“ Documentation Files Structure

1. README.md - Global Project Documentation

This is the main entry point for the plugin project documentation.

Structure:
# {Project Name} - Dataverse Plugin Package

## Overview
Brief description of the project purpose and scope.

## Package Information

| Property | Value |
|----------|-------|
| **Package ID** | {PackageId from .csproj} |
| **Version** | {Version from .csproj} |
| **Authors** | {Authors from .csproj} |
| **Company** | {Company from .csproj} |
| **Target Framework** | net462 |
| **Assembly Signing** | Yes (.snk) |

## Dependencies

### NuGet Packages
- `Microsoft.CrmSdk.CoreAssemblies` - Version X.X.X
- `Microsoft.PowerApps.MSBuild.Plugin` - Version X.X.X
- `Microsoft.NETFramework.ReferenceAssemblies` - Version X.X.X

### Dependent Assemblies
List any additional assemblies included in the package (if applicable).

## Documentation

### [Helper Classes](HELPERS.md)
- [HelperName1](HELPERS.md#helpername1)
- [HelperName2](HELPERS.md#helpername2)
- ...

### [Plugin Implementations](PLUGINS.md)
- [PluginName1](PLUGINS.md#pluginname1)
- [PluginName2](PLUGINS.md#pluginname2)
- ...

## Deployment

This package is deployed using Power Platform CLI:
\`\`\`sh
pac plugin push --pluginId {PluginPackageId} --pluginFile ./bin/Release/{ProjectName}.{Version}.nupkg
\`\`\`

**Note:** The plugin package ID is provided by the user after initial import into the environment.

## Environment Variables

List of required environment variables (if applicable):
- `env_VariableName1` - Description
- `env_VariableName2` - Description

## Prerequisites

- Dataverse environment with required tables
- Security roles configured
- Environment variables configured

Read the full file on GitHub ยท 460 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen ยท 460 lines ยท 2,860 tokens per session scan C 096f57d52059

Subscribe to this mod's changes

PowerPlatform-DataversePluginsDoc is an instructions file published in the GitHub repository tchinnin/powerplatform-vibecoding-samples (6 stars, last pushed 9mo ago), licensed MIT. It adds 2,860 tokens to every session, about $0.0114 per session on Opus 5.5. A static security scan graded it C with 1 finding (harvests environment variables). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

PowerPlatform-DataversePluginsDoc compared with instructions from other repositories

PowerPlatform-DataversePluginsDoc next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
PowerPlatform-DataversePluginsDoctchinnin/powerplatform-vibecoding-samplesInstructions file69mo agoMITC2,860GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode