add-config-module

Scaffold a SingBox config module with CRUD APIs and frontend integration.

Updated Nov 21, 2025
One-click install
npx skills add https://github.com/AlanLang/sing-box-config-generator --skill add-config-module
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-config-module
Source: https://github.com/AlanLang/sing-box-config-generator/tree/main/.claude/skills/add-config-module
Command: npx skills add https://github.com/AlanLang/sing-box-config-generator --skill add-config-module

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides Claude through adding a new configuration management module (like log, ruleset, inbound) to the SingBox config generator.

Core Features & Use Cases

  • Backend scaffolding for a new module with full CRUD operations (create, list, update, delete).
  • Frontend integration: client, hooks, and routes to manage the new module in the UI.
  • End-to-end workflow: templates, registration, and navigation updates to integrate the module seamlessly.

Quick Start

Follow the Implementation Steps to scaffold a new module in your existing SingBox config generator project.

Frequently Asked Questions about add-config-module

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

FAQPage Schema
How do I add a new SingBox config module with CRUD operations?

To add a new SingBox config module, this Skill automates the scaffolding of backend CRUD APIs and frontend integration using your project's existing templates. It generates the correct module naming, file paths, and route registrations for modules like dns, outbound, or route.

How does frontend integration work when scaffolding a config module?

Frontend integration for a config module works by automatically generating the required client connections, UI hooks, and route management components. This ensures the newly scaffolded module is immediately accessible and manageable within the SingBox generator interface.

What is the best way to scaffold a SingBox configuration generator module?

The best way to scaffold a SingBox configuration generator module is to use an automated scaffolding workflow that applies existing project templates. This approach ensures accurate backend CRUD operations, frontend route registration, and seamless end-to-end navigation updates.

Can I use this scaffolding process for any SingBox module like log or inbound?

Yes, you can use this scaffolding process for any SingBox module, including log, inbound, ruleset, and dns. It applies a full CRUD workflow to the generator, ensuring correct file paths and route registrations for whichever specific module you need to add.

Do I need existing templates to add a SingBox config module?

Yes, you need existing project templates to add a SingBox config module, as the Skill uses them to automate the scaffolding workflow. It relies on your project's current template structure to ensure the generated code matches your established backend and frontend architecture.

Why does my newly added SingBox module fail UI integration tests?

A newly added SingBox module might fail UI integration tests if the generated code has incorrect module naming, file paths, or route registrations. This Skill validates the scaffolding with tests and ensures proper UI integration to prevent such configuration mismatches.