Research industry best practices, patterns, and solutions relevant to the current task or technology stack.
Researches industry best practices, patterns, and solutions for your specific technology stack and task. Use when planning new features, evaluating implementation approaches, or solving complex technical problems to get evidence-based recommendations with pros/cons analysis.
/plugin marketplace add KreativReason/merged-end-to-end-ai-dpp---e2e-cli/plugin install kreativreason-e2e-pipeline@kreativreason-marketplaceResearch industry best practices, patterns, and solutions relevant to the current task or technology stack.
| Area | Description |
|---|---|
| Patterns | Design patterns, architectural approaches |
| Security | OWASP guidelines, security best practices |
| Performance | Optimization techniques, caching strategies |
| Testing | Test patterns, coverage strategies |
| DevOps | CI/CD practices, deployment patterns |
| Parameter | Required | Description |
|---|---|---|
topic | Yes | What to research (e.g., "React state management") |
context | No | Project context for relevance filtering |
depth | No | quick, standard, deep (default: standard) |
{
"artifact_type": "best_practices_research",
"status": "complete",
"data": {
"topic": "React state management for large forms",
"researched_at": "ISO-8601",
"depth": "standard",
"summary": "For complex forms, React Hook Form with Zod validation provides the best balance of performance and DX",
"approaches": [
{
"name": "React Hook Form + Zod",
"description": "Uncontrolled form library with schema validation",
"pros": [
"Minimal re-renders",
"TypeScript inference from schema",
"Small bundle size"
],
"cons": [
"Learning curve for uncontrolled patterns",
"Less intuitive for simple forms"
],
"when_to_use": "Complex forms, performance-critical",
"examples": ["https://react-hook-form.com/get-started"],
"project_fit": "high"
},
{
"name": "Formik + Yup",
"description": "Controlled form library with schema validation",
"pros": [
"Intuitive API",
"Good documentation",
"Mature ecosystem"
],
"cons": [
"Re-renders on every change",
"Larger bundle size"
],
"when_to_use": "Simpler forms, team familiarity",
"project_fit": "medium"
}
],
"recommendation": {
"choice": "React Hook Form + Zod",
"rationale": "Project already uses Zod for API validation, provides consistency. Performance benefits align with requirements.",
"implementation_notes": [
"Use useForm hook at form component level",
"Define schema in separate files for reuse",
"Use FormProvider for nested form sections"
]
},
"sources": [
{
"title": "React Hook Form Documentation",
"url": "https://react-hook-form.com",
"relevance": "Official docs, comprehensive guides"
},
{
"title": "Zod + React Hook Form Integration",
"url": "https://github.com/react-hook-form/resolvers",
"relevance": "Official integration library"
}
],
"related_patterns": [
{
"pattern": "Colocation",
"description": "Keep validation schema near form component"
}
]
}
}
Prioritize sources in this order:
Research results inform:
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.