RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cline rules/u9401066/zotero-keeper

Cline rules

.clinerules/60-pubmed-python.md
Cline rules

Quality

86/100

Scores the file, not the repository.

Length

160 words

5 headings · 0 code blocks

Repository

7

— · pushed 39 days ago

Last changed

3 days ago

First indexed 3 days ago.
u9401066/zotero-keeper/.clinerules/60-pubmed-python.mdRawGitHub
1---
2paths:
3 - "src/**/*.py"
4 - "tests/**/*.py"
5 - "scripts/**/*.py"
6 - "pyproject.toml"
7 - "uv.lock"
8---
9 
10# PubMed Python Rules
11 
12## Environment
13 
14- Use `uv` for all Python commands.
15- Prefer `uv run ...` so checks execute in the right environment.
16- Do not introduce raw package-manager calls in docs, CI, or code paths.
17 
18## Architecture Guardrails
19 
20- Keep `domain/` free of I/O, environment reads, and framework imports.
21- Keep external API calls in `infrastructure/`.
22- Put orchestration in `application/`.
23- Keep MCP presentation code as thin wrappers around services.
24- Read configuration through shared settings, not scattered `os.environ` reads.
25 
26## Validation Gates
27 
28- Lint: `uv run ruff check .`
29- Format: `uv run ruff format --check .`
30- Types: `uv run mypy src/ tests/`
31- Tests: `uv run pytest`
32 
33## Test Rules
34 
35- Use async tests and `AsyncMock` for async methods.
36- Preserve xdist-friendly tests; avoid singleton state leaks.
37- Mock external APIs unless a test is explicitly marked integration.
38- Add regression tests for parsing, query expansion, ranking, source counts, and MCP tool contracts.
39 

Commands it names

  • uv run ...
  • uv run ruff check .
  • uv run ruff format --check .
  • uv run mypy src/ tests/
  • uv run pytest

Sections

  • PubMed Python Rules
  • Environment
  • Architecture Guardrails
  • Validation Gates
  • Test Rules

What it covers

setuptestlint-formatcode-styletesting-strategydo-not

Stack — with the evidence

pytest

(0.95)

ruff

(0.95)

python

(0.80)

node

(0.70)

eslint

(0.70)

typescript

(0.60)

github-actions

(0.60)

javascript

(0.50)

Format

Cline rules

A single file or a folder of files, all always-on. The folder form is the simplest way any format here lets you split rules into topics without also learning an activation model.

What the corpus says about it

Repository

Owner
u9401066
Language
—
License
—
Archived
no

All configs in this repo

Also in u9401066/zotero-keeper

Diff this repo’s formats

