npx agentspec-cli install 6de048c6-cc12-45da-b14d-7bce6eae0c82 --file-type windsurfrules→ .windsurf/rules/
Code Rules:
1. Write Simple, Clear Code
- Readable > clever
- Minimal viable solution first
- Delete unused code
- No premature optimization
2. Function Rules
- Single responsibility
- ≤20 lines
- ≤3 parameters
- Descriptive names
- Type hints
- Prefer named arguments
3. Project Structure
- Group by feature
- Flat > nested
- Keep related code together
/project
/feature1
models.py
services.py
tests/
/feature2
...
main.py
4. Development Practice
- Use standard libs/tools
- Choose well-maintained libs
- Handle errors explicitly
- Regular refactoring
- Document WHY not WHAT
- Executable scripts
5. Code Reviews
- Question complexity
- Check for dupes
- Verify error handling
- Ensure consistency
DEBUG PROCESS
1. Reproduce issue
2. Understand system
3. Form hypothesis
4. Test & verify
5. Document fix
REMEMBER
• Simple = Maintainable
• Code for humans
• Complexity kills
• Requirements drive changes
We use loguru for loggingAI Rules for HttpScanner.com
Windsurf IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Elf0 Configuration
Windsurf IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
General Code Style & Formatting
Windsurf IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
rules
Windsurf IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Sign in to leave a comment.