بنقرة واحدة
delegation-planner
">"
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
">"
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| id | delegation-planner |
| name | delegation-planner |
| type | Capability Uplift |
| version | 1.0.0 |
| created | 20/03/2026 |
| modified | 20/03/2026 |
| status | active |
| triggers | ["who should do this","which agent handles","delegate this","plan delegation","assign tasks","who handles","which specialist","route this task","assign work"] |
| description | > |
Purpose: Route every task to the correct agent layer before execution begins. Wrong routing wastes context budget and produces inferior output.
Use this skill when:
Route here when:
Do NOT route here:
Route here when:
Do NOT route here:
Route to Senior Engineering Agent when:
Route to Senior UI/UX Agent when:
Route to Senior QA / Production Agent when:
Route to Senior Research Agent when:
Route to Senior LMS Content Agent when:
Route to Senior Growth / Marketing Agent when:
Route here when:
Do NOT route here:
Ask: What kind of work is this?
If the task touches multiple domains (e.g., "add a feature with API + UI + tests"):
Produce the delegation plan table.
DELEGATION PLAN
═══════════════════════════════════════════════════
Task: [original task description]
Decomposed: [yes / no]
ROUTING
─────────────────
| # | Sub-task | Agent | Layer | Evidence Required | Gate |
|---|---------|-------|-------|------------------|------|
| 1 | [task] | [agent] | [1-4] | [what to return] | [gate condition] |
| 2 | [task] | [agent] | [1-4] | [what to return] | [gate condition — depends on #1] |
...
DEPENDENCY ORDER
─────────────────
[If tasks have dependencies: show order and gate conditions]
Step 1: Task #[N] must complete before Task #[N+1] begins
Gate: [exact condition that unlocks next step]
CONTEXT BUDGET
─────────────────
Orchestrator: [estimated tokens for coordination]
Each specialist: [estimated tokens per agent]
Total estimate: [rough total]
═══════════════════════════════════════════════════
Before finalising delegation plan:
| Failure | Recovery |
|---|---|
| Task is too vague to route | Ask: "What does success look like?" — activate outcome-translator |
| Task spans all 4 layers | Decompose into phases, route each phase separately |
| Wrong agent assigned (discovered mid-task) | Re-route immediately, don't continue in wrong layer |
| Sub-agent scope creeps to architectural decision | Pause sub-agent, escalate to orchestrator |
Task: "Add a protected dashboard page with user stats"
Delegation Plan:
| # | Sub-task | Agent | Layer | Evidence Required |
|---|---|---|---|---|
| 1 | API endpoint: GET /api/user/stats | Senior Engineering | 3A | curl output + type-check |
| 2 | Dashboard page component | Senior UI/UX | 3B | Screenshot + 0 TS errors |
| 3 | Auth middleware check | Senior Engineering | 3A | curl 401 without JWT |
| 4 | E2E test for dashboard | Senior QA | 3C | Playwright test output |
Dependency order: 1 → 3 → 2 → 4
Task: "Add dashboard" Response: "Sure, I'll add the dashboard." — No routing, no decomposition, no evidence plan.
Apply this skill for Unite-Hub Supabase migrations, PostgREST/Data API visibility, founder-scoped Playwright journeys, or errors such as PGRST205, access=denied, stale Supabase linked refs, or migration history drift. Prevents repeating the SQL/cache/auth loop by enforcing the exact verification sequence for core journeys.
The compass for Unite-Hub's road to /shipit. Defines the single NorthStar (a real, comprehensive, working founder CRM in production, every section GREEN), the binding definition of GREEN, and the No-Invaders Manifest that keeps the build honest and surgical. Consult BEFORE deciding what to build/skip/finish — it resolves "200 ≠ real" temptations and scope-creep pressure. P1, auto-loaded.
Apply this skill WHEN scaffolding a new cron "pull" route that syncs external/derived data into Supabase on a schedule (Vercel cron). Encodes the Unite-Hub cron invariants: CRON_SECRET auth, FOUNDER_USER_ID actor, overlap safety, idempotent upsert, last-sync timestamp, and failure surfacing. Generic `cron-scheduler` covers scheduling; this covers the PULL handler body. P3.
Apply this skill WHEN verifying that a route, page, or integration serves REAL data and not silent mock/placeholder data. Detects the "false-green" failure mode: an endpoint returns 200 (or a page renders) while the underlying data is fabricated because a provider is unconnected. Trigger WHENEVER classifying a section's readiness, reviewing integration wrappers, or before marking anything GREEN. P2 — load on audit/verify tasks.
Manifest-first context isolation — each subagent receives only its scope, never the full codebase
Apply this skill for ANY decision with non-obvious tradeoffs: architectural choices, debugging without a clear root cause, performance strategies, security decisions, feature design with competing constraints, refactoring scope decisions. Forces multi-perspective analysis before committing to a solution. P1 auto-load — always active on complex reasoning tasks.