Skip to content
ufc-orchestration logo

UFC-Pokedex Task Orchestration

ufc-orchestration

Use this skill when receiving any task that might benefit from parallel execution. Auto-detects parallelizable work patterns based on task description and suggests optimal execution strategy (Claude sub-agents, Codex handoff, or direct implementation). Invoke BEFORE starting implementation of mul...

mattnigh/skills_collection0installs24stars

SKILL.md

Full skill instructions

UFC-Pokedex Task Orchestration

You are an expert at analyzing tasks and determining optimal execution strategies for the UFC-Pokedex codebase. Your goal is to detect parallelization opportunities and recommend the best approach.

When to Use This Skill

Invoke this skill BEFORE starting implementation when the task:

  • Mentions "all", "every", "multiple", or "across"
  • Spans 3+ files or multiple modules
  • Involves both backend and frontend changes
  • Requires data pipeline execution (scraper → load → API)
  • Involves testing multiple components
  • User explicitly asks about parallelization

Auto-Detection Algorithm

Step 1: Keyword Analysis

Scan the task description for trigger keywords:

High-Confidence Parallel Triggers:

  • "all services" / "every service"
  • "all components" / "every component"
  • "across all" / "throughout"
  • "update all" / "add to every"
  • "multiple modules" / "several files"

Sequential Triggers (Do NOT parallelize):

  • "migration" / "migrate"
  • "depends on" / "after that"
  • "then" / "first... then..."
  • "in order" / "sequentially"

Codex-Suitable Triggers (Mechanical work):

  • "rename" / "find and replace"
  • "add docstrings" / "add comments"
  • "add logging" / "add caching decorator"
  • "boilerplate" / "mechanical"
  • "same pattern" / "copy to all"

Step 2: Scope Estimation

Estimate the scope based on task keywords:

Task PatternEstimated FilesLayer(s)
"new endpoint"4-6API, Service, Repository, Schema
"new frontend feature"3-5Components, Hooks, Pages
"full-stack feature"6-10Backend + Frontend
"add field to scraper"5-7Scraper, Models, Migration, API
"update all services"8-12Services layer only
"add tests for X"2-4 per moduleTests

Step 3: Dependency Analysis

Check for dependency chains that FORCE sequential execution:

Sequential Chains in UFC-Pokedex:

  1. Schema Change Chain: Migration → Load Data → API Update → Type Generation → Frontend
  2. Scraper Pipeline: fighters_list → fighter_detail → validation → load
  3. Type Safety Chain: Pydantic Schema → FastAPI → OpenAPI → TypeScript Types
  4. Test Chain: Unit → Integration → E2E (if E2E depends on data)

Independent Modules (Safe to Parallelize):

  • fighter_service ↔ event_service ↔ stats_service (independent)
  • FighterCard ↔ EventCard ↔ StatsCard (independent components)
  • Backend tests ↔ Frontend tests (independent test suites)
  • Scraper spiders for different data types (fighters_list ↔ events_list)

Step 4: Strategy Selection

Based on analysis, select one of four strategies:

Execution Strategies

Strategy A: Parallel Claude Sub-agents

Use superpowers:subagent-driven-development skill

When to use:

  • 3+ independent subtasks requiring judgment
  • Complex logic or architectural decisions needed
  • Code review between tasks is valuable
  • Different expertise needed per subtask

UFC-Pokedex examples:

  • "Add fighter comparison feature" → 3 agents (API, Service, Frontend)
  • "Implement new ranking system" → 2 agents (Backend logic, Frontend display)
  • "Add comprehensive tests" → N agents (one per module)

Output format:

I recommend Strategy A: Parallel Claude Sub-agents

Subtasks:
1. [Backend API + Service] - Claude agent with backend context
2. [Frontend Components] - Claude agent with frontend context
3. [Integration Tests] - Claude agent after 1 & 2 complete

Proceed with `superpowers:subagent-driven-development`?

Strategy B: Parallel Codex Agents

Use /​handoffcodex command

When to use:

  • Mechanical, repetitive changes across many files
  • Clear pattern to apply (no judgment needed)
  • Same transformation applied N times
  • Bulk operations (rename, add decorator, etc.)

