agentleFS
joa23joa23/linear-cli/.claude/skills/deps/SKILL.md

deps

Skill144 starsChanged 6 months agoMITView on GitHub

Visualize and analyze issue dependencies in Linear. Finds blocking chains, circular dependencies, and critical path items.

9 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use diagnose, refactor and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    diagnose

    Use to systematically diagnose why scenarios fail — identifies root causes by analyzing agent traces, codebase, and behavioral patterns

    Also in 3 projects that use this

  • GitHubSkill

    refactor

    Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

    Also in 3 projects that use this

  • OpenAISkill

    audit

    Audit or critique a product flow, journey, workflow, funnel, onboarding path, checkout path, settings path, screen, or multi-step product experience by capturing screenshots first, then reporting UX, design, and accessibility findings inline from that evidence. Use Figma only when the user explicitly asks for a board. Use when the user asks to audit, review, critique, inspect, assess, analyze, evaluate, or give feedback on a product experience.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 4

    Distinctive

    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
  1. Distinctive:

    Use this skill when:

    line 12
  2. Very specific:

    Team-wide analysis requires team context: - use linear init or --team flag

    line 120
  3. Distinctive:

    Break cycles: - Remove unnecessary dependencies

    line 129
  4. Distinctive:

    Keep dependencies minimal: - Only add necessary ones

    line 135
  5. Distinctive:

    Document non-obvious deps: - Add comments explaining why

    line 138

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “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

Deps Skill - Dependency Analysis

You are an expert at analyzing and visualizing software project dependencies.

When to Use

Use this skill when:

  • Understanding what's blocking an issue
  • Planning work order
  • Identifying circular dependencies
  • Finding critical path items

Process

  1. Visualize Dependencies
    linear deps ENG-100
    linear deps --team ENG
  2. Analyze Blocking Chains
    • Find longest blocking chains
    • Identify bottleneck issues
    • Locate circular dependencies
  3. Recommend Actions

Dependency Types

TypeMeaningExample
blocksA must complete before BAuth blocks Login UI
blocked_byB cannot start until A doneLogin UI blocked by Auth
relatedInformational linkTwo related features
duplicateSame issueClose one, reference other

Visualization Output

DEPENDENCY GRAPH: ENG-100
════════════════════════════════════════
ENG-100 User Authentication Epic
├─ ENG-101 Login flow [In Progress]
│  ├─ ENG-103 OAuth integration [Todo]
│  │     → blocks: ENG-105
│  └─ ENG-104 Session management [Todo]
├─ ENG-102 Logout flow [Blocked]
│     ← blocked by: ENG-101
└─ ENG-105 Token refresh [Blocked]
      ← blocked by: ENG-103
────────────────────────────────────────
5 issues, 4 dependencies, 0 cycles

Analysis Areas

Blocking Chains

Issues that block many other issues are critical:

Critical blocker: ENG-101
  → blocks 3 issues directly
  → blocks 5 issues transitively

Circular Dependencies

Cycles prevent any issue from completing:

⚠ Circular dependency detected:
  ENG-201 → ENG-202 → ENG-203 → ENG-201

Critical Path

Longest dependency chain determines minimum completion time:

Critical path (4 issues):
  ENG-100 → ENG-101 → ENG-103 → ENG-105
Minimum time: 4 issue completion times

Orphaned Dependencies

Issues referencing non-existent or closed issues:

⚠ Orphaned dependencies:
  ENG-150 blocked by ENG-099 (closed)

Commands Used

# Single issue dependencies (issue ID doesn't require team context)
linear deps ENG-100

# Team-wide dependencies (requires team context from 'linear init')
linear deps --team ENG

# Check what blocks an issue
linear issues blocked-by ENG-100

# Check what an issue blocks
linear issues blocking ENG-100

# Create a dependency
linear issues update ENG-102 --blocked-by ENG-101

# Create multiple dependencies (comma-separated)
linear issues update ENG-102 --blocked-by ENG-101,ENG-103

# Remove a dependency (update with empty)
linear issues update ENG-102 --blocked-by ""

Key Learnings

  • Issue identifiers (ENG-123) don't require team context - work without linear init
  • Team-wide analysis requires team context - use linear init or --team flag
  • Dependencies are detected automatically and shown in ASCII graph format
  • Circular dependencies are detected and highlighted with warnings

Action Recommendations

Based on analysis, recommend:

  1. Unblock critical path - Prioritize blockers
  2. Break cycles - Remove unnecessary dependencies
  3. Parallelize - Find work that can happen concurrently
  4. Update stale deps - Clean up outdated relationships

Best Practices

  1. Keep dependencies minimal - Only add necessary ones
  2. Use blocks, not blocked_by - Clearer mental model
  3. Review regularly - Dependencies become stale
  4. Document non-obvious deps - Add comments explaining why

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.