09-anti-patterns Cursor ruleA

09-anti-patterns from guguzea/mc-ai-coding-assistant-tool is a Cursor rule: instructions the Cursor agent follows in that repo.

Install it, pinned
mdr add guguzea/mc-ai-coding-assistant-tool/bedrock/.cursor/rules/09-anti-patterns.mdc@git:20261011.087abcf

Pins git:20261011.087abcf in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
Cursor rule
Repository
guguzea/mc-ai-coding-assistant-tool
Path
bedrock/.cursor/rules/09-anti-patterns.mdc
Versions recorded
6
Latest version
git:20261011.087abcf, committed Oct 11, 2026
First version recorded
Aug 13, 2026
Size
1,611 bytes
Repository stars
135
License
a license file GitHub does not identify

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 09 — 基岩反模式

## Decision Flow

```
→ 要查 API → search_bedrock_docs / get_bedrock_doc_*;禁止 query_api / Yarn
→ 要校验 pack → validate_addon_manifest + validate_bp_json;禁止 validate_project / validate_datapack_json
→ 要 Gradle / 映射 → 拒绝并改口:基岩无 ForgeGradle、无 convert_mapping
→ 用户要 Beta → 走 07 分层;禁止 experimentalGameplay 与虚构 experimental.json
```

## 禁止(已核实)

- RP 与 BP **identifier 对不上**,或 header/module **uuid 重复**
- 用 Java `query_api` / `mixin_analyze` / Yarn 查 Script API 或模型路径
- 一律写 `"experimentalGameplay": true`
- 发明 `worldgen/experimental.json` 当世界实验开关
- 把 `assets/<modid>/models`、DeferredRegister、`EntityType`、`BlockBehaviour`、`generate_datagen` 写进基岩包
- 未点名 Beta 就生成 Beta 事件,或把模块名写成不存在的 `@minecraft/server-beta`(真实名只有 `@minecraft/server`,beta 走 `version: "beta"` 串;出处:npm `@minecraft/server` 的 dist-tag `beta` + Learn `minecraft-server` 模块页 Manifest Details)
- 以为 pack JSON 能替玩家打开世界「Beta APIs」(须游戏 UI:`stable/experimental-features-toggle` 只给新/旧世界的 Game Settings → Experiments 开关)。`level.dat` → `experiments` compound 与键名 `gametest` = **社区权威已核实**(wiki.bedrock.dev/nbt/enabling-experiments,取),**非 Learn 官方**,键名仅供手工改 `level.dat` 分诊;见 07 与 `knowledge/common/experiments.md`
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add guguzea/mc-ai-coding-assistant-tool/bedrock/.cursor/rules/09-anti-patterns.mdc@sha256:b420c42cf1332a9a

