RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Copilot instructions/iloveitaly/llm-ide-rules

Copilot instructions

.github/copilot-instructions.md
Copilot instructions

Quality

92/100

Scores the file, not the repository.

Length

714 words

2 headings · 2 code blocks

Repository

13

— · pushed 33 days ago

Last changed

3 days ago

First indexed 3 days ago.
iloveitaly/llm-ide-rules/.github/copilot-instructions.mdRawGitHub
1 
2Coding instructions for all programming languages:
3 
4- Never use emojis anywhere unless explicitly requested.
5- If no language is specified, assume the latest version of python.
6- If tokens or other secrets are needed, pull them from an environment variable
7- Prefer early returns over nested if statements.
8- Prefer `continue` within a loop vs nested if statements.
9- Prefer smaller functions over larger functions. Break up logic into smaller chunks with well-named functions.
10- Prefer constants with separators: `10_000` is preferred to `10000` (or `10_00` over `1000` in the case of a integer representing cents).
11- Only add comments if the code is not self-explanatory. Do not add obvious comments.
12- Do not remove existing comments.
13- Do not capitalize or add periods at the end of single-line comments.
14- When I ask you to write code, prioritize simplicity and legibility over covering all edge cases, handling all errors, etc.
15- When a particular need can be met with a mature, reasonably adopted and maintained package, I would prefer to use that package rather than engineering my own solution.
16- Never add error handling to catch an error without being asked to do so. Fail hard and early with assertions and allow exceptions to propagate.
17- When naming variables or functions, use names that describe the effect. For example, instead of `function handleClaimFreeTicket` (a function which opens a dialog box) use `function openClaimFreeTicketDialog`.
18- Do not install missing system packages! Instead, ask me to install them for you.
19- If terminal commands are failing because of missing variables or commands which are unrelated to your current task, stop your work and let me know.
20- Don't worry about fixing lint errors or running lint scripts unless I specifically ask you to.
21- When implementing workarounds for tooling limitations (like using `Any` for unresolvable types) or handling non-obvious edge cases, always add a brief inline comment explaining the technical reasoning.
22- Reserve exact-width `#`-box section separators for long files requiring organization, though they should not be necessary in the large majority of cases (separate files is generally better).
23 
24Use line breaks to organize code into logical groups. Instead of:
25 
26```python
27if not client_secret_id:
28 raise HTTPException(status.HTTP_400_BAD_REQUEST)
29session_id = client_secret_id.split("_secret")[0]
30```
31 
32Prefer:
33 
34```python
35if not client_secret_id:
36 raise HTTPException(status.HTTP_400_BAD_REQUEST)
37 
38session_id = client_secret_id.split("_secret")[0]
39```
40 
41**DO NOT FORGET**: keep your responses short, dense, and without fluff. I am a senior, well-educated software engineer, and hate long explanations.
42 
43### Add Comments for Expert Engineer with Limited Domain Knowledge
44 
45The engineer reading your code is a world-class software engineer, but is not familiar with the internals of every system. Include concise one-line comments explaining key hooks, API usage, blocks of logic, etc., to help the reader quickly understand the code you've written.
46 
47In other words, embed the business requirements as comments in the code when the code does not self-document.
48 
49### Important Workflow Rules
50 
51Pay careful attention to these instructions when running tests, generating database migrations, or otherwise figuring out how to operate this project:
52 
53- Run `just` to understand the more important workflow commands.
54 - Run `just --list` to see all available pre-written workflow development commands.
55- **IMPORTANT:** Never manually set environment variables that are required. You can set optional variables for debugging, but any missing required environment variables is an error that should be reported and you should stop your work immediately.
56- **NEVER** git commit changes. Always let me run any git commands which are not read-only.
57- Do not worry about cleaning up the environment. This is done automatically.
58- Run python code with `uv run python`
59- Use `pytest` to run tests. If tests fail because of a configuration, environment, or system error: let me know and stop working.
60 - Initially run `pytest --ignore=tests/integration` then only run `pytest tests/integration`
61 - When debugging integration tests look at `$PLAYWRIGHT_RESULT_DIRECTORY`. There's a directory for each test failure. In that directory you fill find a `failure.html` containing the rendered DOM of the page on failure and a screenshot of the contents. Use these to debug why it failed.
62- Do not attempt to create or run database migrations. Pause your work and let me know you need a migration run.
63 - If you receive errors about missing migrations, missing tables, database connectivity, etc, stop your work and let me know.
64 

Commands it names

  • just
  • just --list
  • uv run python
  • pytest
  • pytest --ignore=tests/integration
  • pytest tests/integration

Sections

  • Add Comments for Expert Engineer with Limited Domain Knowledge
  • Important Workflow Rules

What it covers

testcode-styledo-notagent-behaviourdocs

Stack — with the evidence

python

(1.00)

pytest

(0.95)

ruff

(0.70)

github-actions

(0.60)

Format

Copilot instructions

Two layers: one always-on repo file, plus optional glob-scoped instruction files. Lives under .github/ rather than the repo root, which is the tell that it is aimed at the GitHub platform surface as much as the editor.

What the corpus says about it

Repository

Owner
iloveitaly
Language
—
License
—
Archived
no

All configs in this repo

