agentleFS
GitHubKnown publishergithub/travel-reservation-models/.github/copilot-instructions.md

travel-reservation-models

Copilot instructions16 starsChanged 20 months agoMITView on GitHub

  • Reads credentials

The file

Show its rules and text

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

19 rules. About 0 are common, 18 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈18

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When asked to fix code, first explain the problems found.

    line 2
  2. Distinctive:

    When asked to generate tests, first explain what tests will be created.

    line 3
  3. Distinctive:

    When making multiple changes, provide a step-by-step overview first.

    line 4
  4. Distinctive:

    Check the code for vulnerabilities after generating.

    line 7
  5. Distinctive:

    Avoid hardcoding sensitive information like credentials or API keys.

    line 8
  6. Distinctive:

    Use secure coding practices and validate all inputs.

    line 9
  7. Distinctive:

    If a .env file exists, use it for local environment variables

    line 12
  8. Distinctive:

    Document any new environment variables in README.md

    line 13
  9. Distinctive:

    Keep commits atomic and focused on single changes

    line 17
  10. Distinctive:

    Follow conventional commit message format

    line 18
  11. Distinctive:

    Update .gitignore for new build artifacts or dependencies

    line 19
  12. Distinctive:

    Follow existing project code style and conventions

    line 22
  13. Distinctive:

    Add type hints and docstrings for all new functions

    line 23
  14. Distinctive:

    Follow semantic versioning guidelines

    line 28
  15. Distinctive:

    Add integration tests for API endpoints

    line 34
  16. Distinctive:

    Always use a Python3 virtual environment: if no venv exists, create one and activate

    line 37
  17. Very specific:

    Never use flask run, use python3 -m flask run instead

    line 38
  18. Distinctive:

    Always use and update a requirements.txt file for Python modules

    line 39
  19. Distinctive:

    Follow PEP 8 style guidelines

    line 40

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

Operator Interaction

  • When asked to fix code, first explain the problems found.
  • When asked to generate tests, first explain what tests will be created.
  • When making multiple changes, provide a step-by-step overview first.

Security

  • Check the code for vulnerabilities after generating.
  • Avoid hardcoding sensitive information like credentials or API keys.
  • Use secure coding practices and validate all inputs.

Environment Variables

  • If a .env file exists, use it for local environment variables
  • Document any new environment variables in README.md
  • Provide example values in .env.example

Version Control

  • Keep commits atomic and focused on single changes
  • Follow conventional commit message format
  • Update .gitignore for new build artifacts or dependencies

Code Style

  • Follow existing project code style and conventions
  • Add type hints and docstrings for all new functions
  • Include comments for complex logic

Change Logging

  • Each time you generate code, note the changes in changelog.md
  • Follow semantic versioning guidelines
  • Include date and description of changes

Testing Requirements

  • Include unit tests for new functionality
  • Maintain minimum 80% code coverage
  • Add integration tests for API endpoints

For Python Projects Only

  • Always use a Python3 virtual environment: if no venv exists, create one and activate
  • Never use flask run, use python3 -m flask run instead
  • Always use and update a requirements.txt file for Python modules
  • Follow PEP 8 style guidelines
  • Include type hints (PEP 484)

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.