gencc-link
AGENTS.md0 starsChanged 5 months agoMITView on GitHub
Shared repository instructions for agentic coding tools working in GenCC-Link. GenCC-Link is a Python FastAPI + MCP server that grounds gene-disease validity questions in the Gene Curation Coalition (GenCC) dataset. GenCC harmonizes curated gene-disease assertions (Definitive ... Refuted) from member organizations (ClinGen, Genomics England PanelApp, Orphanet, Ambry, Invitae, Illumina, and others). GenCC has no live API yet, so the server downloads the bulk submissions export and serves it from a local SQLite + FTS5 database; the analytical value-add is per-pair…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository10 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ci-failure-triageSkill
- code-quality-reviewSkill
- data-schema-changeSkill
- dependency-cve-sweepSkill
- fastapi-route-changeSkill
- fleet-standard-adoptionSkill
- mcp-tool-changeSkill
- release-readinessSkill
- security-reviewSkill
The file
We split this AGENTS.md into the rules it gives an agent
12 rules. About 0 are common, 7 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
Use this file for shared repo-wide agent guidance.
- Distinctive: line 31
Keep CLAUDE.md lean and Claude-specific.
- Very specific: line 32
Prefer Makefile targets over ad hoc commands.
- Very specific: line 33
Use uv.lock as the dependency lock source of truth.
- Distinctive: line 39
Do not revert or overwrite changes you did not make unless explicitly asked.
- Distinctive: line 40
Keep edits scoped to the task and avoid unrelated refactors.
- Distinctive: line 41
Prefer existing code patterns over new abstractions.
- Very specific: line 42
Put tests under tests/; do not create alternate test roots.
- Distinctive: line 43
Use ASCII unless a file already requires non-ASCII content.
- Distinctive: line 44
Keep public hosted MCP tools read-only and research-use scoped.
- Very specific: line 67
Use uv for dependency management.
- Very specific: line 68
Use modern Python typing: list[str], dict[str, int], str | None.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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
AGENTS.md
Shared repository instructions for agentic coding tools working in GenCC-Link.
Project
GenCC-Link is a Python FastAPI + MCP server that grounds gene-disease validity questions in the Gene Curation Coalition (GenCC) dataset. GenCC harmonizes curated gene-disease assertions (Definitive ... Refuted) from member organizations (ClinGen, Genomics England PanelApp, Orphanet, Ambry, Invitae, Illumina, and others). GenCC has no live API yet, so the server downloads the bulk submissions export and serves it from a local SQLite + FTS5 database; the analytical value-add is per-pair consensus and conflict detection across submitters.
Primary areas:
gencc_link/- Python package: config, models, data store, services, MCP codeingest/- download + parse + build the SQLite databasedata/- schema.sql, read-only repository, repository Protocol (base.py)services/- consensus aggregation, response shaping, orchestrationmcp/- facade, tools, capabilities, envelope, next_commands, resources
tests/- unit and integration tests; fixtures undertests/fixtures/docker/- Dockerfile and Compose deployment filesdocs/- architecture, usage, and design specs (docs/superpowers/).claude/skills/- repo-local Claude Code workflows for recurring tasks
Source Of Truth
- Use this file for shared repo-wide agent guidance.
- Keep
CLAUDE.mdlean and Claude-specific; it should reference this file. - Prefer
Makefiletargets over ad hoc commands. - Use
uv.lockas the dependency lock source of truth. - The GenCC export schema and classification ranks live in
gencc_link/constants.py; the SQLite schema ingencc_link/data/schema.sql.
Working Rules
- Do not revert or overwrite changes you did not make unless explicitly asked.
- Keep edits scoped to the task and avoid unrelated refactors.
- Prefer existing code patterns over new abstractions.
- Put tests under
tests/; do not create alternate test roots. - Use ASCII unless a file already requires non-ASCII content.
- Keep public hosted MCP tools read-only and research-use scoped.
- Respect the GenCC download quota (20/IP/day): use HEAD + conditional requests (ETag / Last-Modified); never poll the full export in a loop.
Commands
Required check before claiming completion:
make ci-local
Useful focused commands:
make install/make lockmake format/make lint/make lint-fix/make lint-locmake typecheck/make typecheck-fastmake test/make test-fast/make test-unit/make test-integrationmake test-covmake data/make data-refresh/make data-infomake dev/make mcp-servemake docker-build/make docker-up/make docker-down
Coding Standards
- Use
uvfor dependency management; do not use directpipinstalls. - Use modern Python typing:
list[str],dict[str, int],str | None. - Format and lint Python with Ruff (100-char line length).
- Type check with mypy targeting Python 3.12 (strict mode).
- Cover services and the repository with unit tests built from
tests/fixtures/sample.tsv; userespxto mock the GenCC download in tests.
File Size Discipline
Hard cap: 600 lines per Python module in gencc_link/, server.py, and
mcp_server.py. Enforced by make lint-loc, wired into make ci-local. Tests
are exempt. When a file approaches 500 lines, plan a cohesive split before
adding more behavior. Grandfather only via .loc-allowlist.
Testing Notes
make testis the fast default (excludes integration).make test-fastruns in parallel via pytest-xdist.make test-covruns coverage; gate is 85%.- Integration tests hit the live GenCC endpoint; run them sparingly.
GenCC Domain Notes
- Download (new format):
https://thegencc.org/download/action/submissions-export-tsv?format=new - Updated weekly; CC0 1.0 data (attribution requested); no OMIM disease text.
- Identifiers: gene = HGNC CURIE (HGNC:10896) / symbol; disease = MONDO CURIE.
- Classification ranks (strong -> weak): Definitive, Strong, Moderate, Supportive, Limited, Disputed Evidence, Refuted Evidence, Animal Model Only, No Known Disease Relationship. A pair has a conflict when supporting (Definitive/Strong/ Moderate) and against (Disputed/Refuted/No Known Disease Relationship) coexist.
- Standard test data: gene SKI / disease MONDO:0008426 (Shprintzen-Goldberg).
- Research use only; not for clinical decision support.
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.

