power-platform-resources
Copilot instructions4 starsChanged 4 months agoMITView on GitHub
This is a dependency-free static site with no configured build, test, or lint scripts. There is no automated test suite or single-test command. Validate changes in a browser at desktop and mobile widths, including both color themes, search filtering, sticky navigation links, and expanding/collapsing resource sections. Always update CHANGELOG.md with additions/removals from the sites. Follow the Keep a Changelog convention at https://keepachangelog.com/en/1.0.0/. When updating CHANGELOG.md, make sure there is a newline between the header and the paragraph text.
The file
We split this copilot-instructions.md into the rules it gives an agent
10 rules. About 0 are common, 5 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
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
- could be automatic: a setting could enforce it
- Very specific: line 9
Check JavaScript syntax after editing behavior: node --check assets\js\main.js
- Distinctive: line 10
Check patch whitespace before finishing: git diff --check
- Distinctive: line 25
Keep the site dependency-free unless a task explicitly requires introducing a toolchain.
- Distinctive: line 26
Treat resource wording and URLs as content.
- Very specific: line 27
Add new resource categories as semantic <details> elements under #resources, with a <summary> followed by existing list/heading patterns.
- Very specific: line 28
When adding a category to the sticky navigation, add a unique ID to its <details> element and use that exact ID in the navigation link.
- Very specific: line 29
Use the existing --cp-* custom properties for colors.
- Very specific: line 31
Keep JavaScript framework-free and scoped to existing stable selectors such as #searchInput, #theme-toggle, .nav-strip, and #resources …
- Distinctive: line 32
Do not edit minified vendor files or webfont assets for site behavior changes.
- Distinctive: line 37
Always update CHANGELOG.md with additions/removals from the sites.
≈ “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.
Files
Power Platform Resources repository instructions
Development commands
This is a dependency-free static site with no configured build, test, or lint scripts.
- Preview locally from the repository root:
python -m http.server 8000 - Open
http://localhost:8000/. - Check JavaScript syntax after editing behavior:
node --check assets\js\main.js - Check patch whitespace before finishing:
git diff --check
There is no automated test suite or single-test command. Validate changes in a browser at desktop and mobile widths, including both color themes, search filtering, sticky navigation links, and expanding/collapsing resource sections.
Architecture
index.htmlis the entire application shell and content source. It contains the hero, search input, sticky category navigation, all resource links, expandable<details>sections, and footer.assets/css/main.cssis the stylesheet loaded by the page. It defines the light/dark theme tokens, Power Platform purple-to-blue presentation, responsive layout, navigation, cards, and footer.assets/js/main.jsis a small vanilla JavaScript enhancement layer. It togglesdata-theme, filters#resources detailsby their text content, opens matching sections, opens a section before navigating to its anchor, and removes the preload class.- Theme initialization is intentionally inline near the top of
index.htmlso the correct theme is applied before CSS renders. It honors theclawpilotThemequery parameter, then falls back to the operating-system preference. - Sticky navigation links and resource cards are coupled by fragment identifiers: every
.nav-strip a[href="#..."]must point to the matching<details id="...">. assets/sass/and the bundled jQuery/template scripts are retained from the original Pixelarity theme, but no Sass compiler, package manifest, or runtime references are configured for them. The deployed page currently loads onlyassets/css/main.cssandassets/js/main.js.
Repository conventions
- Keep the site dependency-free unless a task explicitly requires introducing a toolchain.
- Treat resource wording and URLs as content. Do not rewrite, reorganize, add, or remove them when a request is limited to presentation.
- Add new resource categories as semantic
<details>elements under#resources, with a<summary>followed by existing list/heading patterns. - When adding a category to the sticky navigation, add a unique ID to its
<details>element and use that exact ID in the navigation link. - Use the existing
--cp-*custom properties for colors. Define theme-specific values in both:rootandhtml[data-theme="dark"]; avoid component-level hardcoded colors. - Preserve accessibility behavior: controls need labels, decorative SVGs use
aria-hidden="true", keyboard focus remains visible, and external links opened in a new tab userel="noopener". - Keep JavaScript framework-free and scoped to existing stable selectors such as
#searchInput,#theme-toggle,.nav-strip, and#resources details. - Do not edit minified vendor files or webfont assets for site behavior changes.
- Preserve the Microsoft contribution, trademark, security-reporting, and code-of-conduct language in the repository root documents.
Track Changes
Always update CHANGELOG.md with additions/removals from the sites. Follow the Keep a Changelog convention at https://keepachangelog.com/en/1.0.0/. When updating CHANGELOG.md, make sure there is a newline between the header and the paragraph text.
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.

