Cline rules
.clinerules/10-python.mdCline rules
Quality
83/100
Scores the file, not the repository.Length
143 words
5 headings · 0 code blocksRepository
4
— · pushed 27 days agoLast changed
3 days ago
First indexed 3 days ago.123456789# Python Rules (uv / ruff / mypy / pytest)1011## Environment12- Use `uv` for running tools (avoid ad-hoc `pip`).13- Prefer `uv run ...` so checks execute in the right venv and dependency set.1415## Architecture Guardrails16- Keep `src/nsforge/domain` free of I/O, filesystem access, and infrastructure imports.17- Put orchestration/side-effects in `src/nsforge/application` or `src/nsforge/infrastructure`.18- MCP tool wiring lives in `src/nsforge_mcp/` (`server.py`, `tools/`).1920## Validation Gates21- One command: `python scripts/check.py`22- Or individually:23 - Lint: `uv run ruff check .`24 - Format: `uv run ruff format --check .`25 - Types: `uv run mypy src --ignore-missing-imports`26 - Tests: `uv run pytest`2728## Discipline29- Do not weaken mypy strict or add blanket `# type: ignore` to pass the gate.30- Add a regression test under `tests/` when fixing a bug.31- After adding/removing an `@mcp.tool`, regenerate the manifest:32 `python scripts/gen_capabilities.py`.33
Also in u9401066/nsforge-mcp
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| u9401066/nsforge-mcp.clinerules/00-project.md · 4 | Cline rules | testlint-formatstylearch+1 | 81/100 | 3 days ago | |
| u9401066/nsforge-mcp.clinerules/40-release.md · 4 | Cline rules | lint-formatdeploymentdo-not | 51/100 | 3 days ago | |
| u9401066/nsforge-mcp.github/copilot-instructions.md · 4 | Copilot instructions | setuptestlint-formatgit+2 | 85/100 | 3 days ago | |
| u9401066/nsforge-mcpAGENTS.md · 4 | AGENTS.md | stylearchsecuritydo-not+1 | 89/100 | 3 days ago | |
| u9401066/nsforge-mcpCLAUDE.md · 4 | CLAUDE.md | setuptestlint-formatgit+2 | 81/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| u9401066/zotero-keeper.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| u9401066/pubmed-search-mcp.clinerules/50-pubmed-project.md · 23 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| ryok/python-boilerplate.clinerules/common-commands.md · 0 | Cline rules | setupbuildtestlint-format+3 | 90/100 | 2 days ago | |
| u9401066/pubmed-search-mcp.clinerules/60-pubmed-python.md · 23 | Cline rules | setuptestlint-formatstyle+2 | 86/100 | 3 days ago | |
| u9401066/zotero-keeper.clinerules/60-pubmed-python.md · 6 | Cline rules | setuptestlint-formatstyle+2 | 86/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/60-pubmed-python.md · 6 | Cline rules | setuptestlint-formatstyle+2 | 86/100 | 3 days ago | |
| u9401066/pubmed-search-mcp.clinerules/00-project.md · 23 | Cline rules | testlint-formatstylearch+1 | 86/100 | 3 days ago |
