Cline rules
.clinerules/go-codestyle.mdCline rules
Quality
64/100
Scores the file, not the repository.Length
204 words
6 headings · 0 code blocksRepository
0
— · pushed 32 days agoLast changed
3 days ago
First indexed 3 days ago.1### Code Style23- Follow standard Go code style and conventions (gofmt).4- Use meaningful variable and function names.5- Add comments for exported functions and types.6- Keep functions small and focused on a single responsibility.78### Error Handling910- Use the `fmt.Errorf("failed to X: %w", err)` pattern for error wrapping.11- Always check errors and provide context.12- Avoid panics in production code.1314### Dependencies1516- Prefer standard library solutions when possible, suggest libraries when appropriate.17- Don't write solutions from scratch if a well-known and widely used library exists18- Minimize external dependencies, unless an external dependency makes the code more cleaner or efficient.19- Pin dependency versions in go.mod.20- Run `go mod tidy` after adding new libraries2122### Testing2324- Write unit tests for core functionality.25- Use table-driven tests where appropriate.26- Mock external dependencies for testing.2728### Development2930- Run unit tests after a task is complete and confirm that they pass3132### Libraries3334- For CLI tools use spf13/cobra to generate commands and subcommands35- Use spf13/viper to manage configuration36- If Sqlite is used, use modernc.org/sqlite as the library, because it works even when cross-compiled37- Use slog for logging and fmt.Printf for interactive output38
Also in lepinkainen/hovimestari
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| lepinkainen/hovimestari.clinerules/project.md · 0 | Cline rules | archtypesdatabaseagent-behaviour+1 | 58/100 | 3 days ago | |
| lepinkainen/hovimestariAGENTS.md · 0 | AGENTS.md | buildtestlint-formatstyle+4 | 86/100 | 3 days ago | |
| lepinkainen/hovimestariCLAUDE.md · 0 | CLAUDE.md | buildteststylearch+2 | 89/100 | 3 days ago | |
| lepinkainen/hovimestariGEMINI.md · 0 | GEMINI.md | teststylearchtesting-strategy+1 | 81/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| JCodesMore/ai-website-cloner-template.clinerules · 31k | Cline rules | buildlint-formatstylearch+3 | 97/100 | 2 days ago | |
| BryaanF/LiantPortfolio.clinerules/project-guidelines.md · 0 | Cline rules | buildstylearchgit+2 | 96/100 | 3 days ago | |
| lepinkainen/humanlog.clinerules/project-rules.md · 0 | Cline rules | setupbuildtestlint-format+8 | 96/100 | 3 days ago | |
| u9401066/zotero-keeper.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| u9401066/pubmed-search-mcp.clinerules/50-pubmed-project.md · 23 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| VaillerTeeter/HoshimiNest.clinerules/project-identity.md · 1 | Cline rules | setuparchtypesdo-not | 93/100 | yesterday | |
| blendsdk/codeops-mcp.clinerules/project.md · 0 | Cline rules | buildteststylearch+7 | 91/100 | 3 days ago |
