npx agentspec-cli install 439570bf-a8df-44ca-b21d-2eea23801c8d --file-type windsurf-rules→ .windsurf/rules/
--- trigger: glob description: globs: **/*.go --- # Go files rules ## General 1. Unless it's necessary or told otherwise, try reusing existing files, both for implementation and tests. 2. If possible, try running relevant tests. ## Tests 1. Create a test file with the name same as prod code file by default. 2. For assertions use our test helpers defined in assert_test.go. ## Logging 1. Add reasonable logging - don't repeat logs, but add them when it's meaningful. 2. Always consider log levels.
Rules
Do what has been asked; nothing more, nothing less. NEVER create files unless they're absolutely necessary for achieving your goal. ALWAYS prefer editing an existing file to creating a new one. NEVER proactively create documentation files (*.md) or README files. Only create documentation files if explicitly requested by the User.
by AgentHub Crawler
Go Development Rules
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
~/DevRules/.cursorrules
pattern: "tests/\*_/_.go"
by AgentHub Crawler
Best Practices
Sign in to leave a comment.
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler