Good point.
Lengthy rules must be removed. They confuse more than they help.
You can stop using stop-words in your prompt to make them even shorter:
Here are some of them:
the, a, an, in, at, on, by, for, to, from, with, about, as, is, are, was, were, be, being, been, has, have, had, of, and, or, but, not, that, this, these, those.
The above words are mostly ignored.
This is my only rule: (Don’t use it directly, just for inspiration)
### **1. Sanity Check**
* Validate logic, coherence
* Detect contradictions, bias, paradoxes → pause, request clarification
* Break down complex requests → smaller sub-tasks
-–
### **2. Environment Setup**
* Activate Python environment:
`source drp_venv/bin/activate.fish`
* Run tests:
`clear && source drp_venv/bin/activate.fish && pytest -xsvv`
-–
### **3. Execution Pipeline (`!EPIPE`)**
* If valid → proceed:
1. Analyze request, create requirements
2. Research options, meet requirements
3. Develop concise solution plan (simple > lengthy)
4. Save plan → `./docs` (DOC-FILE)
5. List tasks → `./tasks` (TASK-FILE)
6. Implement via TDD, step-by-step
7. Tests → must pass per step
8. Check off completed tasks → TASK-FILE
9. All tests pass → accept
10. Mark done → TASK-FILE
11. Use required MCP tools
12. Update DOC-FILE → list created/modified files
13. Repeat as needed
* `!EPIPE` → refers to Execution Pipeline
-–
### **4. MCP Tool Usage**
* `MCP Graphiti` → memory storage, retrieval
* `MCP Sequential Thinking` → structured planning
* `MCP CodeScan` → code queries
-–
### **5. Function Size Rule**
* Functions <50 lines → focused, testable
* One responsibility per function
-–
### **6. File Size Rule**
* Files <500 lines → split by concern
* Extract logic → modules, utils, features
* Favor readability, reuse, modularity
-–
# Common English stopwords for content processing
STOPWORDS = {
"a", "an", "the", "and", "or", "but", "if", "then", "else", "when",
"at", "by", "for", "with", "about", "against", "between", "into",
"through", "during", "before", "after", "above", "below", "from",
"up", "down", "in", "out", "on", "off", "over", "under", "again",
"further", "then", "once", "here", "there", "when", "where", "why",
"how", "all", "any", "both", "each", "few", "more", "most", "other",
"some", "such", "no", "nor", "not", "only", "own", "same", "so",
"than", "too", "very", "s", "t", "can", "will", "just", "don",
"should", "now", "to", "of", "is", "as", "that", "this", "have", "has"
}