The line at the top of this page pins the label git:20261011.087abcf, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_nf4zs5pdhbaqssuf.svg)](https://markdownregistry.com/a/art_nf4zs5pdhbaqssuf)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between Aug 13, 2026 and Oct 11, 2026, about one every 12 days. Its first recorded version is graded B and its latest A.

versioncommittedcommitsizeaudit
git:20261011.087abcf latest2026-10-11 087abcf 1,611 BA view · diff
git:20260926.05ecc272026-09-26 05ecc27 1,641 BA view · diff
git:20260904.bac959a2026-09-04 bac959a 1,406 BA view · diff
git:20260820.6484bd42026-08-20 6484bd4 1,079 BA view · diff
git:20260814.76af98c2026-08-14 76af98c 1,080 BA view · diff
git:20260813.c8addfe2026-08-13 c8addfe 185 BB view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (1611 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

guguzea/mc-ai-coding-assistant-tool · 135 stars · license a license file GitHub does not identify · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_nf4zs5pdhbaqssuf
GET https://markdownregistry.com/api/v1/resolve?ref=guguzea/mc-ai-coding-assistant-tool/bedrock/.cursor/rules/09-anti-patterns.mdc
GET https://markdownregistry.com/api/v1/blob/b420c42cf1332a9a71e1c982d7ac7c5443258225e74c1f3d8b01b122c9f41df9

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: Cursor rules vs AGENTS.md · which agent file does what.

More from guguzea/mc-ai-coding-assistant-tool

AGENTS.md AGENTS.md file
guguzea/mc-ai-coding-assistant-tool · AGENTS.md
git:20261105.a32e7f9 · audit A · 135 stars
mc-addon-manifest SKILL.md skill
guguzea/mc-ai-coding-assistant-tool · bedrock/.agents/skills/mc-addon-manifest/SKILL.md · 基岩 manifest.json。触发词:format_version、min_engine_version、modules、capabilities、uuid
git:20260814.76af98c · audit A · 135 stars
mc-addon-setup SKILL.md skill
guguzea/mc-ai-coding-assistant-tool · bedrock/.agents/skills/mc-addon-setup/SKILL.md · 基岩 Add-On 工程结构。触发词:com.mojang、development_behavior_packs、RP/BP、Add-On 从零
git:20260827.8ccbbc4 · audit A · 135 stars
mc-bedrock-block-item SKILL.md skill
guguzea/mc-ai-coding-assistant-tool · bedrock/.agents/skills/mc-bedrock-block-item/SKILL.md · 基岩方块/物品 JSON。触发词:minecraft:block、minecraft:item、block-components、custom die
git:20260814.76af98c · audit A · 135 stars
mc-bedrock-entity SKILL.md skill
guguzea/mc-ai-coding-assistant-tool · bedrock/.agents/skills/mc-bedrock-entity/SKILL.md · 基岩实体 RP/BP 成对。触发词:client_entity、minecraft:entity、entity-components
git:20260827.8ccbbc4 · audit A · 135 stars
mc-bedrock-worldgen SKILL.md skill
guguzea/mc-ai-coding-assistant-tool · bedrock/.agents/skills/mc-bedrock-worldgen/SKILL.md · 基岩世界生成 JSON。触发词:feature、biome、jigsaw、worldgen
git:20260827.8ccbbc4 · audit A · 135 stars
mc-behavior-pack SKILL.md skill
guguzea/mc-ai-coding-assistant-tool · bedrock/.agents/skills/mc-behavior-pack/SKILL.md · 基岩行为包 BP。触发词:minecraft:block、minecraft:item、minecraft:entity、validate_bp_json
git:20260827.8ccbbc4 · audit A · 135 stars
mc-molang SKILL.md skill
guguzea/mc-ai-coding-assistant-tool · bedrock/.agents/skills/mc-molang/SKILL.md · 基岩 Molang。触发词:Molang、query.last_hit_by_player、q.、math.sin
git:20260814.76af98c · audit A · 135 stars
mc-publish-addon SKILL.md skill
guguzea/mc-ai-coding-assistant-tool · bedrock/.agents/skills/mc-publish-addon/SKILL.md · 基岩发布 mcpack/mcaddon。触发词:.mcpack、.mcaddon、市场、BDS、Preview
git:20260827.8ccbbc4 · audit A · 135 stars
mc-resource-pack SKILL.md skill
guguzea/mc-ai-coding-assistant-tool · bedrock/.agents/skills/mc-resource-pack/SKILL.md · 基岩资源包 RP。触发词:terrain_texture、item_texture、client_entity、attachables、sounds.json
git:20260827.8ccbbc4 · audit A · 135 stars
mc-script-api SKILL.md skill
guguzea/mc-ai-coding-assistant-tool · bedrock/.agents/skills/mc-script-api/SKILL.md · 基岩 Script API。触发词:@minecraft/server、world.afterEvents、Beta APIs
git:20260827.8ccbbc4 · audit A · 135 stars
mc-addon-manifest SKILL.md skill
guguzea/mc-ai-coding-assistant-tool · bedrock/.continue/skills/mc-addon-manifest/SKILL.md · 基岩 manifest.json。触发词:format_version、min_engine_version、modules、capabilities、uuid
git:20260827.8ccbbc4 · audit A · 135 stars

Every file in guguzea/mc-ai-coding-assistant-tool

Other files named 09-anti-patterns

09-anti-patterns Cursor rule
guguzea/mc-ai-coding-assistant-tool · fabric/1.14.4/.cursor/rules/09-anti-patterns.mdc
git:20260918.7ca5a1f · audit A · 135 stars

Browse by kind, by grade A, or by owner.