Hoctar77 commited on
Commit
b587b46
·
verified ·
1 Parent(s): 6a184d3

Delete AGENTS.md

Browse files
Files changed (1) hide show
  1. AGENTS.md +0 -61
AGENTS.md DELETED
@@ -1,61 +0,0 @@
1
- # Repository Guidelines
2
-
3
- ## Project Structure & Module Organization
4
-
5
- This repository is a lightweight Streamlit wrapper around the `fedstylevalidator` Python package. The repo is still in scaffold stage.
6
-
7
- - `app.py`: main Streamlit entry point when the app is implemented.
8
- - `docs/ai-notes.md`: working decisions, status, and session notes.
9
- - `PRD.md`: product and architecture requirements. Read this before large changes.
10
- - `pyproject.toml`: shared Ruff lint and format settings.
11
- - `CLAUDE.md`: repo-specific workflow notes for coding agents.
12
-
13
- Keep UI code in `app.py` or small helper modules added beside it. Do not re-implement FSV validation logic in this repo.
14
-
15
- ## Build, Test, and Development Commands
16
-
17
- - `streamlit run app.py`: run the local app.
18
- - `ruff check .`: lint Python files.
19
- - `ruff format .`: apply formatting.
20
- - `pytest`: run tests once a `tests/` suite exists.
21
-
22
- If you add new tooling, document it in `pyproject.toml` or the repo root README and keep commands simple.
23
-
24
- ## Coding Style & Naming Conventions
25
-
26
- Use Python 3.11 conventions. Ruff is the source of truth.
27
-
28
- - Indentation: 4 spaces.
29
- - Line length: 88 characters.
30
- - Quotes: double quotes.
31
- - Imports: grouped and sorted by Ruff (`I` rules enabled).
32
- - Names: `snake_case` for functions, variables, and modules; `PascalCase` for classes; `UPPER_SNAKE_CASE` for constants.
33
-
34
- Prefer small functions around Streamlit UI flow, file handling, and result rendering. Keep business rules inside `fedstylevalidator`, not local helpers.
35
-
36
- ## Testing Guidelines
37
-
38
- Add tests under `tests/` with names like `test_upload_flow.py` and functions like `test_rejects_large_docx()`. Use `pytest`.
39
-
40
- Focus tests on:
41
-
42
- - upload validation and temp-file cleanup
43
- - FSV integration boundaries and error handling
44
- - result shaping for Streamlit display
45
-
46
- Run `pytest` before opening a PR. If no automated test covers a UI change, describe manual verification steps.
47
-
48
- ## Commit & Pull Request Guidelines
49
-
50
- This repository has no commit history yet, so start with clear, imperative commit messages. Prefer Conventional Commit style, for example `feat: add document type selector`.
51
-
52
- PRs should include:
53
-
54
- - a short summary of user-visible changes
55
- - linked issue or `PRD.md` section when relevant
56
- - screenshots or short notes for Streamlit UI changes
57
- - lint/test status and any manual test steps
58
-
59
- ## Notes for Contributors
60
-
61
- Update `docs/ai-notes.md` when you make architecture or workflow decisions. If a change touches 3 or more files, align the plan with `PRD.md` before editing.