Also in iloveitaly/llm-ide-rules

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
iloveitaly/llm-ide-rules.cursor/rules/python.mdc · 13Cursor rulespythonpytest+2setupstyletypesdo-not88/1003 days ago
iloveitaly/llm-ide-rules.cursor/rules/alembic-migrations.mdc · 13Cursor rulespythonpytest+2no sections50/1003 days ago
iloveitaly/llm-ide-rules.cursor/rules/fastapi.mdc · 13Cursor rulespythonpytest+2no sections24/1003 days ago
iloveitaly/llm-ide-rules.cursor/rules/general.mdc · 13Cursor rulespythonpytest+2teststyledo-notagent-behaviour+192/1003 days ago
iloveitaly/llm-ide-rules.cursor/rules/justfiles.mdc · 13Cursor rulespythonpytest+2do-not31/1003 days ago
iloveitaly/llm-ide-rules.cursor/rules/pytest-integration-tests.mdc · 13Cursor rulespythonpytest+2teststyletesting-strategy73/1003 days ago
iloveitaly/llm-ide-rules.cursor/rules/pytest-tests.mdc · 13Cursor rulespythonpytest+2testarchtesting-strategyapi+161/1003 days ago
iloveitaly/llm-ide-rules.cursor/rules/python-app.mdc · 13Cursor rulespythonpytest+2styledatabasedocs61/1003 days ago
iloveitaly/llm-ide-rules.cursor/rules/python-route-tests.mdc · 13Cursor rulespythonpytest+2api24/1003 days ago
iloveitaly/llm-ide-rules.cursor/rules/react-router.mdc · 13Cursor rulespythonpytest+2testing-strategy57/1003 days ago
iloveitaly/llm-ide-rules.cursor/rules/react.mdc · 13Cursor rulespythonpytest+2styletesting-strategyuido-not60/1003 days ago
iloveitaly/llm-ide-rules.cursor/rules/shell.mdc · 13Cursor rulespythonpytest+2no sections4/1003 days ago
iloveitaly/llm-ide-rules.cursor/rules/typescript.mdc · 13Cursor rulespythonpytest+2styletypessecurity63/1003 days ago
iloveitaly/llm-ide-rules.github/instructions/alembic-migrations.instructions.md · 13Copilot instructionspythonpytest+2no sections50/1003 days ago
iloveitaly/llm-ide-rules.github/instructions/fastapi.instructions.md · 13Copilot instructionspythonpytest+2no sections16/1003 days ago
iloveitaly/llm-ide-rules.github/instructions/justfiles.instructions.md · 13Copilot instructionspythonpytest+2do-not31/1003 days ago
iloveitaly/llm-ide-rules.github/instructions/pytest-integration-tests.instructions.md · 13Copilot instructionspythonpytest+2teststyletesting-strategy65/1003 days ago
iloveitaly/llm-ide-rules.github/instructions/pytest-tests.instructions.md · 13Copilot instructionspythonpytest+2testarchtesting-strategyapi+153/1003 days ago
iloveitaly/llm-ide-rules.github/instructions/python-app.instructions.md · 13Copilot instructionspythonpytest+2styledatabasedocs61/1003 days ago
iloveitaly/llm-ide-rules.github/instructions/python-route-tests.instructions.md · 13Copilot instructionspythonpytest+2api16/1003 days ago
Diff against .cursor/rules/python.mdc Diff against .cursor/rules/alembic-migrations.mdc Diff against .cursor/rules/fastapi.mdc Diff against .cursor/rules/general.mdc Diff against .cursor/rules/justfiles.mdc Diff against .cursor/rules/pytest-integration-tests.mdc Diff against .cursor/rules/pytest-tests.mdc Diff against .cursor/rules/python-app.mdc Diff against .cursor/rules/python-route-tests.mdc Diff against .cursor/rules/react-router.mdc Diff against .cursor/rules/react.mdc Diff against .cursor/rules/shell.mdc Diff against .cursor/rules/typescript.mdc Diff against .github/instructions/alembic-migrations.instructions.md Diff against .github/instructions/fastapi.instructions.md Diff against .github/instructions/justfiles.instructions.md Diff against .github/instructions/pytest-integration-tests.instructions.md Diff against .github/instructions/pytest-tests.instructions.md Diff against .github/instructions/python-app.instructions.md Diff against .github/instructions/python-route-tests.instructions.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
pytorch/pytorch.github/copilot-instructions.md · 102kCopilot instructionspythonpytorch+4setupbuildteststyle+5100/1003 days ago
hiyouga/LlamaFactory.github/copilot-instructions.md · 74kCopilot instructionspythontransformers+4setupbuildtestlint-format+597/1002 days ago
darkmatter/nixmac.github/copilot-instructions.md · 24Copilot instructionstypescriptrust+14setupbuildtestlint-format+896/1003 days ago
bytedance/deer-flow.github/copilot-instructions.md · 79kCopilot instructionstypescriptpython+15setupbuildtestlint-format+689/1003 days ago
iloveitaly/llm-ide-rules.github/instructions/python.instructions.md · 13Copilot instructionspythonpytest+2setupstyletypesdo-not88/1003 days ago
Significant-Gravitas/AutoGPT.github/copilot-instructions.md · 186kCopilot instructionspythonnode+19setupbuildtestlint-format+1088/1003 days ago
u9401066/nsforge-mcp.github/copilot-instructions.md · 4Copilot instructionspythonpytest+2setuptestlint-formatgit+285/1003 days ago
dotCMS/core.github/copilot-instructions.md · 950Copilot instructionsjavanode+10setupbuildtestlint-format+1184/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack