certd-online-task-plugin-dev

Generates Certd online task plugin YAML with JavaScript content extending AbstractTaskPlugin.

5.0k|586|Updated Dec 13, 2020
One-click install
npx skills add https://github.com/certd/certd --skill certd-online-task-plugin-dev
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: certd-online-task-plugin-dev
Source: https://github.com/certd/certd/tree/main/.trae/skills/certd-online-plugin-dev/skills/task-plugin-dev
Command: npx skills add https://github.com/certd/certd --skill certd-online-task-plugin-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developing task plugins for the Certd certificate management platform requires knowledge of its online YAML plugin format, where script source code lives in a content field rather than decorator-based source files. This Skill guides the AI to produce complete, importable plugin YAML that follows Certd conventions.

Core Features & Use Cases

  • Online YAML Plugin Generation: Produces full plugin YAML with pluginType, metadata fields, input configuration, and a content field containing the executable script.
  • AbstractTaskPlugin Template: Provides a class template using _ctx.import for module loading, this.getAccess for authorization, this.ctx.http for API calls, and proper error handling with exceptions or skip returns.
  • Run Strategy Handling: Explains runStrategy semantics (0 = skip after success, 1 = always run) so tasks behave correctly across pipeline reruns.
  • Use Case: A developer wants a Certd task plugin that calls a third-party API to deploy a certificate; the Skill outputs the complete YAML ready to import via the /scoped/sys/ai/plugin/import endpoint.

Quick Start

Create a Certd online task plugin that deploys a certificate to my hosting provider's API and give me the complete importable YAML.

Frequently Asked Questions about certd-online-task-plugin-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I develop a Certd online task plugin?▼

Write a YAML document with pluginType set to task, define input fields, and place the script in the content field. The script returns a class extending AbstractTaskPlugin whose execute method performs the task logic.

How do I load modules inside a Certd online plugin script?▼

Use await _ctx.import with the package name, or use the /@ prefix to load modules from the server/src directory by absolute path. Avoid standard require or import statements since the script runs in Certd's online plugin runtime.

What does runStrategy do in a Certd task plugin?▼

runStrategy controls whether a task reruns after success. Value 0 skips the task on subsequent runs after success, while 1 runs it every time; with 1 the execute method can return skip when no action is needed.

How does a Certd task plugin access API credentials?▼

The plugin calls this.getAccess with the configured accessId to retrieve the stored authorization. API methods are typically encapsulated in an Access class that other plugins reuse as a client SDK.

How do I install a finished Certd online plugin?▼

Save the complete YAML through the Certd /scoped/sys/ai/plugin/import endpoint. Once imported, the plugin becomes available as a task step in certificate pipelines.