opensrs-bin-script

Generate OpenSRS bin scripts with autoload conventions and argument handling.

6|1|Updated Jun 8, 2017
One-click install
npx skills add https://github.com/myadmin-plugins/opensrs-domains --skill opensrs-bin-script
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opensrs-bin-script
Source: https://github.com/myadmin-plugins/opensrs-domains/tree/main/.claude/skills/opensrs-bin-script
Command: npx skills add https://github.com/myadmin-plugins/opensrs-domains --skill opensrs-bin-script

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of OpenSRS bin scripts that follow the project's standard pattern and autoload conventions.

Core Features & Use Cases

  • Automates the scaffolding of new bin scripts in the correct bin/<subdir>/ structure.
  • Enforces the required autoload path and openSRS_loader usage for consistent command execution.
  • Use Case: When adding a new CLI command for domain management, run this skill to generate a ready-to-edit script skeleton that adheres to the project's conventions.

Quick Start

Create a new bin script following the standard template for OpenSRS domain commands.

Frequently Asked Questions about opensrs-bin-script

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

FAQPage Schema
How do I create a new OpenSRS CLI bin script for domain management?

To create an OpenSRS CLI bin script, you need to scaffold a new file in the correct bin/<subdir>/ structure, enforce the required autoload path, and use openSRS_loader for command execution. This process ensures correct file naming, path references, and argument handling for domain provisioning and lookup tasks.

What is the standard autoload pattern for OpenSRS bin scripts?

The standard autoload pattern for OpenSRS bin scripts requires using openSRS_loader and aligning with the project's conventions to ensure consistent command execution. It enforces the correct autoload path setup for CLI commands in bin/ categories like dnszone, lookup, and provisioning.

Do I need a specific template structure to add OpenSRS domain CLI commands?

Yes, adding OpenSRS domain CLI commands requires a correctly structured bin script template, a valid SKILL.md frontmatter name and description, and alignment with the OpenSRS Request workflow. This ensures the script follows project patterns and autoload conventions.

How do I structure bin script directories for OpenSRS provisioning commands?

To structure bin script directories for OpenSRS provisioning commands, you scaffold new scripts into the bin/<subdir>/ structure according to their category. This automated scaffolding places files in the correct paths for dnszone, lookup, or provisioning tasks.

Why does my OpenSRS bin script fail to autoload correctly?

OpenSRS bin scripts fail to autoload when the required autoload path is missing or the openSRS_loader is not used properly. Ensuring correct file naming, path references, and adherence to the project's standard autoload conventions resolves execution issues.