plugin-dependency-resolver

Generate plugin dependency resolution logic with topological sorting.

509 stars

Best use case

plugin-dependency-resolver is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Generate plugin dependency resolution logic with topological sorting.

Teams using plugin-dependency-resolver should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/plugin-dependency-resolver/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/cli-mcp-development/skills/plugin-dependency-resolver/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/plugin-dependency-resolver/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How plugin-dependency-resolver Compares

Feature / Agentplugin-dependency-resolverStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Generate plugin dependency resolution logic with topological sorting.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Plugin Dependency Resolver

Generate plugin dependency resolution logic.

## Generated Patterns

```typescript
interface PluginNode {
  name: string;
  dependencies: string[];
}

export function resolveDependencies(plugins: PluginNode[]): string[] {
  const graph = new Map<string, string[]>();
  const inDegree = new Map<string, number>();

  for (const plugin of plugins) {
    graph.set(plugin.name, plugin.dependencies);
    inDegree.set(plugin.name, 0);
  }

  for (const [, deps] of graph) {
    for (const dep of deps) {
      inDegree.set(dep, (inDegree.get(dep) || 0) + 1);
    }
  }

  const queue = [...inDegree.entries()].filter(([, d]) => d === 0).map(([n]) => n);
  const result: string[] = [];

  while (queue.length > 0) {
    const node = queue.shift()!;
    result.push(node);
    for (const dep of graph.get(node) || []) {
      inDegree.set(dep, inDegree.get(dep)! - 1);
      if (inDegree.get(dep) === 0) queue.push(dep);
    }
  }

  if (result.length !== plugins.length) {
    throw new Error('Circular dependency detected');
  }

  return result.reverse();
}
```

## Target Processes

- plugin-architecture-implementation

Related Skills

dependency-graph-generator

509
from a5c-ai/babysitter

Generate module dependency graphs with circular dependency detection and coupling metrics

plugin-registry-manager

509
from a5c-ai/babysitter

Manage SDK plugin discovery and registration

dependency-mapper

509
from a5c-ai/babysitter

Map and visualize cross-project dependencies in programs and portfolios

dependency-updater

509
from a5c-ai/babysitter

Automated dependency update execution with breaking change detection and rollback capability

dependency-scanner

509
from a5c-ai/babysitter

Comprehensive dependency scanning, inventory generation, and SBOM creation for migration readiness assessment

plugin-sandbox-setup

509
from a5c-ai/babysitter

Configure plugin sandboxing with vm2 or isolated-vm for secure plugin execution.

plugin-manifest-schema

509
from a5c-ai/babysitter

Define plugin manifest schema with versioning and dependency declarations.

plugin-loader-generator

509
from a5c-ai/babysitter

Generate dynamic plugin loading system with discovery, validation, and lifecycle management.

plugin-hook-system

509
from a5c-ai/babysitter

Generate hook-based plugin extension system with event emitter patterns.

process-builder

509
from a5c-ai/babysitter

Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.

Workflow & Productivity

babysitter

509
from a5c-ai/babysitter

Orchestrate via @babysitter. Use this skill when asked to babysit a run, orchestrate a process or whenever it is called explicitly. (babysit, babysitter, orchestrate, orchestrate a run, workflow, etc.)

yolo

509
from a5c-ai/babysitter

Run Babysitter autonomously with minimal manual interruption.