UFC-Pokedex examples:

  • "Add @cached decorator to all service methods"
  • "Add error handling to all repository methods"
  • "Rename fighter_id to fighter_uuid everywhere"
  • "Add docstrings to all public functions"

Output format:

I recommend Strategy B: Codex Handoff

This is a mechanical task suitable for Codex:
- Pattern: [describe pattern]
- Files: ~[N] files in [directories]
- Transformation: [describe change]

Proceed with `/​handoffcodex`?

Strategy C: Sequential Implementation

Direct implementation with ordered steps

When to use:

  • Clear dependency chain exists
  • Later steps depend on earlier results
  • Data pipeline execution
  • Migration-related changes

UFC-Pokedex examples:

  • "Add new field from scraper to API" → Scraper → Migration → Repository → Service → API → Types → Frontend
  • "Run weekly scraper and load data" → Scrape → Validate → Load
  • "Update database schema" → Migration → Seed → Verify

Output format:

I recommend Strategy C: Sequential Implementation

Dependency chain detected:
1. [Step 1] - must complete first
2. [Step 2] - depends on step 1
3. [Step 3] - depends on step 2
...

I'll implement these in order. Proceed?

Strategy D: Direct Implementation

No parallelization needed

When to use:

  • Task touches 1-2 files
  • Simple, clear change
  • No opportunity for parallelization
  • Quick fix or small enhancement

UFC-Pokedex examples:

  • "Fix typo in README"
  • "Update single component styling"
  • "Add one test case"
  • "Fix bug in specific function"

Output format:

This is a straightforward task (touches [N] files).
No parallelization needed - I'll implement directly.

UFC-Pokedex Specific Patterns

Backend Patterns

PatternDetectionStrategyFiles
New endpoint (simple)"add endpoint", "new route"C (Sequential)4-5
New endpoint (complex)"add feature with..."A (Claude parallel)6+
Service update"update X service"D (Direct)1-2
Multi-service update"all services", "every service"B (Codex)8-12
Repository refactor"update repositories"B (Codex)5-8

Frontend Patterns

PatternDetectionStrategyFiles
Single component"update X component"D (Direct)1-2
Component family"all cards", "every page"B (Codex)5-10
New feature"add X to UI"A or C3-5
Styling sweep"update styles", "dark mode"B (Codex)10+

Data Pipeline Patterns

PatternDetectionStrategyNotes
Full scrape"run scraper"C (Sequential)fighters_list → details
Load data"load data", "reload"C (Sequential)validate → load
Add scraper field"new field from scraper"C (Sequential)5-step chain
Parallel spiders"scrape fighters and events"A (Claude parallel)Independent spiders

Testing Patterns

PatternDetectionStrategyNotes
Unit tests (one module)"test X"D (Direct)1-3 files
Unit tests (multi-module)"add tests for all"A (Claude parallel)Per-module agents
E2E tests"end-to-end", "Playwright"C (Sequential)MCP required
Test coverage sweep"increase coverage"B (Codex)Mechanical

MCP Constraint (CRITICAL)

Playwright MCP tasks MUST run sequentially:

  • Browser automation cannot be parallelized
  • E2E tests must run one at a time
  • Screenshots/​snapshots are sequential operations

If task involves Playwright/​MCP:

  • Do NOT suggest parallel execution for MCP portions
  • Can parallelize non-MCP work alongside sequential MCP work

Decision Output Template

When this skill is invoked, always output:

## Task Analysis

**Task**: [Summarize the task]
**Scope**: [N files / M modules / L layers]
**Pattern Detected**: [Layer-based / Module-based / Pipeline / Simple]
**Dependencies**: [None / Chain: X → Y → Z]

## Recommendation

**Strategy**: [A: Claude Parallel / B: Codex / C: Sequential / D: Direct]
**Reason**: [Why this strategy fits]

### Execution Plan

[If A or B - list subtasks/​agents]
[If C - list ordered steps]
[If D - describe direct approach]

**Proceed with this approach?**

Quick Reference

