RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/survivorsunited/mods-su-compostables

Cursor rule

.cursor/rules/rules.mdc
Cursor rules

Quality

92/100

Scores the file, not the repository.

Length

501 words

14 headings · 1 code blocks

Repository

0

— · pushed 47 days ago

Last changed

3 days ago

First indexed 3 days ago.
survivorsunited/mods-su-compostables/.cursor/rules/rules.mdcRawGitHub
1# Minecraft Fabric Mod Development Rules
2 
3## Project Context
4You are working on a Minecraft Fabric mod project with the following structure:
5- Fabric mod for Minecraft 1.21.5+
6- Uses Fabric Loader 0.16.14+ and Fabric API
7- Java 21 required
8- Gradle build system with Fabric Loom
9- CI/CD via GitHub Actions
10- Documentation site with Docusaurus
11 
12## Key Technologies
13- **Language**: Java 21
14- **Build Tool**: Gradle 8.12.1 with Fabric Loom
15- **Framework**: Fabric (Minecraft modding)
16- **Testing**: Minecraft test server via build.ps1
17- **Documentation**: Docusaurus (React/TypeScript)
18- **CI/CD**: GitHub Actions
19- **Publishing**: Modrinth, GitHub Releases
20 
21## Project Structure
22```
23mods-compostables/
24├── src/main/java/ # Java source code
25├── src/main/resources/ # Resources (mixins, fabric.mod.json)
26├── docs/ # Documentation site (Docusaurus)
27├── scripts/ # Utility scripts
28├── gradle.properties # Mod configuration
29└── build.gradle # Build configuration
30```
31 
32## Namespace Convention
33- **Organization**: org.survivorsunited
34- **Mod ID**: Uses "su-" prefix (e.g., su-compostables)
35- **JAR Name**: Uses "su-" prefix
36- **Java Package**: org.survivorsunited.mods.{modname}
37- **Important**: "SU" prefix is ONLY for JAR names, Modrinth, and GitHub repos - NOT for internal code
38 
39## Configuration Management
40All mod properties are centralized in `gradle.properties`:
41- Minecraft/Fabric versions
42- Mod metadata (name, version, ID, etc.)
43- Dependencies
44- Use property expansion in fabric.mod.json and build.gradle
45 
46## Development Workflow
471. Make changes to Java code or resources
482. Run `.\build.ps1` to build
493. Run `.\build.ps1 -StartServer` to test with local server
504. Update documentation in `/docs` if needed
515. Commit changes (mod will be built by CI)
526. Tag releases for automatic publishing
53 
54## Build Scripts
55- **build.ps1**: Main build script
56 - Sets up Java 21 environment
57 - Builds mod
58 - Optionally starts test server with mod
59 - Downloads MC server & Fabric loader automatically
60
61- **scripts/start-server.ps1**: Advanced server launcher
62 - Auto-detects Fabric server JAR
63 - Optimized JVM flags (8G-32G RAM)
64 - Automatic restart on crash
65 
66## CI/CD Pipeline
67GitHub Actions automatically:
681. Builds mod on every push/PR
692. Deploys documentation to GitHub Pages (main branch)
703. On release (tags):
71 - Creates GitHub release with changelog
72 - Updates Modrinth project description from docs/MODRINTH.md
73 - Publishes mod to Modrinth
74 
75## Documentation
76- **README.md**: Repository operations and development info
77- **docs/**: All gameplay and mod features documentation
78- **docs/MODRINTH.md**: Description for Modrinth project page
79 
80## Code Style
81- Follow Java conventions
82- Use meaningful variable names
83- Minimize comments (self-documenting code)
84- Use existing patterns in codebase
85- NEVER add comments unless explicitly requested
86 
87## Testing
88- Use local test server via build.ps1
89- Test both client and server functionality
90- Verify farmer villager interactions
91- Check all compostable items work correctly
92 
93## Common Tasks
94- **Add new compostable item**: Update Compostables.java and FarmerMixin.java if portable
95- **Change composting chance**: Modify value in registerCompostableItems()
96- **Update docs**: Edit files in /docs folder
97- **Release new version**: Update mod_version in gradle.properties, commit, tag, push
98 
99## Important Files
100- `gradle.properties`: Central configuration
101- `src/main/resources/fabric.mod.json`: Mod metadata (uses property expansion)
102- `src/main/java/.../Compostables.java`: Main mod class
103- `src/main/java/.../mixin/FarmerMixin.java`: Villager behavior
104- `docs/MODRINTH.md`: Modrinth project description

Commands it names

  • gradle.properties

Sections

  • Minecraft Fabric Mod Development Rules
  • Project Context
  • Key Technologies
  • Project Structure
  • Namespace Convention
  • Configuration Management
  • Development Workflow
  • Build Scripts
  • CI/CD Pipeline
  • Documentation
  • Code Style
  • Testing
  • Common Tasks
  • Important Files

What it covers

buildtestcode-stylearchitecturedeploymentdo-notagent-behaviourdocs

Stack — with the evidence

react

(0.70)

typescript

(0.60)

java

(0.60)

github-actions

(0.60)

javascript

(0.50)

Format

Cursor rules

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

What the corpus says about it

Repository

Owner
survivorsunited
Language
—
License
—
Archived
no

All configs in this repo

Also in survivorsunited/mods-su-compostables

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
survivorsunited/mods-su-compostables.cursor/rules/ci-cd-workflow.mdc · 0Cursor rulesreacttypescript+3setupbuildgitsecurity+363/1003 days ago
survivorsunited/mods-su-compostables.cursor/rules/development-workflow.mdc · 0Cursor rulesreacttypescript+3setupbuildteststyle+486/1003 days ago
survivorsunited/mods-su-compostables.cursor/rules/documentation-standards.mdc · 0Cursor rulesreacttypescript+3setupbuildtestlint-format+491/1003 days ago
survivorsunited/mods-su-compostables.cursor/rules/gradle-build-standards.mdc · 0Cursor rulesreacttypescript+3buildstyledependenciesdeployment78/1003 days ago
survivorsunited/mods-su-compostables.cursor/rules/java-coding-standards.mdc · 0Cursor rulesreacttypescript+3stylearch58/1003 days ago
survivorsunited/mods-su-compostables.cursor/rules/proj-compostables.mdc · 0Cursor rulesreacttypescript+3archsecuritydeploymentagent-behaviour+166/1003 days ago
survivorsunited/mods-su-compostables.cursor/rules/project-overview.mdc · 0Cursor rulesreacttypescript+3buildarchdeploymentagent-behaviour+167/1003 days ago
survivorsunited/mods-su-compostables.cursor/rules/recipe-json-standards.mdc · 0Cursor rulesreacttypescript+3lint-formatstylearchtypes62/1003 days ago
Diff against .cursor/rules/ci-cd-workflow.mdc Diff against .cursor/rules/development-workflow.mdc Diff against .cursor/rules/documentation-standards.mdc Diff against .cursor/rules/gradle-build-standards.mdc Diff against .cursor/rules/java-coding-standards.mdc Diff against .cursor/rules/proj-compostables.mdc Diff against .cursor/rules/project-overview.mdc Diff against .cursor/rules/recipe-json-standards.mdc

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126Cursor rulesgobun+5setupbuildtestlint-format+6100/1003 days ago
TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45Cursor rulestypescriptpytest+15testlint-formatstylearch+5100/1003 days ago
markstev/mark-starter.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+14setuptestlint-formatstyle+699/1003 days ago
Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+13setuptestlint-formatstyle+799/1003 days ago
dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+15setuptestlint-formatstyle+799/1003 days ago
deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1Cursor rulestypescriptnextjs+5setuptestlint-formatstyle+799/1003 days ago
TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45Cursor rulestypescriptpytest+15teststyletesting-strategysecurity+397/1003 days ago
langflow-ai/langflow.cursor/rules/docs_development.mdc · 153kCursor rulespythonnode+16setupbuildtestlint-format+797/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