agentleFS
sunflowermmsunflowermm/XRK-AGT/.cursor/rules/xrk-third-party-plugins.mdc

XRK-AGT / rules

Cursor rule140 starsChanged 8 months agoMITView on GitHub

主仓入库边界(core / data / 子服插件)

The file

Files
xrk-third-party-plugins.mdc
---
description: 主仓入库边界(core / data / 子服插件)
alwaysApply: true
---

# 主仓 gitignore 约定

根 `.gitignore` 只表达**什么进主仓库**:按目录 `*` 忽略 + **框架白名单**,勿为每个产品单独加 `!`。

## core/

```
core/*
!core/system-Core/
!core/system-Core/**
```

- 主仓仅 `system-Core`;其余业务 Core 本地即可,**勿**写 `!core/<产品>/`。
- 独立 git 产品 Core:规则随该 Core 仓;主仓不 alwaysApply 产品细则。

## data/

- 由 `data/.gitignore`(`*` + `!instruct.txt`)统一处理;根目录勿重复列 `data/<产品>/`。

## subserver/pyserver/apis/

```
subserver/pyserver/apis/*/
!subserver/pyserver/apis/system/**
!subserver/pyserver/apis/media-tools/**
!subserver/pyserver/apis/doc-pipeline/**
!subserver/pyserver/apis/web-fetch/**
```

- 框架示例外均为本地 clone;**勿**按插件名写排除行。
- 第三方插件勿写进框架帮助、示例、`PyserverApi` 封装。

## 子服

- 插件 `apis/<group>/core/` 结构与主仓 Core 同(`commonconfig/`、`plugin/`、`http/` 等)。
- 配置仅主服编辑;子服只读 yaml。见 [docs/subserver-commonconfig.md](../docs/subserver-commonconfig.md)。
- 运维命令在 **子服终端 `子服>`**,不经主服 stdin 转发。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.