One 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?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
u9401066/zotero-keeper.clinerules/00-zotero-project.md · 7Cline rulesnodepytest+6testlint-formatstylearch+274/1003 days ago
u9401066/zotero-keeper.clinerules/10-zotero-python.md · 7Cline rulespytestruff+6setuptestlint-formatstyle+171/1003 days ago
u9401066/zotero-keeper.clinerules/20-zotero-vscode-extension.md · 7Cline rulesnodepython+6teststyledo-not69/1003 days ago
u9401066/zotero-keeper.clinerules/30-zotero-research-workflow.md · 7Cline rulespythonnode+6styledo-notagent-behaviour50/1003 days ago
u9401066/zotero-keeper.clinerules/35-foam-llm-wiki.md · 7Cline rulespythonnode+6styledo-notagent-behaviour55/1003 days ago
u9401066/zotero-keeper.clinerules/40-zotero-release.md · 7Cline rulesnodepytest+6testlint-formatdeploymentdo-not67/1003 days ago
u9401066/zotero-keeper.clinerules/50-pubmed-project.md · 7Cline rulespytestruff+6testlint-formatstylearch+194/1003 days ago
u9401066/zotero-keeper.clinerules/70-pubmed-mcp-tools.md · 7Cline rulespythonnode+6apido-notagent-behaviourdocs54/1003 days ago
u9401066/zotero-keeper.clinerules/80-pubmed-release.md · 7Cline rulespytestruff+6testlint-formatdeploymentdo-not68/1003 days ago
u9401066/zotero-keeper.github/copilot-instructions.md · 7Copilot instructionsnodepython+6gitperformancedeploymentagent-behaviour73/1003 days ago
u9401066/zotero-keeperAGENTS.md · 7AGENTS.mdnodepython+6styleagent-behaviour56/1003 days ago
u9401066/zotero-keepervscode-extension/resources/repo-assets/keeper/.clinerules/00-zotero-project.md · 7Cline rulesnodepytest+6testlint-formatstylearch+274/1003 days ago
u9401066/zotero-keepervscode-extension/resources/repo-assets/keeper/.clinerules/10-zotero-python.md · 7Cline rulespytestruff+6setuptestlint-formatstyle+171/1003 days ago
u9401066/zotero-keepervscode-extension/resources/repo-assets/keeper/.clinerules/20-zotero-vscode-extension.md · 7Cline rulesnodepython+6teststyledo-not69/1003 days ago
u9401066/zotero-keepervscode-extension/resources/repo-assets/keeper/.clinerules/30-zotero-research-workflow.md · 7Cline rulespythonnode+6styledo-notagent-behaviour50/1003 days ago
u9401066/zotero-keepervscode-extension/resources/repo-assets/keeper/.clinerules/35-foam-llm-wiki.md · 7Cline rulespythonnode+6styledo-notagent-behaviour55/1003 days ago
u9401066/zotero-keepervscode-extension/resources/repo-assets/keeper/.clinerules/40-zotero-release.md · 7Cline rulesnodepytest+6testlint-formatdeploymentdo-not67/1003 days ago
u9401066/zotero-keepervscode-extension/resources/repo-assets/keeper/.github/copilot-instructions.md · 7Copilot instructionspythonnode+6styleagent-behaviour48/1003 days ago
u9401066/zotero-keepervscode-extension/resources/repo-assets/keeper/AGENTS.md · 7AGENTS.mdnodepython+6styleagent-behaviour56/1003 days ago
u9401066/zotero-keepervscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/50-pubmed-project.md · 7Cline rulespytestruff+6testlint-formatstylearch+194/1003 days ago
Diff against .clinerules/00-zotero-project.md Diff against .clinerules/10-zotero-python.md Diff against .clinerules/20-zotero-vscode-extension.md Diff against .clinerules/30-zotero-research-workflow.md Diff against .clinerules/35-foam-llm-wiki.md Diff against .clinerules/40-zotero-release.md Diff against .clinerules/50-pubmed-project.md Diff against .clinerules/70-pubmed-mcp-tools.md Diff against .clinerules/80-pubmed-release.md Diff against .github/copilot-instructions.md Diff against AGENTS.md Diff against vscode-extension/resources/repo-assets/keeper/.clinerules/00-zotero-project.md Diff against vscode-extension/resources/repo-assets/keeper/.clinerules/10-zotero-python.md Diff against vscode-extension/resources/repo-assets/keeper/.clinerules/20-zotero-vscode-extension.md Diff against vscode-extension/resources/repo-assets/keeper/.clinerules/30-zotero-research-workflow.md Diff against vscode-extension/resources/repo-assets/keeper/.clinerules/35-foam-llm-wiki.md Diff against vscode-extension/resources/repo-assets/keeper/.clinerules/40-zotero-release.md Diff against vscode-extension/resources/repo-assets/keeper/.github/copilot-instructions.md Diff against vscode-extension/resources/repo-assets/keeper/AGENTS.md Diff against vscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/50-pubmed-project.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
u9401066/zotero-keeper.clinerules/50-pubmed-project.md · 7Cline rulespytestruff+6testlint-formatstylearch+194/1003 days ago
u9401066/zotero-keepervscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/50-pubmed-project.md · 7Cline rulespytestruff+6testlint-formatstylearch+194/1003 days ago
u9401066/pubmed-search-mcp.clinerules/50-pubmed-project.md · 23Cline rulespythondocker+4testlint-formatstylearch+194/1003 days ago
ryok/python-boilerplate.clinerules/common-commands.md · 0Cline rulespythonruff+2setupbuildtestlint-format+390/1002 days ago
u9401066/zotero-keepervscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/60-pubmed-python.md · 7Cline rulespytestruff+6setuptestlint-formatstyle+286/1003 days ago
u9401066/pubmed-search-mcp.clinerules/60-pubmed-python.md · 23Cline rulespythondocker+4setuptestlint-formatstyle+286/1003 days ago
u9401066/pubmed-search-mcp.clinerules/00-project.md · 23Cline rulespythondocker+4testlint-formatstylearch+186/1003 days ago
u9401066/nsforge-mcp.clinerules/10-python.md · 4Cline rulespythonpytest+2setuptestlint-formatstyle+183/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack