Codelf
make cursor/windsurf work better
Install / Use
/learn @Disdjj/CodelfAbout this skill
Quality Score
0/100
Category
Development & EngineeringSupported Platforms
Cursor
Windsurf
README
Codelf
By DJJ & Dannielee
Thanks
Powered By AiHubMix
Codelf is a powerful AI-assisted coding tool that provides better code understanding and modification capabilities for AI agents through the Model Context Protocol (MCP).
MCP Setup
add mcp settings
{
"mcpServers": {
"codelf": {
"command": "npx",
"args": ["codelf"]
}
}
}
- Initialize codelf in Cursor/Windsurf agent mode by sending the command:
do init-codelf and follow the instructions
-
In most cases, prompts will be automatically assembled by codelf
-
After the agent completes writing, you can prompt:
do update-project-info
Cursor Setup
- goto
Settings->Rules->User Rules - add Content
Before responding or modifying the code, one should first obtain comprehensive information via `get-project-info` before making any decisions.
Everytime you finish editing code, you must call `update-project-info` and follow the instructions from the response
- if you are in windows, add
I am currently under the Windows system. Use like "C:\Users\..." to send Path
Windsurf Setup
- goto
Settings->cascade->Memories and Rules->Global rules - add Content
Before responding or modifying the code, one should first obtain comprehensive information via `get-project-info` before making any decisions.
Everytime you finish editing code, you must call `update-project-info` and follow the instructions from the response
- if you are in windows, add
I am currently under the Windows system. Use like "C:\\Users\\..." to send Path
Core Features
AI IDE Friendly
- Automatically analyzes project language/structure/purpose
- Reads code blocks in Edit/Agent mode
- Records each LLM request for traceability
MCP Support
- Comprehensive project structure
- Complete code standards
Adaptive Changes
- File tree
- Project structure changes
- Code standard validation
