Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Build CLI Plugin

Skill Verifiziert Aktiv
Teil von:Agent Almanac

Build a plugin or adapter for a CLI tool using the abstract base class pattern. Covers defining the contract (static fields, required methods), choosing an installation strategy (symlink, copy, append-to-file), implementing detection, install/uninstall with idempotency, listing, auditing, and registering the plugin. Use when adding support for a new framework to a CLI installer, building a plugin system for any multi-target tool, or extending an existing adapter architecture.

Zweck

To provide a structured pattern and detailed instructions for developers looking to extend command-line tools with new framework support or plugin systems.

Funktionen

  • Abstract base class pattern for CLI plugins
  • Defining plugin contracts (static fields, required methods)
  • Installation strategies (symlink, copy, append-to-file)
  • Idempotent install/uninstall implementation
  • Plugin detection, listing, and auditing

Anwendungsfälle

  • Adding support for new frameworks to CLI installers
  • Building plugin systems for multi-target command-line tools
  • Extending existing adapter architectures with new variants
  • Porting content delivery to frameworks with different file layouts

Nicht-Ziele

  • Developing the CLI tool itself
  • Writing framework-specific code outside the plugin adapter
  • Handling runtime environment setup for the CLI tool

Workflow

  1. Define the contract (base class)
  2. Choose installation strategy
  3. Implement detection logic
  4. Implement install with idempotency
  5. Implement uninstall with cleanup
  6. Implement listing and audit
  7. Register the plugin
  8. Write tests

Praktiken

  • Plugin Development
  • CLI Tooling
  • Software Architecture

Voraussetzungen

  • TypeScript/JavaScript development environment
  • Understanding of CLI tool architectures
  • Familiarity with Node.js file system operations

Installation

/plugin install agent-almanac@pjt222-agent-almanac

Qualitätspunktzahl

Verifiziert
98 /100
Analysiert about 22 hours ago

Vertrauenssignale

Letzter Commit1 day ago
Sterne14
LizenzMIT
Status
Quellcode ansehen

Ähnliche Erweiterungen

V3 Ddd Architecture

100

Domain-Driven Design architecture for claude-flow v3. Implements modular, bounded context architecture with clean separation of concerns and microkernel pattern.

Skill
ruvnet

Pathfinder

100

Ordnet eine Codebasis in Feature-gruppierte Flussdiagramme ein, identifiziert doppelte Belange über Features hinweg und schlägt eine einheitliche Architektur vor. Wird verwendet, wenn nach "dem idealen Pfad" gefragt wird, duplizierte Systeme vereinheitlicht oder die Architektur vor einem Refactoring auditiert werden soll. Gibt ein vorgeschlagenes einheitliches Flussdiagramm sowie Prompts zum Erstellen eines Plans pro System aus.

Skill
thedotmack

Understand

100

Analysieren Sie eine Codebasis, um einen interaktiven Wissensgraphen zur Verständnis von Architektur, Komponenten und Beziehungen zu erstellen

Skill
Lum1104

Cloud Architect

100

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost optimization, disaster recovery, landing zones, security architecture, serverless design.

Skill
jeffallan

API Design Patterns

100

Comprehensive API design patterns covering REST, GraphQL, gRPC, versioning, authentication, and modern API best practices

Skill
bobmatnyc

Angular Developer

100

Generiert Angular-Code und bietet architektonische Anleitungen. Auslösen bei der Erstellung von Projekten, Komponenten oder Diensten oder für Best Practices zur Reaktionsfähigkeit (Signale, linkedSignal, Ressource), Formulare, Dependency Injection, Routing, SSR, Barrierefreiheit (ARIA), Animationen, Styling (Komponentenstile, Tailwind CSS), Tests oder CLI-Tools.

Skill
angular