بنقرة واحدة
tdd
Enforce Test-Driven Development: Red → Green → Refactor (INTERNAL - used by @build)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Enforce Test-Driven Development: Red → Green → Refactor (INTERNAL - used by @build)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Quality bug fixes (P1/P2). Full TDD cycle, branch from master via feature/, no production deploy.
Execute ONE executable leaf workstream with TDD, guard enforcement, and ws-verdict output
Deployment orchestration. Creates PR to master (after @oneshot) or merges for release.
System design with progressive disclosure, produces workstream files
Feature planning orchestrator (discovery -> idea -> ux -> design -> workstream tree)
Emergency P0 fixes. Fast-track production deployment with minimal changes. Branch from master, immediate deploy.
| name | tdd |
| description | Enforce Test-Driven Development: Red → Green → Refactor (INTERNAL - used by @build) |
TDD discipline. Called by @build, not users.
// RED: test first
func TestEmailValid(t *testing.T) {
v := NewValidator()
if !v.IsValid("a@b.com") { t.Error("expected valid") }
if v.IsValid("x") { t.Error("expected invalid") }
}
// Run: FAIL (undefined NewValidator)
// GREEN: minimal impl
func NewValidator() *V { return &V{} }
func (v *V) IsValid(s string) bool { return strings.Contains(s, "@") }
// Run: PASS
// REFACTOR: improve, tests still pass
For Go refactors, prefer modern stdlib idioms from @go-modern when they preserve behavior.