P.808
Copilot instructions231 starsChanged 6 months agoMITView on GitHub
Every function must include a docstring inside the function body, immediately after the def line. Use the following format: Every function must have a JSDoc comment above the function declaration: Follow PEP 8 conventions: All files in this repository must use CRLF (\r\n) line endings, not LF (\n). Configure your editor and Git accordingly: Or use a .gitattributes file: This repository provides custom agents in .github/agents/. Use /agent in Copilot CLI to browse and select them, or reference them by…
The file
We split this copilot-instructions.md into the rules it gives an agent
10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Every function must include a docstring inside the function body, immediately after the def line.
- Distinctive: line 26
Every function must have a JSDoc comment above the function declaration:
- Distinctive: line 45
Use 4 spaces per indentation level.
- Very specific: line 48
Use spaces around operators (=, +=, ==, !=, <, >, in, not in, etc.).
- Distinctive: line 53
Place one space after commas in argument lists, collections, and imports.
- Distinctive: line 55
Keep lines to a maximum of 120 characters.
- Very specific: line 56
Use snake_case for functions and variables, PascalCase for classes, and UPPER_SNAKE_CASE for constants.
- Very specific: line 64
All files in this repository must use CRLF (\r\n) line endings, not LF (\n).
- Distinctive: line 79
Python and JavaScript source files: use spaces (4 spaces per level).
- Distinctive: line 80
Markdown files: use tabs (1 tab per level).
≈ “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.
Files
Copilot Instructions
Code Style and Formatting
Function Documentation
Python
Every function must include a docstring inside the function body, immediately after the
def line. Use the following format:
def calculate_mos(ratings, num_subjects):
"""
Calculate the Mean Opinion Score from a list of ratings.
:param ratings: List of numeric ratings.
:param num_subjects: Number of subjects who provided ratings.
:return: The computed MOS value as a float.
"""
...JavaScript
Every function must have a JSDoc comment above the function declaration:
/**
* Calculate the Mean Opinion Score from a list of ratings.
*
* @param {number[]} ratings - List of numeric ratings.
* @param {number} numSubjects - Number of subjects who provided ratings.
* @returns {number} The computed MOS value.
*/
function calculateMos(ratings, numSubjects) {
...
}Python Spacing and Syntax
Follow PEP 8 conventions:
- Use 4 spaces per indentation level. Do not use tabs.
- Surround top-level function and class definitions with two blank lines.
- Surround method definitions inside a class with one blank line.
- Use spaces around operators (
=,+=,==,!=,<,>,in,not in, etc.). - No spaces immediately inside parentheses, brackets, or braces:
- ✅
func(a, b)— ❌func( a, b ) - ✅
data[0]— ❌data[ 0 ] - ✅
{'key': value}— ❌{ 'key' : value }
- ✅
- Place one space after commas in argument lists, collections, and imports.
- No trailing whitespace on any line.
- Keep lines to a maximum of 120 characters.
- Use snake_case for functions and variables, PascalCase for classes, and UPPER_SNAKE_CASE for constants.
- Imports should be grouped in the following order, separated by a blank line:
- Standard library imports
- Third-party imports
- Local / project imports
Line Endings
All files in this repository must use CRLF (\r\n) line endings, not LF (\n).
Configure your editor and Git accordingly:
git config core.autocrlf trueOr use a .gitattributes file:
* text=auto eol=crlfIndentation
- Python and JavaScript source files: use spaces (4 spaces per level).
- Markdown files: use tabs (1 tab per level).
Custom Agents
This repository provides custom agents in .github/agents/. Use /agent in Copilot CLI
to browse and select them, or reference them by name in a prompt.
| Agent | Purpose | Example prompts |
create-study | Create subjective speech quality tests (ACR, DCR, CCR, P.835, P.804) | "create a study", "run a P.804 test", "set up a P.835 study" |
analyze-results | Analyze crowdsourced test results — data cleaning, MOS aggregation | "analyze results", "parse results", "evaluate the study" |
See AGENTS.md for full details and trigger phrases.
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
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.

