CommunityEscrita e Ediçãogithub.com

dudashuai616/project-task-router

Task complexity routing, phase planning, and compact handoffs for Codex and AI agents.

O que é project-task-router?

project-task-router is a Codex agent skill that task complexity routing, phase planning, and compact handoffs for Codex and AI agents.

Funciona com~Claude CodeCodex CLI~Cursor
npx skills add dudashuai616/project-task-router

Installed? Explore more Escrita e Edição skills: steipete/notion, affaan-m/seo, affaan-m/brand-voice · View all 6 →

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Project Task Router

Route work into the smallest reliable structure before producing large outputs. Preserve continuity through project files and compact handoffs rather than old chat transcripts.

Run the complexity gate

Classify the task with the least ceremony needed:

  • Simple: One clear outcome, little dependency risk, and no durable handoff need. Execute directly without showing a plan.
  • Focused multi-step: One main deliverable with a few related steps. Give a short 2–5 step plan and continue in the same conversation.
  • Multi-stage: Several distinct deliverables, different reference sets, or clear upstream/downstream dependencies. Propose phases and conversation boundaries before producing the full body of work.
  • Long-running: Work is likely to span sessions, accumulate many decisions, or exceed reliable conversational context. Establish sources of truth, phase status, and a handoff method before execution.

Use observable evidence rather than pretending to know an exact remaining-context percentage. Warning signs include repeated revisions, many files or artifacts, difficulty checking early constraints, summarized earlier turns, and a phase transition that changes the required reference set.

Decide conversation boundaries

Keep work in the same conversation when it is tightly coupled, iterates on the same artifact, or can finish reliably with the same small context set.

Recommend a new conversation when at least one of these is true:

  • the current phase produces a stable artifact consumed by a different phase;
  • the next phase needs substantially different files or expertise;
  • independent review of one deliverable is valuable;
  • continuing would carry large amounts of discarded exploration, logs, or rejected drafts;
  • a compact file-based handoff can replace the transcript safely.

Do not split mechanically. A new conversation is justified only when it reduces context load, rework, or ambiguity. Recommend separate conversations and provide starter prompts, but do not create or fork user-owned tasks unless the user explicitly asks.

Present the routing card

For multi-stage or long-running work, pause bulk execution and present a concise routing card containing:

  1. Overall goal — one sentence.
  2. Recommended phases — ordered by dependency.
  3. Conversation boundary — same or new conversation for each phase, with one-line reasoning.
  4. Inputs — exact upstream files or confirmed decisions to read; avoid broad project scans.
  5. Outputs — named deliverables and their proper project location.
  6. Done when — observable completion criteria.
  7. Handoff update — which status, decision, or source-of-truth file must be updated.

If decomposition materially changes scope or sequencing, obtain the user's agreement before executing later phases. When the first phase is already clearly authorized, begin only that phase after presenting the structure.

Preserve a source-of-truth chain

Treat chat as working space, not the authoritative archive.

  • Follow applicable AGENTS.md and existing project organization.
  • Read only the exact files needed for the current phase.
  • Store accepted results in clearly named files inside the content's real project.
  • Put each durable fact in one authoritative location; reference it elsewhere instead of duplicating it.
  • Record only decisions that affect later work. Do not preserve hidden reasoning, discarded drafts, or verbose transcript summaries.
  • When an upstream decision changes, identify downstream deliverables that require review and mark them clearly in project status.

Prefer an existing project status or decision file. If none exists and meaningful cross-session work requires one, propose the smallest useful file set rather than creating an index for every project.

Create a compact handoff

Before changing conversations, pausing unfinished work, or continuing after context reliability declines, update formal artifacts first and then prepare a compact handoff with:

  • task and current phase;
  • completed and accepted work;
  • locked decisions;
  • authoritative file paths and versions;
  • unfinished work and blockers;
  • immediate next action;
  • exact files the next conversation should read;
  • a ready-to-use starter prompt for the next conversation.

Keep the handoff short enough to scan quickly. The next conversation should resume from formal files and the handoff, not reconstruct the old transcript.

Starter-prompt pattern

Use this structure when recommending a new conversation:

Continue [project], phase: [phase name].

Read and follow:
1. [applicable AGENTS.md]
2. [project source of truth]
3. [current status or handoff]
4. [exact upstream artifact or relevant section]

Do not read: [irrelevant chats, folders, or drafts].

Goal: [single phase goal].
Output: [named deliverable and location].
Done when: [observable criteria].
After completion: [status/decision/handoff updates].

Keep overhead proportional

  • Do not announce a complex workflow for a simple request.
  • Do not create planning files that have no future consumer.
  • Do not reread entire projects when exact sources are known.
  • Do not continue producing later-stage assets before required upstream decisions are stable.
  • Do not use subagents or parallel agents unless the user explicitly requests delegation or applicable instructions require it.

When this skill materially changes execution, tell the user briefly that the task is being split or handed off and why.

Habilidades Relacionadas

steipete/notion

Notion CLI/API for pages, Markdown content, data sources, files, comments, search, Workers, and raw API calls.

community

affaan-m/seo

Audit, plan, and implement SEO improvements across technical SEO, on-page optimization, structured data, Core Web Vitals, and content strategy. Use when the user wants better search visibility, SEO remediation, schema markup, sitemap/robots work, or keyword mapping.

community

affaan-m/brand-voice

Build a source-derived writing style profile from real posts, essays, launch notes, docs, or site copy, then reuse that profile across content, outreach, and social workflows. Use when the user wants voice consistency without generic AI writing tropes.

community

affaan-m/crosspost

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

community

affaan-m/x-api

X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.

community

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

community