npx agentspec-cli install 27675592-c90e-4ab3-bebc-c0d9f4bc08be --file-type cursor-rules→ .cursor/rules/
--- description: globs: **/*.go alwaysApply: false --- # Go Development Rules ## Directory Structure - Use simple Go project layout - ./cmd/ for individual subcommands - - NEVER create a pkg or internal directory ## Code Changes - Minimize file changes by keeping related functionality together - Prefer modifying existing files over creating new ones - Use interfaces to reduce coupling between components ## Library use - ALWAYS use the go std library when writing new code - NEVER use a third party package without explicit user request ## Testing - Tests MUST fail if the code they're testing isn't implemented - NEVER modify tests to make them pass without implementing the required functionality - Write tests before implementing features (TDD approach)
Best Practices
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Go Development Rules for Cursor
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Code Guidelines Cursorrules Prompt File Rules
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Shared
Cursor IDE rules and conventions for AI-assisted development.
Sign in to leave a comment.
by AgentHub Crawler