This command helps you analyze a work document (plan, Markdown file, specification, or any structured document), create a comprehensive todo list using the TodoWrite tool, and then systematically execute each task until the entire plan is completed. It combines deep analysis with practical execution to transform plans into reality.
Analyzes work documents to create a comprehensive todo list and systematically executes each task using skill-based automation for UI development, API integration, and testing workflows. Use this to transform specifications into production-ready implementations with built-in quality assurance.
/plugin marketplace add shivrajkumar/traya-plugin/plugin install traya-react-native@traya-pluginThis command helps you analyze a work document (plan, Markdown file, specification, or any structured document), create a comprehensive todo list using the TodoWrite tool, and then systematically execute each task until the entire plan is completed. It combines deep analysis with practical execution to transform plans into reality.
Skill-Based Execution: The command automatically detects task types (React Native UI development, API integration) and invokes appropriate skills (rn-ui-developer, rn-api-integrator, rn-app-tester, rn-code-reviewer) for comprehensive, iterative workflows with built-in quality assurance. This leverages all bundled MCP servers (Figma, Postman, iOS Simulator, Mobile Device, Context7, Serena) to ensure production-ready results on both iOS and Android.
<input_document> #$ARGUMENTS </input_document>
Update Main Branch
git checkout main
git pull origin main
Create Feature Branch and Worktree
git_root=$(git rev-parse --show-toplevel)
mkdir -p "$git_root/.worktrees"
if ! grep -q "^\.worktrees$" "$git_root/.gitignore"; then
echo ".worktrees" >> "$git_root/.gitignore"
fi
git worktree add -b feature-branch-name "$git_root/.worktrees/feature-branch-name" main
cd "$git_root/.worktrees/feature-branch-name"
Verify Environment
Read Input Document
Create Task Breakdown
Build Todo List
Detect Task Type and Invoke Skills
Analyze the work document and todo list to determine the task type, then automatically invoke appropriate skills for comprehensive execution:
A. For UI Development Tasks
If the work involves building UI components from Figma designs or creating new pages/components:
1. Invoke ui-developer skill
- Extract design specifications from Figma (Figma MCP)
- Analyze existing codebase patterns (Serena MCP)
- Fetch library documentation (Context7 MCP)
- Implement component with TypeScript + Tailwind
- Visual verification loop with Chrome DevTools
- Iterate until pixel-perfect match
2. If backend APIs needed → Invoke api-integrator skill
- Test APIs with Postman (Postman MCP)
- Set up API client with interceptors
- Implement authentication integration
- Connect APIs to UI components
- Add loading and error states
- Integration testing with Chrome DevTools
- Security audit
3. Invoke ui-tester skill
- Functional testing (all interactive elements)
- Error detection and analysis
- Responsive and visual testing
- Accessibility validation (WCAG compliance)
- Performance testing (Core Web Vitals)
- Issue documentation and fixing
- Final validation
4. Invoke code-reviewer skill
- Task completion verification
- Technical quality review
- Best practices validation (Context7 MCP)
- Code structure and organization review
- Performance, security, accessibility checks
- Project conventions compliance
B. For API Integration Tasks
If the work focuses primarily on connecting backend APIs:
1. Invoke api-integrator skill
- API discovery and planning (Serena MCP for patterns)
- Comprehensive API testing with Postman MCP
- Frontend integration (authentication, data fetching)
- Integration testing with Chrome DevTools MCP
- Performance optimization
- Security audit
- Documentation
2. Invoke ui-tester skill
- Test complete data flow from API to UI
- Network monitoring and validation
- Error scenario testing
- Performance validation
3. Invoke code-reviewer skill
- Integration quality review
- Security validation
- Performance check
- Best practices compliance
C. For Other Tasks
If the work doesn't fit UI development or API integration patterns, fall back to manual execution with the task loop below.
Task Execution Loop (Fallback for non-UI/API tasks)
while (tasks remain):
- Select next task (priority + dependencies)
- Mark as in_progress
- Execute task completely
- Validate completion
- Mark as completed
- Update progress
Quality Assurance
Progress Tracking
Final Validation
Prepare for Submission
Create Pull Request
git push -u origin feature-branch-name
gh pr create --title "Feature: [Description]" --body "[Detailed description]"