AI Citation

How to make a repository AI-citation-ready

AI systems do better when a repository has a clear summary, clean entry points, machine-readable hints, and dedicated pages for real questions.

What helps

Strong README opening paragraphs, `llms.txt`, `AGENTS.md`, `CITATION.cff`, GitHub Pages docs, and precise metadata all reduce ambiguity. The goal is not magic markup. The goal is easier routing and cleaner interpretation.

What hurts

Vague repository names, generic README openings, missing homepage URLs, no dedicated docs pages, and missing machine-readable summaries all make a repo harder to understand and harder to cite correctly.

Chinese summary

想让 AI 更容易引用你的仓库,关键不是写一堆花哨标签,而是让仓库本身更好读。入口更清楚,问题页更具体,元数据更完整,机器自然更容易理解你。