agentleFS
SoFarSoGoodyaSoFarSoGoodya/math-history-paper/.github/copilot-instructions.md

math-history-paper

Copilot instructions19 starsChanged 8 months agoMITView on GitHub

This repository contains a LaTeX academic paper for the Tsinghua course History of Mathematics (数学史). When drafting any \subsubsection{...} that currently contains “To Finish”: For this repository, use the following default online research route: Operational constraints: If you are asked to verify the document builds, compile with XeLaTeX + biber (LaTeX Workshop recipe is fine). A typical sequence is: Do not change the build toolchain unless necessary.

The file

Show its rules and text

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

17 rules. About 0 are common, 4 are distinctive, and 13 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 13

    Very specific

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

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

    If a claim needs a source and you don’t have one, leave a TODO note or ask for a source.

    line 15
  2. Very specific:

    When drafting any \subsubsection{...} that currently contains “To Finish”:

    line 21
  3. Very specific:

    Use 大一/正文/MathHistoryPaper/research/claim-ledger.md to track:

    line 27
  4. Very specific:

    Use #websearch / @websearch in VS Code to discover candidate sources.

    line 36
  5. Very specific:

    Use fetch MCP to retrieve full content from selected URLs and recursively collect relevant linked pages.

    line 38
  6. Very specific:

    Use openalex-database to verify scholarly metadata (DOI, author/work metadata, citation context).

    line 39
  7. Very specific:

    Use citation-management to normalize and validate BibTeX entries before adding them to references.bib.

    line 40
  8. Distinctive:

    Do not cite search snippets.

    line 44
  9. Very specific:

    If a factual claim still lacks a verifiable source, leave a TODO instead of guessing.

    line 45
  10. Very specific:

    Use web-access only as a fallback when static retrieval fails (login-gated pages, dynamic rendering, required interaction).

    line 47
  11. Very specific:

    Use cleveref (\cref{...}) for cross-references.

    line 53
  12. Very specific:

    Use \textit{} for book titles.

    line 54
  13. Distinctive:

    Keep diagrams vector-based when possible (TikZ/PGFPlots).

    line 55
  14. Very specific:

    Add sources to references.bib and cite them with \cite{Key}.

    line 59
  15. Very specific:

    Use page pinpoint citations when possible: \cite[pp.~123--125]{Key}.

    line 60
  16. Distinctive:

    If you are asked to verify the document builds, compile with XeLaTeX + biber (LaTeX Workshop recipe is fine).

    line 65
  17. Distinctive:

    Do not change the build toolchain unless necessary.

    line 69

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

Math History Paper (LaTeX) — Copilot Instructions

This repository contains a LaTeX academic paper for the Tsinghua course History of Mathematics (数学史).

What you are editing

  • The main entry file is 大一/正文/MathHistoryPaper/main.tex.
  • The body is modularized via \input{sections/.../section}.
  • Bibliography is managed with biblatex + biber and stored in 大一/正文/MathHistoryPaper/references.bib.

Non-negotiable content rules

  1. Main text must be in English (the cover page is bilingual/Chinese; keep it as-is).
  2. Do not fabricate citations or quotes.
    • If a claim needs a source and you don’t have one, leave a TODO note or ask for a source.
  3. Cite every factual claim (dates, attributions, “firsts”, definitions, historical narratives, numerical values).
  4. Course requirements (summary): 50 pages total (cover excluded), page numbers, PDF, and at least 5 references with a healthy mix of primary sources and reliable secondary research.

Research workflow expectations

When drafting any \subsubsection{...} that currently contains “To Finish”:

  • Gather at least 2 independent sources for key facts.
  • Prefer:
    • primary sources (original texts / translations / original papers), and
    • scholarly secondary sources (books, peer‑reviewed articles).
  • Use 大一/正文/MathHistoryPaper/research/claim-ledger.md to track:
    • the claim,
    • the source(s),
    • and the BibTeX key(s) you used.

Final networking/search policy (synchronized)

For this repository, use the following default online research route:

  1. Use #websearch / @websearch in VS Code to discover candidate sources.
    • In the current VS Code extension path, this route is Tavily-backed and requires a Tavily API key.
  2. Use fetch MCP to retrieve full content from selected URLs and recursively collect relevant linked pages.
  3. Use openalex-database to verify scholarly metadata (DOI, author/work metadata, citation context).
  4. Use citation-management to normalize and validate BibTeX entries before adding them to references.bib.

Operational constraints:

  • Do not cite search snippets. Cite original sources only.
  • If a factual claim still lacks a verifiable source, leave a TODO instead of guessing.
  • GitHub account-level Copilot web search policy may reference Bing. Treat that as platform policy context, not this repository's default operational route unless explicitly switched.
  • Use web-access only as a fallback when static retrieval fails (login-gated pages, dynamic rendering, required interaction).
  • For this project, web-access is sufficient for practical browser interaction needs; dedicated Playwright MCP tooling is optional and only needed for broader automated E2E/testing workflows.

LaTeX conventions

  • Preserve the existing structure and formatting choices (margin, spacing, ctex cover page, etc.).
  • Use cleveref (\cref{...}) for cross-references.
  • Use \textit{} for book titles.
  • Keep diagrams vector-based when possible (TikZ/PGFPlots). For external images, ensure licensing is compatible and cite the source.

Citations & bibliography

  • Add sources to references.bib and cite them with \cite{Key}.
  • Use page pinpoint citations when possible: \cite[pp.~123--125]{Key}.
  • For websites, use @online with url and urldate.

How to validate changes

If you are asked to verify the document builds, compile with XeLaTeX + biber (LaTeX Workshop recipe is fine). A typical sequence is:

  • XeLaTeX → Biber → XeLaTeX → XeLaTeX

Do not change the build toolchain unless necessary.

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.