agentleFS
jajupmochijajupmochi/agent-harness/skills/task-relationship-analysis/SKILL.md

task-relationship-analysis

Skill1 starsChanged 5 months agoMITView on GitHub

Use BEFORE executing any multi-step or multi-feature request (3+ tasks). Forces a pre-execution pass that maps how the tasks relate — synergies, conflicts, shared substrate, ordering — so you don't mechanically execute them in listed order and miss that several should be built on one shared piece, or that two conflict. Scaffolds a pairwise matrix + synthesis checklist.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are 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.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Only THEN execute — in the order the DAG implies, unifying what the matrix flagged.

    line 29

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

task-relationship-analysis

Overhaul task 15. Some agents/models execute a numbered task list mechanically, in order, and miss the cross-task picture — e.g. three separate "add a sub-agent" asks that should be one framework, or two tasks that conflict if done independently. This skill makes the relationship analysis a required first step.

When

Any request with 3+ tasks, or multiple logically separable features, before you start executing.

Do this first

  1. List the tasks, then scaffold the analysis:
    python3 scripts/scaffold.py "task A" "task B" "task C" …      # or pipe one per line on stdin
    It emits every unordered pair exactly once (nothing skipped) + a synthesis checklist.
  2. Fill each pair with one relationship: SYN (synergy / share substrate) · CONF (conflict) · SEQ (ordering dependency) · INDEP (independent).
  3. Answer the checklist: shared substrate to unify · conflicts to resolve in design · mergeable work · ordering/DAG from the SEQ pairs · cross-cutting constraints to do first.
  4. Only THEN execute — in the order the DAG implies, unifying what the matrix flagged.

Why deterministic scaffold + LLM analysis

scaffold.py is pure code: it guarantees the shape and that every pair is considered. The model does the actual judgement (which pair is SYN vs CONF). LLM-as-component, not the core.

Example payoff (this repo's own overhaul)

The 16-point overhaul's matrix surfaced that tasks 2/3/10a (three "sub-agent" asks) were the SAME framework, and tasks 3/4/5 were ONE memory subsystem — recorded in docs/strategy/…/00-program-plan.md §3 before any code. That is the analysis this skill scaffolds.

Status: v0.1 (pairwise matrix + checklist), tested (test_scaffold.py, 6/6). Planned: auto-ingest a task list from a plan file; a graph export of the SEQ edges.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.