

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
12345# Python 开发规范67## 基本规则89- Python 3.11+ 语法10- 使用 type hints11- 异步优先 (async/await)12- 使用 dataclass 定义数据结构1314## 代码风格1516- 行宽限制: 100 字符17- 使用 ruff 进行 lint18- 遵循 PEP 81920## 项目特定规范2122### MCP 工具定义2324工具函数放在 `Mcp/src/unreal_analyzer/tools/` 目录,按领域分文件:25- `blueprint.py` - 蓝图分析26- `asset.py` - 资产分析27- `cpp.py` - C++ 分析28- `cross_domain.py` - 跨域查询2930工具函数规范:31```python32async def tool_name(param1: str, param2: int = 0) -> dict:33 """工具描述 (会显示给 AI)。3435 Args:36 param1: 参数1说明37 param2: 参数2说明3839 Returns:40 Dictionary containing:41 - key1: 说明42 - key2: 说明43 """44```4546### 与 Unreal 插件通信4748使用 `ue_client.http_client.UEPluginClient`:49```python50from ..ue_client import get_client5152async def my_tool():53 client = get_client()54 return await client.get("/endpoint", {"param": "value"})55```5657### C++ 分析器5859使用 `cpp_analyzer.analyzer.CppAnalyzer`:60```python61from ..cpp_analyzer import get_analyzer6263async def my_tool():64 analyzer = get_analyzer()65 return await analyzer.analyze_class("AMyClass")66```6768## 依赖管理6970使用 uv:71```bash72uv add package_name # 添加依赖73uv sync # 安装依赖74uv run command # 运行命令75```7677## 测试7879- 测试文件放在 `Mcp/tests/` 目录80- 使用 pytest + pytest-asyncio81- 异步测试使用 `@pytest.mark.asyncio`82
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?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| syan2018/UnrealCopilot.cursor/rules/development-workflow.mdc · 26 | Cursor rules | setuptestlint-formatgit+1 | 78/100 | 14 days ago | |
| syan2018/UnrealCopilot.cursor/rules/mcp-tools-design.mdc · 26 | Cursor rules | api | 62/100 | 14 days ago | |
| syan2018/UnrealCopilot.cursor/rules/project-overview.mdc · 26 | Cursor rules | no sections | 50/100 | 14 days ago | |
| syan2018/UnrealCopilot.cursor/rules/unreal-plugin.mdc · 26 | Cursor rules | api | 50/100 | 14 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 46 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 14 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 46 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 14 days ago | |
| nerds-odd-e/doughnut.cursor/rules/cli.mdc · 49 | Cursor rules | setupbuildteststyle+4 | 96/100 | 14 days ago | |
| enuno/unifi-mcp-server.cursor/rules/common-mistakes.mdc · 226 | Cursor rules | testlint-formatgitdo-not | 93/100 | today | |
| iloveitaly/llm-ide-rules.cursor/rules/general.mdc · 13 | Cursor rules | teststyledo-notagent-behaviour+1 | 92/100 | 14 days ago | |
| dotCMS/core.cursor/rules/e2e-rules.mdc · 949 | Cursor rules | setupteststylearch+5 | 89/100 | 14 days ago | |
| danielvm-git/bigpowers.cursor/rules/guard-git.mdc · 139 | Cursor rules | stylearchgitsecurity+2 | 89/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/syan2018-unrealcopilot-cursor-rules-python-guidelines)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.