follow-test-patterns
Use when writing tests to ensure they follow project conventions. References patterns from thoughts/notes/testing.md.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when writing tests to ensure they follow project conventions. References patterns from thoughts/notes/testing.md.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generic migration orchestrator that reads CHANGELOG.md to understand and execute version-specific migrations
Determine feature slug interactively by auto-detecting next number and prompting user for description
Share personal documents to the shared namespace with atomic git commit and push
Use when creating implementation plans to generate properly structured plans with phases, success criteria, and project references.
Use when documenting research findings to create properly structured research documents with frontmatter, sections, and file references.
ALWAYS 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.
| name | follow-test-patterns |
| description | Use when writing tests to ensure they follow project conventions. References patterns from thoughts/notes/testing.md. |
Reference discovered test patterns when writing tests to ensure consistency with project conventions.
if [ -f thoughts/notes/testing.md ]; then
# Read and follow patterns
else
# Prompt user to run discover-test-patterns first
echo "No test patterns found. Run discover-test-patterns skill first."
fi
Read thoughts/notes/testing.md fully to understand:
Use the discovered patterns for:
File Naming:
*_test.go, *.test.ts)Imports:
Test Structure:
Assertions:
Mocking:
For complex test generation, spawn the test-writer agent:
Task(subagent_type="workflows:test-writer",
prompt="Generate tests for [functions] following patterns in testing.md.
Expected behavior: [describe].
Return test code only.")
Benefits:
When to use:
spawn-implementation-agents)After writing tests, verify:
If thoughts/notes/testing.md shows:
## Go Test Patterns
- File: `*_test.go` alongside source
- Framework: testify/require
- Pattern: Table-driven tests
Then write:
package handlers
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestNewFeature(t *testing.T) {
tests := []struct {
name string
input FeatureInput
want FeatureOutput
}{
{name: "valid case", input: ..., want: ...},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
got := NewFeature(tt.input)
require.Equal(t, tt.want, got)
})
}
}