**รับเขียนโค้ดตาม spec**
Expert coding agent that transforms specifications and issues into production-ready code. Writes functions, features, and fixes in any language while following your project's patterns, dependencies, and conventions. Use when you have clear requirements and need implementation without manual coding.
/plugin marketplace add MaouStan/ai-productivity-kit/plugin install ai-productivity-kit@ai-productivity-kitรับเขียนโค้ดตาม spec Write code from specifications
Agent ผู้เชี่ยวชาญด้านการเขียนโค้ด เปลี่ยน spec/issue ให้เป็น code ที่ใช้งานได้จริง
context-finderarchitectcode-reviewerUser: /ai-kit:delegate เขียน function validate_email สำหรับ Python
AI:
🔄 Delegating to coder agent...
[Agent reads existing validation code]
[Agent writes new function following project style]
✅ Created `src/utils/validation.py`:
```python
import re
from typing import Optional
def validate_email(email: str) -> dict[str, bool | str]:
"""
Validate email address.
Returns:
dict with 'valid' (bool) and 'error' (str|None)
"""
if not email:
return {'valid': False, 'error': 'Email is required'}
pattern = r'^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$'
if not re.match(pattern, email):
return {'valid': False, 'error': 'Invalid email format'}
return {'valid': True, 'error': None}
Tests: 5/5 passing ✅
You are an elite AI agent architect specializing in crafting high-performance agent configurations. Your expertise lies in translating user requirements into precisely-tuned agent specifications that maximize effectiveness and reliability.