Skip to content

Commit bbf8c3a

Browse files
committed
initial commit after rename from renamify => trim-trailing-whitespace and removing a bunch of files
0 parents  commit bbf8c3a

236 files changed

Lines changed: 60570 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[target.'cfg(all())']
2+
rustflags = ["-D", "warnings"]

.clippy.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Clippy configuration
2+
# Allow certain pedantic lints for now - we can gradually enable them
3+
avoid-breaking-exported-api = false
4+
5+
# Disable some overly pedantic lints for development speed
6+
# We can re-enable these later when the codebase is more stable
7+
disallowed-names = []
8+
9+
# Allow up to 10 arguments for now (some functions need many parameters)
10+
too-many-arguments-threshold = 10
11+
12+
# Allow longer function bodies during development
13+
too-many-lines-threshold = 200
14+
15+
# Allow more cognitive complexity during initial development
16+
cognitive-complexity-threshold = 50

.cursor/mcp.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"mcpServers": {
3+
"task-master-ai": {
4+
"command": "npx",
5+
"args": ["-y", "--package=task-master-ai", "task-master-ai"],
6+
"env": {
7+
"ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY_HERE",
8+
"PERPLEXITY_API_KEY": "YOUR_PERPLEXITY_API_KEY_HERE",
9+
"OPENAI_API_KEY": "YOUR_OPENAI_KEY_HERE",
10+
"GOOGLE_API_KEY": "YOUR_GOOGLE_KEY_HERE",
11+
"XAI_API_KEY": "YOUR_XAI_KEY_HERE",
12+
"OPENROUTER_API_KEY": "YOUR_OPENROUTER_KEY_HERE",
13+
"MISTRAL_API_KEY": "YOUR_MISTRAL_KEY_HERE",
14+
"AZURE_OPENAI_API_KEY": "YOUR_AZURE_KEY_HERE",
15+
"OLLAMA_API_KEY": "YOUR_OLLAMA_API_KEY_HERE"
16+
}
17+
}
18+
}
19+
}

.cursor/rules/cursor_rules.mdc

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
description: Guidelines for creating and maintaining Cursor rules to ensure consistency and effectiveness.
3+
globs: .cursor/rules/*.mdc
4+
alwaysApply: true
5+
---
6+
7+
- **Required Rule Structure:**
8+
```markdown
9+
---
10+
description: Clear, one-line description of what the rule enforces
11+
globs: path/to/files/*.ext, other/path/**/*
12+
alwaysApply: boolean
13+
---
14+
15+
- **Main Points in Bold**
16+
- Sub-points with details
17+
- Examples and explanations
18+
```
19+
20+
- **File References:**
21+
- Use `[filename](mdc:path/to/file)` ([filename](mdc:filename)) to reference files
22+
- Example: [prisma.mdc](mdc:.cursor/rules/prisma.mdc) for rule references
23+
- Example: [schema.prisma](mdc:prisma/schema.prisma) for code references
24+
25+
- **Code Examples:**
26+
- Use language-specific code blocks
27+
```typescript
28+
// ✅ DO: Show good examples
29+
const goodExample = true;
30+
31+
// ❌ DON'T: Show anti-patterns
32+
const badExample = false;
33+
```
34+
35+
- **Rule Content Guidelines:**
36+
- Start with high-level overview
37+
- Include specific, actionable requirements
38+
- Show examples of correct implementation
39+
- Reference existing code when possible
40+
- Keep rules DRY by referencing other rules
41+
42+
- **Rule Maintenance:**
43+
- Update rules when new patterns emerge
44+
- Add examples from actual codebase
45+
- Remove outdated patterns
46+
- Cross-reference related rules
47+
48+
- **Best Practices:**
49+
- Use bullet points for clarity
50+
- Keep descriptions concise
51+
- Include both DO and DON'T examples
52+
- Reference actual code over theoretical examples
53+
- Use consistent formatting across rules

.cursor/rules/self_improve.mdc

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
description: Guidelines for continuously improving Cursor rules based on emerging code patterns and best practices.
3+
globs: **/*
4+
alwaysApply: true
5+
---
6+
7+
- **Rule Improvement Triggers:**
8+
- New code patterns not covered by existing rules
9+
- Repeated similar implementations across files
10+
- Common error patterns that could be prevented
11+
- New libraries or tools being used consistently
12+
- Emerging best practices in the codebase
13+
14+
- **Analysis Process:**
15+
- Compare new code with existing rules
16+
- Identify patterns that should be standardized
17+
- Look for references to external documentation
18+
- Check for consistent error handling patterns
19+
- Monitor test patterns and coverage
20+
21+
- **Rule Updates:**
22+
- **Add New Rules When:**
23+
- A new technology/pattern is used in 3+ files
24+
- Common bugs could be prevented by a rule
25+
- Code reviews repeatedly mention the same feedback
26+
- New security or performance patterns emerge
27+
28+
- **Modify Existing Rules When:**
29+
- Better examples exist in the codebase
30+
- Additional edge cases are discovered
31+
- Related rules have been updated
32+
- Implementation details have changed
33+
34+
- **Example Pattern Recognition:**
35+
```typescript
36+
// If you see repeated patterns like:
37+
const data = await prisma.user.findMany({
38+
select: { id: true, email: true },
39+
where: { status: 'ACTIVE' }
40+
});
41+
42+
// Consider adding to [prisma.mdc](mdc:.cursor/rules/prisma.mdc):
43+
// - Standard select fields
44+
// - Common where conditions
45+
// - Performance optimization patterns
46+
```
47+
48+
- **Rule Quality Checks:**
49+
- Rules should be actionable and specific
50+
- Examples should come from actual code
51+
- References should be up to date
52+
- Patterns should be consistently enforced
53+
54+
- **Continuous Improvement:**
55+
- Monitor code review comments
56+
- Track common development questions
57+
- Update rules after major refactors
58+
- Add links to relevant documentation
59+
- Cross-reference related rules
60+
61+
- **Rule Deprecation:**
62+
- Mark outdated patterns as deprecated
63+
- Remove rules that no longer apply
64+
- Update references to deprecated rules
65+
- Document migration paths for old patterns
66+
67+
- **Documentation Updates:**
68+
- Keep examples synchronized with code
69+
- Update references to external docs
70+
- Maintain links between related rules
71+
- Document breaking changes
72+
Follow [cursor_rules.mdc](mdc:.cursor/rules/cursor_rules.mdc) for proper rule formatting and structure.

0 commit comments

Comments
 (0)