gscore-plugin-development

Build and integrate GsCore plugins with defined structure and workflows.

344|52|Updated Jan 2, 2023
One-click install
npx skills add https://github.com/Genshin-bots/gsuid_core --skill gscore-plugin-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gscore-plugin-development
Source: https://github.com/Genshin-bots/gsuid_core/tree/main/docs/skills/gscore-plugin-development
Command: npx skills add https://github.com/Genshin-bots/gsuid_core --skill gscore-plugin-development

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This guide provides a complete blueprint for building and integrating GsCore plugins, consolidating directory structure, plugin packaging, SVs, triggers, config management, database migrations, scheduling, lifecycle hooks, web console integration, and AI-enabled workflows.

Core Features & Use Cases

  • Comprehensive plugin scaffold: nested loading, plugin entry points, and web console integration.
  • SVs and triggers guide: on_command/on_prefix/on_fullmatch/on_meta/on_file/on_message, lifecycle and permissions.
  • Config, database, scheduling, and startup/shutdown workflow guidance compatible with core patterns.
  • AI integration patterns and plugin skill concepts for operator-friendly automation.

Quick Start

Create a new plugin following the repository conventions and run the core loader to validate end-to-end plugin workflows.

Frequently Asked Questions about gscore-plugin-development

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

FAQPage Schema
How do I build a GsCore plugin with the correct directory structure and entry points?

Building a GsCore plugin requires following repository directory conventions, defining plugin entry points, and validating end-to-end workflows using the core loader to ensure proper nested loading and packaging.

What triggers can I use in GsCore plugin development for message routing?

GsCore plugin development supports on_command, on_prefix, on_fullmatch, on_meta, on_file, and on_message triggers to handle message routing, lifecycle events, and user permissions within the plugin architecture.

Does GsCore plugin development support database migrations and scheduled tasks?

Yes, GsCore plugin development supports database migrations, scheduling, and startup/shutdown lifecycle hooks, providing robust config management compatible with core framework patterns for production-grade workflows.

Can I integrate AI workflows and web console features into a GsCore plugin?

Yes, GsCore plugin development provides AI integration patterns and web console integration capabilities, enabling operator-friendly automation and plugin skill registration within the framework's architecture.

What is the best way to manage configuration and lifecycle hooks for GsCore plugins?

The best way to manage GsCore plugin configuration and lifecycle is using frontmatter metadata and robust startup/shutdown workflow patterns that align directly with core framework conventions.

Why does my GsCore plugin fail to load during nested plugin initialization?

Nested plugin loading failures often stem from incorrect directory conventions, missing frontmatter metadata, or improperly defined plugin entry points, which the core loader validates during end-to-end workflow checks.