Use during planning to discover and document test patterns and conventions for writing consistent tests.
Discovers and documents test patterns and conventions for consistent testing.
/plugin marketplace add eveld/claude/plugin install eveld-workflows@eveld/claudeThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Automatically discover and document test patterns used in the project for reference during planning and implementation.
*_test.go, *.test.ts, test_*.py)tests/, __tests__/, alongside source)Find and document:
Identify testing frameworks:
Write to: thoughts/notes/testing.md
Use the template from templates/testing-reference.md and populate with discovered patterns.
---
last_updated: 2025-12-23T10:00:00Z
last_updated_by: Claude
project: my-project
---
# Test Patterns Reference
Last discovered: 2025-12-23
## Go Test Patterns
### File Organization
- **Location**: `*_test.go` files alongside source
- **Framework**: testify/require
- **Example**: `internal/auth/handler_test.go`
### Common Pattern: Table-Driven Tests
**Found in**: `internal/auth/handler_test.go:45-78`
```go
func TestAuthHandler(t *testing.T) {
tests := []struct {
name string
input string
expected string
}{
// test cases
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
require.Equal(t, tt.expected, result)
})
}
}
require for assertions that should stop testassert for non-critical checksmocks/ directory
## When to Use
Automatically invoked by the `plan` command if `thoughts/notes/testing.md` doesn't exist.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.