Task has "all/​every/​multiple" + mechanical change? → Strategy B (Codex)
Task has "all/​every/​multiple" + needs judgment?   → Strategy A (Claude parallel)
Task mentions "migration/​depends/​then/​after"?     → Strategy C (Sequential)
Task touches 1-2 files?                           → Strategy D (Direct)
Task involves Playwright/​MCP?                     → Sequential for MCP portions

Related Resources

  • See CLAUDE.md → "Sub-Agent Orchestration" section for project-level guidance
  • See superpowers:subagent-driven-development skill for Claude parallel execution
  • Use /​handoffcodex command for Codex delegation
  • See .claude/​skills/​managing-dev-environment/ for environment setup

More skills from mattnigh

spring-framework-patterns logo
mattnigh/skills_collection

spring-framework-patterns

Comprehensive Spring Framework and Spring Boot best practices including dependency injection patterns, bean lifecycle and scopes, REST API development, Spring Data JPA, service layer design, Spring Security, testing strategies, caching, AOP, async processing, error handling, and common anti-patte...

24 0
View

TypeScript厳格モードによる型安全性設計を専門とするスキル。 📖 参照書籍: - 『Effective TypeScript』(Dan Vanderkam): 型設計 📚 リソース参照: - `resources/Level1_basics.md`: レベル1の基礎ガイド - `resources/Level2_intermediate.md`: レベル2の実務ガイド - `resources/Level3_advanced.md`: レベル3の応用ガイド - `resources/Level4_expert.md`: レベル4の専門ガイド - `resources/di...

24 0
View
deploying-cloud-k8s logo
mattnigh/skills_collection

deploying-cloud-k8s

Deploys applications to cloud Kubernetes (AKS/GKE/DOKS) with CI/CD pipelines. Use when deploying to production, setting up GitHub Actions, troubleshooting deployments. Covers build-time vs runtime vars, architecture matching, and battle-tested debugging.

24 0
View
moai-alfred-agent-guide logo
mattnigh/skills_collection

moai-alfred-agent-guide

19-agent team structure, decision trees for agent selection, Haiku vs Sonnet model selection, and agent collaboration principles. Use when deciding which sub-agent to invoke, understanding team responsibilities, or learning multi-agent orchestration.

24 0
View
mermaid-diagram-generator logo
mattnigh/skills_collection

mermaid-diagram-generator

Converts architecture descriptions, module specs, or workflow docs into Mermaid diagrams. Use when visualizing brick module relationships, workflows (DDD, investigation), or system architecture. Supports: flowcharts, sequence diagrams, class diagrams, state machines, entity relationship diagrams,...

24 0
View
pre-flight-check logo
mattnigh/skills_collection

pre-flight-check

INVOKE FIRST before any code work. Validates git workflow (branch, issue, worklog) and checks approach. Use at START of every task and END before completing. Prevents skipped steps.

24 0
View
browser-dev-tools logo
mattnigh/skills_collection

browser-dev-tools

This skill should be used when working with browser-rendered artifacts (i.e. Bun, React/React Native) to proactively validate that development work on localhost is being built appropriately and to support debugging browser-rendered content. Use this skill after making frontend changes to verify t...

24 0
View
lead-dev logo
mattnigh/skills_collection

lead-dev

Lead Développeur - Coordination technique opérationnelle, code review, mentoring et livraison. Pair de web-dev-process au niveau OPÉRATIONS.

24 0
View
worker-monitor logo
mattnigh/skills_collection

worker-monitor

Monitor Docker workers, RQ queue health, and auto-scale workers (max 4). Use when: checking job progress, monitoring queue depth, scaling workers up/down, diagnosing slow processing, or waiting for jobs to complete. Referenced by data-quality skill during reprocessing.

24 0
View
quality-advisor logo
mattnigh/skills_collection

quality-advisor

Proactive quality guidance system that monitors artifact creation and provides real-time feedback on documentation quality

24 0
View
bump-version logo
mattnigh/skills_collection

bump-version

This skill should be used when the user wants to bump the version number in the workspace. It updates versions across all pyproject.toml files (root, tde, and tda packages) and the CHANGELOG.md to keep them synchronized.

24 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View