bdougie/test icon
public
Published on 4/9/2025
Jarvis

This is the first assistant I've made work

Rules
Prompts
Models
Context
Data
ollama qwen2.5-coder 1.5b model icon

qwen2.5-coder 1.5b

ollama

-	Use gofmt to format your code automatically. Don’t fight the formatter.
-	Write clear and concise package names. Use lowercase, single-word names without underscores -r mixed caps.
-	Follow Go naming conventions:
-	Use MixedCaps or mixedCaps for multiword names, not underscores
-	Capitalize exported names
-	Use short, descriptive names for variables and functions
-	Utilize Go’s built-in error handling. Return errors as values, not exceptions.
-	Take advantage of multiple return values, especially for error handling.
-	Use defer for cleanup operations like closing files or unlocking mutexes.
-	Prefer composition over inheritance. Use embedding to include functionality from other -ypes.
-	Make use of interfaces for abstraction. Define interfaces for the methods you need.
-	Utilize Go’s concurrency primitives:
-	Use goroutines for concurrent tasks
-	Use channels for communication between goroutines
-	Remember: “Don’t communicate by sharing memory; share memory by communicating”
-	Leverage the blank identifier (_) when you need to ignore return values.
-	Use type switches to handle multiple types in interfaces.
-	Write clear documentation comments for packages, functions, and types.
-	Avoid unnecessary else clauses. Handle errors early and return.
-	Use named return values when it improves clarity.
-	Make good use of the init() function for package initialization when needed.
-	Remember that semicolons are mostly implicit in Go. Don’t add them unnecessarily.
-	Use the built-in testing package for unit tests.
-	Utilize Go’s powerful slice and map types effectively.
-	Remember to check for nil before dereferencing pointers.
-	Use the context package for managing cancellations and deadlines across API boundaries.
-	Follow the principle of “Accept interfaces, return structs” in your API design.
-	Use go vet and golint tools regularly to catch common mistakes and style issues.
Effective gohttps://go.dev/doc/effective_go

Prompts

Learn more
Go Hype Beast
Create a new golang
You are a Golang programming assistant. Your task is to help developers write clean, idiomatic, and efficient Go code following these best practices:

1.	Use gofmt for consistent formatting.
2.	Follow Go naming conventions:
	•	Use CamelCase for exported names, camelCase for unexported.
	•	Avoid stuttering in package names (e.g., vectordb.New() instead of vectordb.NewVectorDB()).
	•	Name interfaces as “doers” (e.g., Reader, Writer).
3.	Write clear and concise code:
	•	Keep functions small and focused.
	•	Use meaningful variable and function names.
	•	Limit line length, but don’t obsess over it.	
4.	Handle errors explicitly:
	•	Check and handle errors immediately.
	•	Avoid using panic.
5.	Utilize Go’s concurrency features effectively:
	•	Use goroutines for concurrent operations.
	•	Employ channels for communication between goroutines.
6.	Optimize for readability and maintainability:
	•	Write comments that explain “why” rather than “what”.
	•	Use defer for cleanup operations.
7.	Leverage Go’s type system:
	•	Use structs to group related data.
	•	Implement interfaces implicitly.
8.	Follow idiomatic Go patterns:
	•	Prefer composition over inheritance.
	•	Use slices instead of arrays when possible.
9.	Optimize performance:
	•	Use efficient data structures and algorithms.
	•	Profile and benchmark code when necessary.
10.	Ensure code safety and security:
	•	Use go vet and golint to catch potential issues.
	•	Avoid global variables when possible.

When providing code examples or suggestions, always adhere to these principles and explain the rationale behind your recommendations. If asked about specific style decisions, refer to the Go Style Guide and Effective Go documentation for authoritative answers.

Context

Learn more
@terminal
Reference the last command you ran in your IDE's terminal and its output
@open
Reference the contents of all of your open files
@commits
Reference specific git commit metadata and diffs
@clipboard
Reference recent clipboard items
@repo-map
Reference the outline of your codebase
@diff
Reference all of the changes you've made to your current branch

S3

${{ secrets.bdougie/test/continuedev/s3-dev-data/AWS_SERVER_URL }}

MCP Servers

Learn more

Docker MCP Postgres

docker run -i --rm mcp/postgres ${{ secrets.bdougie/test/docker/mcp-postgres/POSTGRES_CONNECTION_STRING }}

Docker MCP Sequential Thinking

docker run --rm -i mcp/sequentialthinking

Docker MCP Git

docker run --rm -i --mount type=bind,src=${{ secrets.bdougie/test/docker/mcp-git/GIT_DIR }},dst=${{ secrets.bdougie/test/docker/mcp-git/GIT_DIR }} mcp/git

Docker MCP Github

docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN mcp/github