agentleFS
MicrosoftKnown publishermicrosoft/pxt/.github/copilot-instructions.md

pxt

Copilot instructions2.3k starsChanged 15 months agoMITView on GitHub

Trending

Quiet since May.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 1 mentionJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/pxt repository that our weekly crawl found: only 5 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    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. Distinctive:

    Follow TypeScript strict mode conventions

    line 5
  2. Distinctive:

    Use semantic versioning for all packages

    line 6
  3. Distinctive:

    Write clear, self-documenting code with JSDoc comments

    line 8
  4. Distinctive:

    Follow the existing code style and patterns in each component

    line 9
  5. Distinctive:

    Always include proper type annotations

    line 21
  6. Very specific:

    Use export statements for public APIs

    line 22
  7. Very specific:

    Prefer const over let where possible

    line 23
  8. Distinctive:

    Use arrow functions for callbacks and short functions

    line 24
  9. Distinctive:

    Write unit tests for new functionality

    line 29
  10. Distinctive:

    Test simulator features across different browsers

    line 31
  11. Distinctive:

    Update relevant README files when adding features

    line 36
  12. Distinctive:

    Document breaking changes in commit messages

    line 38

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

PXT Framework Development Instructions

General Guidelines

  • Follow TypeScript strict mode conventions
  • Use semantic versioning for all packages
  • Maintain backward compatibility when possible
  • Write clear, self-documenting code with JSDoc comments
  • Follow the existing code style and patterns in each component

Architecture Principles

  • The PXT framework follows a modular architecture with clear separation between:
    • Core framework (pxtlib/, pxtcompiler/)
    • Web application (webapp/)
    • Simulator (pxtsim/)
    • Target implementations (pxt-microbit/, pxt-common-packages/)

Code Generation Standards

  • Always include proper type annotations
  • Use export statements for public APIs
  • Prefer const over let where possible
  • Use arrow functions for callbacks and short functions
  • Include error handling for async operations

Testing Requirements

  • Write unit tests for new functionality
  • Include accessibility tests for UI components
  • Test simulator features across different browsers
  • Validate TypeScript compilation without errors

Documentation

  • Update relevant README files when adding features
  • Include inline documentation for complex algorithms
  • Document breaking changes in commit messages
  • Provide examples for new API functions

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.