RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/Gurgenbaba/genesis-colonies

Cursor rule

.cursor/rules/no-dead-code-no-bloat.mdc

No dead code, no duplicate helpers, no bloat

Cursor rules

Quality

44/100

Scores the file, not the repository.

Length

314 words

5 headings · 0 code blocks

Repository

2

— · pushed 0 days ago

Last changed

3 days ago

First indexed 3 days ago.
Gurgenbaba/genesis-colonies/.cursor/rules/no-dead-code-no-bloat.mdcRawGitHub
1---
2description: No dead code, no duplicate helpers, no bloat
3alwaysApply: true
4---
5 
6# No Dead Code / No Bloat Rule
7 
8Genesis Colonies bevorzugt klare, bestehende Owner-Systeme statt neue Hilfsfunktionen neben alter Logik.
9 
10## Pflicht
11 
12Wenn du bestehendes Verhalten änderst:
13 
141. Prüfe zuerst den bestehenden Owner.
15 - Erweitere die vorhandene Funktion, wenn sie dafür zuständig ist.
16 - Erstelle keine zweite Funktion mit fast gleichem Zweck.
17 
182. Wenn du eine neue Funktion einführst:
19 - Begründe kurz, warum die bestehende Funktion nicht erweitert werden kann.
20 - Aktualisiere alle Call-Sites auf die neue Funktion.
21 - Entferne oder deprecate die alte Funktion im selben Ticket.
22 
233. Lösche ungenutzten Code.
24 - Keine alten Helper stehen lassen, wenn sie nicht mehr aufgerufen werden.
25 - Keine parallelen Legacy-Pfade ohne dokumentierten Zweck.
26 - Keine "nur zur Sicherheit"-Duplikate.
27 
284. Nach Änderungen prüfen:
29 - `grep` / Suche nach alten Funktionsnamen
30 - keine ungenutzten Imports
31 - keine toten Template-Blöcke
32 - keine nicht mehr verwendeten JS-Handler
33 - keine doppelten CSS-Klassen für denselben Zweck
34 
355. Architektur-Owner beachten:
36 - Keine zweite Queue-Logik
37 - Keine zweite Fleet-Send-Logik
38 - Keine zweite Preset-Engine
39 - Keine zweite Production-/ROI-Formel
40 - Keine zweite Toast-/Notify-Logik
41 - Keine zweite Planet-/Galaxy-Gate-Logik
42 
43## Verboten
44 
45- Neue Funktion schreiben und alte unbenutzt liegen lassen.
46- Gleiche Business-Logik in zwei Modulen pflegen.
47- "Wrapper auf Wrapper auf Wrapper" ohne echten Zweck.
48- Neue Client-Formel für Server-Mechanik.
49- Legacy-Code behalten, obwohl er nicht mehr gebraucht wird.
50- Nur Tests an neue Nebenfunktion hängen, während alter Produktpfad weiter existiert.
51 
52## Erlaubt
53 
54- Kleine private Helper, wenn sie Duplikate reduzieren.
55- Adapter für echte Migrationen, aber nur mit:
56 - TODO/Enddatum oder Ticketnummer
57 - Tests für alten und neuen Pfad
58 - klarer Entfernungsperspektive
59 
60## Required in final report
61 
62Bei jedem Ticket kurz angeben:
63 
64- Welche alte Logik wurde ersetzt?
65- Welche alte Logik wurde entfernt?
66- Welche alten Call-Sites wurden aktualisiert?
67- Welche Suche wurde gemacht, um Dead Code auszuschließen?
68 
69Leitsatz:
70Wenn eine Änderung eine neue Funktion braucht, muss sie eine alte Duplikat-Logik reduzieren — nicht vermehren.
71 

Sections

  • No Dead Code / No Bloat Rule
  • Pflicht
  • Verboten
  • Erlaubt
  • Required in final report

Stack — with the evidence

python

(1.00)

flask

(0.70)

postgres

(0.70)

docker

(0.60)

github-actions

(0.60)

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
Gurgenbaba
Language
—
License
—
Archived
no

All configs in this repo

Also in Gurgenbaba/genesis-colonies

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
Gurgenbaba/genesis-colonies.cursor/rules/battle-lab-visual.mdc · 2Cursor rulespythonflask+3stylesecurityuido-not63/1003 days ago
Gurgenbaba/genesis-colonies.cursor/rules/genesis-colonies-ui-design.mdc · 2Cursor rulespythonflask+3buildstylearchui+167/1003 days ago
Gurgenbaba/genesis-colonies.cursor/rules/genesis-colonies.mdc · 2Cursor rulespythonflask+3styleuido-notagent-behaviour+159/1003 days ago
Gurgenbaba/genesis-colonies.cursor/rules/test-maintenance.mdc · 2Cursor rulespythonflask+3teststyletesting-strategydo-not67/1003 days ago
Diff against .cursor/rules/battle-lab-visual.mdc Diff against .cursor/rules/genesis-colonies-ui-design.mdc Diff against .cursor/rules/genesis-colonies.mdc Diff against .cursor/rules/test-maintenance.mdc

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
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
dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+15setuptestlint-formatstyle+799/1003 days ago
Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+13setuptestlint-formatstyle+799/1003 days ago
langflow-ai/langflow.cursor/rules/docs_development.mdc · 153kCursor rulespythonnode+16setupbuildtestlint-format+797/1003 days ago
TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45Cursor rulestypescriptpytest+15teststyletesting-strategysecurity+397/1003 days ago
skillrecordings/egghead-next.cursor/rules/project-update-user-rules.mdc · 1.4kCursor rulestypescriptnode+14buildtestlint-formatstyle+796/1003 days ago
skillrecordings/egghead-next.cursor/rules/gh-task-plan.mdc · 1.4kCursor rulestypescriptnode+14teststylearchtypes+296/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