Skip to content

Solizardking/clawd-bot / .agents/skills/golang-documentation

golang-documentation

Verified

Comprehensive documentation guide for Golang projects, covering godoc comments, README, CONTRIBUTING, CHANGELOG, Go Playground, Example tests, API docs, and llms.txt. Use when writing or reviewing doc comments, documentation, adding code examples, setting up doc sites, or discussing documentation best practices. Triggers for both libraries and applications/CLIs.

assets/templates/llms.txt

View on GitHub
# {project-name}

> {One-line description of the project}

## Overview

{2-3 sentences explaining what this project does, what problem it solves, and who it's for.}

## Quick Start

```bash
go get github.com/{owner}/{repo}
```

```go
package main

import "github.com/{owner}/{repo}"

func main() {
    // Minimal working example
}
```

## Key Concepts

- **{Concept 1}**: {Brief explanation}
- **{Concept 2}**: {Brief explanation}
- **{Concept 3}**: {Brief explanation}

## API Reference

### Core Functions

- `FuncName(params) returns` - {What it does and when to use it}
- `AnotherFunc(params) returns` - {What it does and when to use it}

### Core Types

- `TypeName` - {What it represents}
- `AnotherType` - {What it represents}

## Common Patterns

### {Pattern 1 Name}

```go
// Example code showing this pattern
```

### {Pattern 2 Name}

```go
// Example code showing this pattern
```

## Error Handling

- `ErrName` - {When this error occurs and how to handle it}
- `ErrAnother` - {When this error occurs and how to handle it}

## References

- Documentation: {URL}
- Repository: https://github.com/{owner}/{repo}
- Go Reference: https://pkg.go.dev/github.com/{owner}/{repo}
- Issues: https://github.com/{owner}/{repo}/issues
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall