Skip to content

Commit dba4810

Browse files
committed
add agents.md
1 parent 133f674 commit dba4810

1 file changed

Lines changed: 57 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Contributor Guidelines
2+
3+
This document outlines the essential steps for contributing to FSharp.Control.AsyncSeq.
4+
5+
## Key Requirements
6+
7+
### 1. Add Comprehensive Tests
8+
9+
- Write tests for all new features in `tests/FSharp.Control.AsyncSeq.Tests/`
10+
- Cover both success cases and edge cases
11+
- Include async-specific scenarios (cancellation, exceptions, etc.)
12+
- Add benchmarks for performance-critical features in `tests/FSharp.Control.AsyncSeq.Benchmarks/`
13+
14+
### 2. Run Code Formatting
15+
16+
- Ensure code follows F# formatting conventions
17+
- Run formatting tools before committing
18+
- Keep code style consistent with the existing codebase
19+
20+
### 3. Build and Test
21+
22+
Build the solution:
23+
```bash
24+
dotnet build FSharp.Control.AsyncSeq.sln
25+
```
26+
27+
Run all tests:
28+
```bash
29+
dotnet test FSharp.Control.AsyncSeq.sln
30+
```
31+
32+
### 4. Update Documentation
33+
34+
- Update relevant documentation in the `docs/` folder
35+
- Add code examples demonstrating new features
36+
- Update API documentation in `.fsi` signature files
37+
- Keep documentation clear and concise
38+
39+
### 5. Update Release Notes
40+
41+
- Add an entry to `RELEASE_NOTES.md` describing your changes
42+
- Reference relevant issue/PR numbers
43+
- Mark breaking changes clearly with **Breaking:** prefix
44+
- Follow the existing format and style
45+
46+
## PR Checklist
47+
48+
Before submitting a pull request, verify:
49+
50+
- [ ] Tests added and passing
51+
- [ ] Code formatted consistently
52+
- [ ] Build succeeds without warnings
53+
- [ ] Documentation updated
54+
- [ ] Release notes updated
55+
- [ ] Changes described in PR description
56+
57+
Thank you for contributing to FSharp.Control.AsyncSeq!

0 commit comments

Comments
 (0)