Build CLI Plugin
Skill Verifiziert AktivBuild 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.
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
- Define the contract (base class)
- Choose installation strategy
- Implement detection logic
- Implement install with idempotency
- Implement uninstall with cleanup
- Implement listing and audit
- Register the plugin
- 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-almanacQualitätspunktzahl
VerifiziertVertrauenssignale
Ähnliche Erweiterungen
V3 Ddd Architecture
100Domain-Driven Design architecture for claude-flow v3. Implements modular, bounded context architecture with clean separation of concerns and microkernel pattern.
Pathfinder
100Ordnet 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.
Understand
100Analysieren Sie eine Codebasis, um einen interaktiven Wissensgraphen zur Verständnis von Architektur, Komponenten und Beziehungen zu erstellen
Cloud Architect
100Designs 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.
API Design Patterns
100Comprehensive API design patterns covering REST, GraphQL, gRPC, versioning, authentication, and modern API best practices
Angular Developer
100Generiert 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.