arXiv:2610.21316cs.SEOct 2026

Manuscript Offprint

arXiv:2610.21316

When CONTRIBUTING Files Fall Short: Revising OSS Contribution Guidelines with Repository Evidence

Kai Zheng, XinGuo Zhou, Xin Tan

KAI ZHENG, Beihang University, China

XINGUO ZHOU, Beihang University, China

XIN TAN, Beihang University, China

Contribution guidelines help newcomers participate in open-source software projects, yet often contain incomplete or outdated information. Existing studies characterize newcomers' information needs and documentation gaps, but revising these guidelines requires recovering and validating project-specific knowledge from scattered sources. We present CONTRIBALIGN, a framework for automatically revising CONTRIBUTING files through category-guided evidence integration. A qualitative analysis yields a taxonomy of 30 fine-grained guidance types across six contribution categories. CONTRIBALIGN uses a classifier to diagnose coverage of the six categories in the original guidance, then uses the taxonomy to collect and organize project-specific evidence. It filters detected conflicts and uses a large language model to generate category-level revisions. The classifier achieves a weighted F1 score of 0.764, improving on the existing classifier by 0.156, while the verifier detects factual conflicts with 97.3% precision and 91.5% estimated recall. Human evaluation shows that CONTRIBALIGN achieves the highest overall quality among the original guidelines and three baselines, with significant improvements in usefulness, beginner-friendliness, and completeness. These results suggest that CONTRIBALIGN can help maintain more accurate and useful contribution guidelines.

Additional Key Words and Phrases: Contribution guidelines, Open-source software, Documentation maintenance, Large language models, Retrieval-augmented generation

1 Introduction

In open-source software (OSS) projects, CONTRIBUTING files communicate contribution guidance from maintainers to potential contributors [16, 17], covering task selection, community interaction, environment setup, code modification and testing, and change submission [12, 16, 34]. Complete, accurate, and understandable guidance can help newcomers navigate technical and social barriers to their first contributions and prepare well-formed submissions [18, 34, 35].

Despite their importance, existing CONTRIBUTING files often provide incomplete guidance and may contain outdated information. Prior research finds that 52% of the analyzed projects lack guidance addressing at least three of six categories of newcomer onboarding barriers, with common omissions involving task selection and community interaction [16, 35]. An analysis of the first versions of CONTRIBUTING files further reveals that they primarily describe contribution procedures, while offering limited guidance on community interaction [17]. Moreover, documentation in software projects can become outdated as development practices and project structures evolve. A large-scale analysis of more than 3,000 GitHub projects finds that most projects contain at least one outdated code-element reference during their history [36]. Consequently, existing CONTRIBUTING files may fail to provide sufficient guidance or accurately reflect the current state of OSS projects [12].

Keeping these files complete and current requires ongoing attention from maintainers, even when they are familiar with the underlying procedures. With competing development and review responsibilities, maintainers may overlook or postpone necessary updates [37][37]. This maintenance effort motivates automated support for improving onboarding documentation. Prior work has explored automatically identifying missing categories in contribution guidelines [16][16] and using large language models (LLMs) to simplify onboarding documentation to reduce information overload [1][1]. However, identifying omissions or simplifying existing text does not provide the information needed

Authors' Contact Information: Kai Zheng, Beihang University, Beijing, China, zhengkai@buaa.edu.cn; XinGuo Zhou, Beihang University, Beijing, China, zhouxinguo@buaa.edu.cn; Xin Tan, Beihang University, Beijing, China, xintan@buaa.edu.cn.

Kai Zheng, XinGuo Zhou, and Xin Tan

to fill gaps or correct inaccurate instructions. These revisions require project-specific evidence from sources such as repository documentation, configurations, and development activities.

Collecting and using this evidence presents two challenges. First, evidence collection must account for the different information needs within contribution guidance [21]. Environment setup instructions, for example, may be supported by project guides and configurations, whereas expectations for submitted changes may also be reflected in pull request reviews [39]. Broad retrieval queries may miss specific information needed to revise the guidance, while relying exclusively on documentation may overlook practices reflected in development activities. Second, repository documentation may contain claims that conflict with the current repository state [7]. References to paths, issue labels, or package scripts, for example, may become invalid as a project evolves. Identifying such conflicts before generation can reduce the propagation of outdated instructions, although not all contribution guidance can be verified automatically.

To address these challenges, we propose CONTRIBALIGN, a framework for automatically revising existing CONTRIBUTING files through category-guided evidence integration. CONTRIBALIGN follows four stages: document diagnosis, evidence collection, evidence verification, and category-wise generation and synthesis. Its key idea is to organize contribution guidance into categories, collect project-specific evidence across six categories, and filter detected factual conflicts before revision. First, CONTRIBALIGN uses an improved classifier based on prior work [16] to diagnose the coverage of existing guidance by assigning document content to six contribution categories and identifying uncovered categories. Second, it collects taxonomy-guided evidence from project documents and supplements it with direct repository evidence from configurations, collaboration activities, and execution records. Third, it checks selected repository-specific claims and filters fragments containing detected conflicts. Finally, CONTRIBALIGN generates guidance for each category and synthesizes the generated content into a coherent document.

To evaluate the effectiveness of the key components and the resulting documents, we conduct both component-level evaluations and human assessment. The classifier achieves a weighted F1 score of 0.764 for guidance coverage diagnosis, while the verifier detects conflicting fragments with 97.3% precision and 91.5% estimated recall. In a human evaluation on 20 repositories, the guidelines revised by CONTRIBALIGN receive the highest average ratings among the five document versions evaluated for each repository across all four quality dimensions and are selected as the preferred revisions in 33 of 40 comparisons. Overall, this paper makes the following contributions:

  • We develop a category-aware classifier that automatically diagnoses missing guidance in existing CONTRIBUTING files across six contribution categories.

  • We design a repository-aware verifier that validates extracted claims against the current repository state to identify conflicting information.

  • We propose CONTRIBALIGN, a framework that automatically revises CONTRIBUTING files by integrating guidance diagnosis, repository evidence, and conflict-aware generation.

References (13)