agentleFS
MicrosoftKnown publishermicrosoft/vscode-pull-request-github/.github/copilot-instructions.md

vscode-pull-request-github

Copilot instructions2.6k starsChanged 5 months agoMITView on GitHub

Trending

Quiet since June.about the whole repository

Dec 2025: 1 mentionJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 1 mentionJul 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/vscode-pull-request-github repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/vscode-pull-request-github

The biggest 5 of 16 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 16

Talked about on GitHub, Hacker News and Bluesky (16 times).

On GitHub · 10

5 more on GitHub

The file

Show its rules and text

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

15 rules. About 0 are common, 5 are distinctive, and 10 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.

  • 10

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Follow the existing code style: Use single quotes, semicolons, and 2-space indentation.

    line 2
  2. Distinctive:

    TypeScript: Use modern TypeScript features.

    line 3
  3. Very specific:

    Testing: Place tests under src/test.

    line 6
  4. Very specific:

    Localization: Use %key% syntax for strings that require localization.

    line 7
  5. Distinctive:

    Regular Expressions: Use named capture groups for clarity when working with complex regex patterns.

    line 8
  6. Very specific:

    VS Code API: Use the official VS Code API for all extension points.

    line 11
  7. Very specific:

    Configuration: All user-facing settings must be declared in package.json under contributes.configuration.

    line 12
  8. Distinctive:

    Activation Events: Only add new activation events if absolutely necessary.

    line 13
  9. Very specific:

    Webviews: Place webview code in the webviews/ directory.

    line 14
  10. Very specific:

    Logging: Use the Logger utility for all logging purposes.

    line 16
  11. Distinctive:

    Test Running: Use tools over tasks over scripts to run tests.

    line 17
  12. Distinctive:

    Commands: When adding a new command, consider whether it should be available in the command palette, context menus, or both.

    line 20
  13. Very specific:

    Never touch the package-lock.json file.

    line 23
  14. Very specific:

    Run npm run lint and also npm run hygiene and fix any errors or warnings before committing.

    line 24
  15. Very specific:

    Use describe and it blocks from Mocha for structuring tests.

    line 27

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

General Guidelines

  • Follow the existing code style: Use single quotes, semicolons, and 2-space indentation. See .eslintrc.base.json for detailed linting rules.
  • TypeScript: Use modern TypeScript features. Prefer explicit types where clarity is needed, but do not over-annotate.
  • React/JSX: Webviews use React-style JSX with custom factories (vscpp, vscppf).
  • Strictness: Some strictness is disabled in tsconfig.base.json (e.g., strictNullChecks: false), but new code should avoid unsafe patterns.
  • Testing: Place tests under src/test. Do not include test code in production files.
  • Localization: Use %key% syntax for strings that require localization. See package.nls.json.
  • Regular Expressions: Use named capture groups for clarity when working with complex regex patterns.

Extension-Specific Practices

  • VS Code API: Use the official VS Code API for all extension points. Register commands, views, and menus via package.json.
  • Configuration: All user-facing settings must be declared in package.json under contributes.configuration.
  • Activation Events: Only add new activation events if absolutely necessary.
  • Webviews: Place webview code in the webviews/ directory. Use the shared common/ code where possible.
  • Commands: Register new commands in package.json and implement them in src/commands.ts or a relevant module.
  • Logging: Use the Logger utility for all logging purposes. Don't use console.log or similar methods directly.
  • Test Running: Use tools over tasks over scripts to run tests.

Specific Feature Practices

  • Commands: When adding a new command, consider whether it should be available in the command palette, context menus, or both. Add the appropriate menu entries in package.json to ensure the command is properly included, or excluded (command palette), from menus.

Pull Request Guidelines

  • Never touch the package-lock.json file.
  • Run npm run lint and also npm run hygiene and fix any errors or warnings before committing.

Testing

  • Use describe and it blocks from Mocha for structuring tests.
  • Tests MUST run product code.
  • Tests should be placed near the code they are testing, in a test folder. Name test fies with a .test.ts suffix.

Last updated: 2025-06-20

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.