midas-mcp 1.8.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,90 +1,71 @@
1
- # User Rules Reference
1
+ # Midas - Cursor User Rules
2
2
 
3
- Expert user rules for .cursorrules files.
3
+ Add these rules to your **Cursor User Rules** (Settings → Rules for AI) to make Cursor automatically follow the Golden Code methodology across ALL projects.
4
4
 
5
- ---
5
+ ## The Rules to Add
6
6
 
7
- ## Documentation Style
8
-
9
- - No emojis, no ALL CAPS, no markdown tables with dashes/pipes
10
- - No em dashes, no excessive formatting
11
- - Bold key words inside sentences for emphasis
12
- - Write tersely, casually, high IQ
13
-
14
- ---
15
-
16
- ## Paid Services (Firebase, APIs, etc.)
17
-
18
- - **SHOW THE MATH** - Calculate and comment max monthly cost
19
- - **LIMIT EVERYTHING** - No operation without explicit maximum
20
- - **PREVENT LOOPS** - Code must not trigger itself without guards
21
-
22
- ---
23
-
24
- ## Security
25
-
26
- - Build exhaustively secure, unhackable
27
- - Comprehensive .gitignore from day 1
28
- - Production-ready always
29
- - Never git push an API key
30
-
31
- ---
32
-
33
- ## Code Quality
34
-
35
- - Single responsibility principle
36
- - Achieve each task in minimum tokens
37
- - Testflight-deployable builds
38
- - Add logs and look up documentation to debug
39
-
40
- ---
41
-
42
- ## Workflow
43
-
44
- - Don't delete scripts when done, move to scripts folder
45
- - Try to compile/build before git committing, fix errors as needed
46
- - Simple short git commit after changes, no emojis or special characters
47
- - Deploy Firebase rules/functions/indexes when changed
48
- - Deploy Firebase cloud functions when updated
49
-
50
- ---
51
-
52
- ## Testing
53
-
54
- - Use iPhone 16 or 16 Pro for Xcode iOS simulator
55
-
56
- ---
57
-
58
- ## Full Rules Template
7
+ ```
8
+ # Golden Code Methodology (via Midas MCP)
9
+
10
+ ## AUTOMATIC BEHAVIOR - Do these without being asked:
11
+
12
+ ### On EVERY new chat session:
13
+ 1. Call `midas_journal_list` to load context from previous sessions
14
+ 2. Call `midas_analyze` to understand current project phase
15
+ 3. Follow the suggested approach from the analysis
16
+
17
+ ### After EVERY significant code change:
18
+ 1. Git commit with descriptive message before AND after major changes
19
+ 2. Call `midas_journal_save` with title describing what was done
20
+ 3. Include the full conversation in the journal entry
21
+
22
+ ### Before EVERY implementation:
23
+ 1. Call `midas_suggest_prompt` to get phase-appropriate guidance
24
+ 2. Follow the Golden Code methodology for current phase
25
+
26
+ ## When Things Go Wrong:
27
+ - **Stuck/confused**: Call `midas_tornado` for Research + Logs + Tests cycle
28
+ - **Output doesn't fit**: Call `midas_horizon` to expand context
29
+ - **Retry after error**: Call `midas_oneshot` to construct better retry
30
+
31
+ ## Git Discipline:
32
+ - Commit BEFORE starting any significant change (checkpoint)
33
+ - Commit AFTER completing each logical unit of work
34
+ - Use descriptive commit messages that explain WHY not just WHAT
35
+
36
+ ## The 7-Step BUILD Cycle:
37
+ RULES INDEX → READ → RESEARCH → IMPLEMENT → TEST → DEBUG
38
+ Always complete earlier steps before jumping to implementation.
39
+
40
+ ## The 4 Phases:
41
+ 1. EAGLE_SIGHT: Plan before coding (brainlift, PRD, gameplan)
42
+ 2. BUILD: The 7-step cycle above
43
+ 3. SHIP: Review, deploy, monitor
44
+ 4. GROW: Feedback, analyze, iterate back to EAGLE_SIGHT
45
+ ```
59
46
 
60
- ```plaintext
61
- # DOCUMENTATION
62
- - No emojis, no ALL CAPS, no tables with dashes/pipes
63
- - No em dashes, no excessive formatting
64
- - Bold for emphasis, write tersely, casually, high IQ
47
+ ## How to Add
65
48
 
66
- # PAID SERVICES
67
- - SHOW THE MATH - Calculate and comment max monthly cost
68
- - LIMIT EVERYTHING - No operation without explicit maximum
69
- - PREVENT LOOPS - Code must not trigger itself without guards
49
+ 1. Open Cursor Settings (Cmd+,)
50
+ 2. Search for "Rules for AI" or navigate to it
51
+ 3. Paste the rules above
52
+ 4. Save
70
53
 
71
- # SECURITY
72
- - Build exhaustively secure, unhackable
73
- - Comprehensive .gitignore from day 1
74
- - Production-ready always
75
- - Never git push an API key
54
+ Now Cursor will automatically:
55
+ - Load journal context at session start
56
+ - Analyze project phase
57
+ - Save conversations to journal
58
+ - Git commit before/after changes
59
+ - Follow the Golden Code methodology
76
60
 
77
- # CODE QUALITY
78
- - Single responsibility principle
79
- - Achieve each task in minimum tokens
80
- - Add logs and look up documentation to debug
61
+ ## Why User Rules Instead of .cursorrules
81
62
 
82
- # WORKFLOW
83
- - Don't delete scripts, move to scripts folder
84
- - Compile/build before git committing
85
- - Simple short git commit, no emojis or special characters
86
- - Deploy Firebase rules/functions/indexes when changed
63
+ | Feature | User Rules | .cursorrules |
64
+ |---------|-----------|--------------|
65
+ | Scope | All projects | One project |
66
+ | Git tracked | No | Yes |
67
+ | Setup | Once | Per project |
68
+ | Override | Per-project can override | N/A |
87
69
 
88
- # TESTING
89
- - Use iPhone 16 or 16 Pro for Xcode iOS simulator
90
- ```
70
+ User Rules are ideal for methodology/workflow rules that should apply everywhere.
71
+ Project `.cursorrules` are for project-specific conventions (TypeScript config, naming, etc).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "midas-mcp",
3
- "version": "1.8.0",
3
+ "version": "2.2.0",
4
4
  "description": "MCP server for Golden Code methodology - everything you vibecode turns to gold",
5
5
  "main": "dist/index.js",
6
6
  "bin": {