powerplatform-vscode / client
AGENTS.md278 starsChanged 11 months agoMITView on GitHub
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository4 other files it gives its agents.
- Agents.mdAGENTS.md
- src/web/Agents.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- fix-dependabot-alertsSkill
The file
We split this Agents.md into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
PAC CLI Integration: Use PacWrapper for CLI operations.
- Very specific: line 26
Telemetry: Use oneDSLoggerWrapper for events.
- Distinctive: line 33
Use Mocha, Chai, Sinon. Mock dependencies.
- Very specific: line 44
Update localization files in l10n/ and localize/ as needed.
- Very specific: line 45
Add new strings to package.nls.json.
- Very specific: line 49
Add commands: update package.json, implement in src/client/extension.ts.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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.
Files
VS Code Desktop Extension
1. Project Overview
- The Power Platform VS Code extension desktop code is under
src/client/. - Key files:
src/client/extension.ts(entry),package.json(manifest),src/client/lib/(CLI integration),src/client/power-pages/(Power Pages tooling).
2. Development Environment
- Node.js 18+ and npm 9+ required.
- Install dependencies:
npm install - Build extension:
gulp ci - Test extension:
npm run test-desktop-int - Debug/launch in VS Code using provided launch configs.
3. Coding Standards
- TypeScript, 4-space indentation, arrow functions preferred.
- Externalize all user-facing strings with
vscode-nls. - PascalCase for types/enums, camelCase for functions/variables.
- JSDoc comments for exported functions, classes, interfaces.
4. Key Architectural Patterns
- PAC CLI Integration: Use
PacWrapperfor CLI operations. - Telemetry: Use
oneDSLoggerWrapperfor events. - Service Architecture: Core services in
src/common/services/.
5. Testing
- Unit tests:
npm run test - Integration tests:
npm run test-desktop-int - Use Mocha, Chai, Sinon. Mock dependencies.
6. Contribution Workflow
- Fork and clone repo. Create feature branch from
main. - Make changes in
src/client/for desktop features. - Cover new code with tests. Run all tests before PR.
- Submit PR with clear description.
7. Localization
- Update localization files in
l10n/andlocalize/as needed. - Add new strings to
package.nls.json.
8. Common Tasks
- Add commands: update
package.json, implement insrc/client/extension.ts. - PAC CLI: use
PacWrapper. - Telemetry: use
oneDSLoggerWrapper. - UI: update files in
src/client/and assets insrc/client/assets/.
9. Reference Docs
- See
.github/copilot-instructions.mdfor architecture/coding guidelines. - See
README.mdfor project info.
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
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.

