RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cline rules/lepinkainen/hovimestari

Cline rules

.clinerules/go-codestyle.md
Cline rules

Quality

64/100

Scores the file, not the repository.

Length

204 words

6 headings · 0 code blocks

Repository

0

— · pushed 32 days ago

Last changed

3 days ago

First indexed 3 days ago.
lepinkainen/hovimestari/.clinerules/go-codestyle.mdRawGitHub
1### Code Style
2 
3- 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.
7 
8### Error Handling
9 
10- 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.
13 
14### Dependencies
15 
16- 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 exists
18- 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 libraries
21 
22### Testing
23 
24- Write unit tests for core functionality.
25- Use table-driven tests where appropriate.
26- Mock external dependencies for testing.
27 
28### Development
29 
30- Run unit tests after a task is complete and confirm that they pass
31 
32### Libraries
33 
34- For CLI tools use spf13/cobra to generate commands and subcommands
35- Use spf13/viper to manage configuration
36- If Sqlite is used, use modernc.org/sqlite as the library, because it works even when cross-compiled
37- Use slog for logging and fmt.Printf for interactive output
38 

Commands it names

  • go mod tidy

Sections

  • Code Style
  • Error Handling
  • Dependencies
  • Testing
  • Development
  • Libraries

What it covers

testlint-formatcode-styletesting-strategydependencies

Stack — with the evidence

go

(1.00)

github-actions

(0.60)

Format

Cline rules

A single file or a folder of files, all always-on. The folder form is the simplest way any format here lets you split rules into topics without also learning an activation model.

What the corpus says about it

Repository

Owner
lepinkainen
Language
—
License
—
Archived
no

All configs in this repo

Also in lepinkainen/hovimestari

Diff this repo’s formats

One 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?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
lepinkainen/hovimestari.clinerules/project.md · 0Cline rulesgogithub-actionsarchtypesdatabaseagent-behaviour+158/1003 days ago
lepinkainen/hovimestariAGENTS.md · 0AGENTS.mdgogithub-actionsbuildtestlint-formatstyle+486/1003 days ago
lepinkainen/hovimestariCLAUDE.md · 0CLAUDE.mdgogithub-actionsbuildteststylearch+289/1003 days ago
lepinkainen/hovimestariGEMINI.md · 0GEMINI.mdgogithub-actionsteststylearchtesting-strategy+181/1003 days ago
Diff against .clinerules/project.md Diff against AGENTS.md Diff against CLAUDE.md Diff against GEMINI.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
JCodesMore/ai-website-cloner-template.clinerules · 31kCline rulestypescriptnode+7buildlint-formatstylearch+397/1002 days ago
BryaanF/LiantPortfolio.clinerules/project-guidelines.md · 0Cline rulesjavascripttailwind+5buildstylearchgit+296/1003 days ago
lepinkainen/humanlog.clinerules/project-rules.md · 0Cline rulesgogithub-actionssetupbuildtestlint-format+896/1003 days ago
u9401066/zotero-keeper.clinerules/50-pubmed-project.md · 6Cline rulespytestruff+6testlint-formatstylearch+194/1003 days ago
u9401066/zotero-keepervscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/50-pubmed-project.md · 6Cline rulespytestruff+6testlint-formatstylearch+194/1003 days ago
u9401066/pubmed-search-mcp.clinerules/50-pubmed-project.md · 23Cline rulespythondocker+4testlint-formatstylearch+194/1003 days ago
VaillerTeeter/HoshimiNest.clinerules/project-identity.md · 1Cline rulestypescriptvite+4setuparchtypesdo-not93/100yesterday
blendsdk/codeops-mcp.clinerules/project.md · 0Cline rulestypescriptvitest+3buildteststylearch+791/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack