/workflows:discover-test-patternsfrom workflows
Scans a project to discover and document test patterns, file organization, frameworks, and conventions. Useful during planning to establish consistent testing practices.
Ships in workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
test-patterns, testing-conventions, test-discovery, planning
npx claudepluginhub eveld/claude --plugin workflows29 skills in this plugin
/agent-awarenessALWAYS check this skill before using grep, glob, Task tool, or doing any codebase exploration. Guides you to use specialized agents that are more efficient than basic tools./before-code-analysisUse BEFORE reading multiple files to understand code. Reminds you to use codebase-analyzer agent instead of manual file reading./before-file-searchUse BEFORE running grep or glob commands. Reminds you to use codebase-locator agent instead of basic file search tools./before-spawning-taskUse BEFORE using the Task tool. Ensures you select the correct specialized subagent_type instead of generic agents./debug-systematicallyUse when encountering errors or bugs to follow a systematic debugging process instead of jumping to conclusions./determine-feature-slugDetermine feature slug interactively by auto-detecting next number and prompting user for descriptionOther plugins' skills for the same job