dependency-aware-task-ordering
Skill1 starsChanged 5 months agoMITView on GitHub
Order tasks by their real dependencies and identify which tasks can safely run in parallel, so execution avoids rework and concurrency is exploited without conflicts. Use after task breakdown, when planning execution order, when assigning work to multiple agents, or when a build keeps breaking because tasks ran out of order. The task list with per-task depends-on fields, shared interfaces or files, and any data/migration ordering constraints. An ordered task list with a dependency graph, parallel-safe groups, and exclusive-access notes.
In this repository117 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- advanced-orchestrationSkill
- architect-agentSkill
- implementer-agentSkill
- quality-councilSkill
- reviewer-agentSkill
- tester-agentSkill
- writer-critic-pairSkill
- authoring-skillsSkill
- api-endpoint-qualitySkill
- async-job-qualitySkill
- auth-qualitySkill
- db-migration-qualitySkill
- frontend-state-qualitySkill
- acceptance-criteriaSkill
- adaptive-flowSkill
- adaptive-prompt-selectionSkill
- adversarial-code-reviewSkill
- architecture-decision-recordsSkill
- brainstormingSkill
- brownfield-spec-enhancementSkill
- bug-fix-lifecycleSkill
- checkpoint-validationSkill
- cicd-integrationSkill
- clarify-before-codeSkill
- claude-code-hooks-packSkill
- code-context-packSkill
- code-intelligence-reviewSkill
- context-policySkill
- context-rich-implementationSkill
- crash-proof-planningSkill
- critique-pass-protocolSkill
- deprecation-migrationSkill
- disciplined-diagnosisSkill
- docs-authorSkill
- executing-plansSkill
- external-skillSkill
- finishing-a-development-branchSkill
- git-guardrailsSkill
- goal-driven-executionSkill
- grill-user-before-buildingSkill
- guard-bypass-protocolSkill
- improve-codebase-architectureSkill
- incremental-reviewSkill
- issue-slicingSkill
- lessons-learned-dbSkill
- loop-engineeringSkill
- model-aware-configSkill
- model-weakness-memorySkill
- multi-repo-learningSkill
- orchestration-workflowsSkill
- plan-driven-executionSkill
- plan-from-specSkill
- prd-from-contextSkill
- project-constitutionSkill
- prompt-architectureSkill
- prototype-before-commitmentSkill
- quality-engineSkill
- quality-execution-contractSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Use after task breakdown, when planning execution order, when assigning work to multiple agents, or when a build keeps breaking because …
- Very specific: line 62
Not applied: upstream marker syntax verbatim or CLI-driven ordering.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dependency-Aware Task Ordering
Purpose
Order tasks by their real dependencies and identify which tasks can safely run in parallel, so execution avoids rework and concurrency is exploited without conflicts.
When to use
Use after task breakdown, when planning execution order, when assigning work to multiple agents, or when a build keeps breaking because tasks ran out of order.
Inputs
The task list with per-task depends-on fields, shared interfaces or files, and any
data/migration ordering constraints.
Workflow
- Build the dependency graph from each task's
depends-on. - Detect cycles; break them by splitting or re-scoping tasks.
- Topologically order tasks so prerequisites come first.
- Group tasks with no shared files or interfaces as parallel-safe and mark them.
- Sequence test tasks before the implementation tasks they verify.
- Note any task that touches a shared resource and must run exclusively.
- Record the ordering and parallel groups for reviewers and executors.
Outputs
An ordered task list with a dependency graph, parallel-safe groups, and exclusive-access notes.
Failure modes
- Cycles or hidden dependencies cause repeated rework.
- Tasks marked parallel actually share a file and conflict.
- Tests are scheduled after the code they should drive.
- The ordering is implicit and not reviewable.
Verification checklist
- The dependency graph is acyclic.
- Parallel-marked tasks share no files or interfaces.
- Test tasks precede their implementation tasks.
- Exclusive-access tasks are flagged.
- Ordering rationale is recorded.
Applied / Not Applied
- Applied: task dependencies, parallel markers, and TDD ordering from
github/spec-kit. - Not applied: upstream marker syntax verbatim or CLI-driven ordering. Ordering is a
documented local convention in
templates/tasks-template.md.
Ghi chú tiếng Việt
Sắp xếp task theo phụ thuộc thật, phát hiện chu trình, và đánh dấu nhóm chạy song song an
toàn (không chung file/interface). Xếp test trước code. Ghi rõ thứ tự để review. Liên kết:
skills/core/task-breakdown-from-plan/SKILL.md, templates/tasks-template.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

