一键导入
dependency-analysis
Guide for identifying and managing task dependencies
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guide for identifying and managing task dependencies
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Git commit conventions and workflow
Guide for breaking features into atomic, implementable tasks
TDD workflow and testing patterns
Author safe RalphX Agent Workflow scripts that orchestrate durable delegated agents through the high-level workflow API.
Guide for analyzing git diff and refining QA test plans
Guide for generating QA test steps with agent-browser commands
| name | dependency-analysis |
| description | Guide for identifying and managing task dependencies |
This skill helps identify, validate, and manage dependencies between tasks.
One task requires another's output:
Natural ordering based on workflow:
Shared resources or infrastructure:
Code-level:
Process-level:
High out-degree = Critical blocker (do first) High in-degree = Wait for dependencies (do later)
The longest chain of dependencies from start to finish:
A -> B -> C -> D -> E (critical path = 5)
\-> F -> G (parallel path = 3)
Tasks on the critical path determine minimum completion time.
Circular dependencies prevent completion:
A depends on B
B depends on C
C depends on A <- CYCLE!
Always check for and eliminate cycles.
Define Types -> Create Repository -> Build API -> Create UI
Each layer depends on the one before it.
Create Feature Flag
|
+-> Implement Feature A
+-> Implement Feature B
+-> Implement Feature C
Multiple features share a single dependency.
Service A --\
Service B ---+-> Integration Layer -> Consumer
Service C --/
Multiple services must complete before integration.
/-> Component A
Design --+-> Component B
\-> Component C
|
Integration <-/
Design enables parallel work, integration waits for all.
A dependency is necessary if:
Remove dependencies that are:
Watch for implicit dependencies:
Long chains delay completion:
Before: A -> B -> C -> D -> E -> F After: A -> B -> C -> D E -> F
Parallelize where possible.
Find tasks with high out-degree:
Task X (blocks 5 others) <- DO THIS FIRST
Prioritize bottleneck resolution.
Question every dependency:
Feature: "Add task comments"
Initial Tasks:
Dependency Analysis:
1 (entity)
|
v
2 (repository)
|
+---> 3 (create API) --\
| v
+---> 4 (list API) ---> 7 (integration)
^
5 (list component) -----------+
|
6 (input component) ----------+
Insights:
Optimization:
"Before we can [Task A], we need to complete [Task B] because [reason]."
"[Task X] is blocking three other tasks, so it should be done first."
"These four tasks can be done in any order - they don't depend on each other."
Use dependency graph visualization:
Dependencies are set inline during proposal creation/update — no background agent.
create_task_proposalUse depends_on: string[] (proposal IDs) to set immediate dependencies at creation time:
create_task_proposal(session_id, title: "...", depends_on: ["<proposal-id-A>"])
update_task_proposalUse additive params (never replace-all):
| Param | Meaning |
|---|---|
add_depends_on: string[] | This proposal depends on target (target must complete first) |
add_blocks: string[] | Target depends on this proposal (this blocks target) |
Example: proposal B depends on A, and A blocks C:
update_task_proposal(proposal_id=A, add_blocks=["B"]) // B depends on A
update_task_proposal(proposal_id=B, add_depends_on=["A"]) // equivalent to above
update_task_proposal(proposal_id=A, add_blocks=["C"]) // C depends on A
dependency_errors in responseanalyze_session_dependencies after PROPOSE phase to verify the full graphAdding every possible dependency "to be safe" Fix: Only add necessary dependencies
Not tracking dependencies, causing integration pain Fix: Explicitly document and review dependencies
"A needs B because B needs A" Fix: Question both directions, break the cycle
Making everything sequential Fix: Identify parallel opportunities