agentleFS
MicrosoftKnown publishermicrosoft/power-platform-resources/.github/copilot-instructions.md

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
  1. Very specific:

    Check JavaScript syntax after editing behavior: node --check assets\js\main.js

    line 9
  2. Distinctive:

    Check patch whitespace before finishing: git diff --check

    line 10
  3. Distinctive:

    Keep the site dependency-free unless a task explicitly requires introducing a toolchain.

    line 25
  4. Distinctive:

    Treat resource wording and URLs as content.

    line 26
  5. Very specific:

    Add new resource categories as semantic <details> elements under #resources, with a <summary> followed by existing list/heading patterns.

    line 27
  6. Very specific:

    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.

    line 28
  7. Very specific:

    Use the existing --cp-* custom properties for colors.

    line 29
  8. Very specific:

    Keep JavaScript framework-free and scoped to existing stable selectors such as #searchInput, #theme-toggle, .nav-strip, and #resources …

    line 31
  9. Distinctive:

    Do not edit minified vendor files or webfont assets for site behavior changes.

    line 32
  10. Distinctive:

    Always update CHANGELOG.md with additions/removals from the sites.

    line 37

≈ “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

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.html is 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.css is 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.js is a small vanilla JavaScript enhancement layer. It toggles data-theme, filters #resources details by 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.html so the correct theme is applied before CSS renders. It honors the clawpilotTheme query 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 only assets/css/main.css and assets/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 :root and html[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 use rel="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.

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.