Agentic Skill Distributor & CLI for Halo 2.x Plugin Development
npm install @cysupper/halo-plugin-spec-kit
> Empowering AI to build Halo plugins natively.
> HPS is not just a CLI scaffold; it is a Skill Distributor. It packages Halo 2.x architecture, development standards, and anti-patterns into expert-level Agentic Skills, enabling AI agents (Opencode, Cursor, Windsurf, Trae) to perform "fully automated development".
!Demo
- π§ Agentic Skill: Built-in halo-plugin-builder skill with full knowledge base of Reactive programming, Extension modeling, and Vue3 UI.
- π‘οΈ Strict Safety: Injects STRICT_RULES to force AI to adhere to non-blocking I/O principles, preventing crash-prone code.
- π One-Click Init: Integrates official pnpm create halo-plugin and automatically injects AI skills into your project.
- π©Ί Doctor: hps doctor automatically checks Java, Node, and Docker environments.
``bash`
npm install -g @cysupper/halo-plugin-spec-kit
Or use npx:
`bash`
npx @cysupper/halo-plugin-spec-kit init
Run in an empty directory:
`bash`
hps init
- Select AI Agent: Supports Opencode, Cursor, Windsurf, Trae, Claude, etc.
- Auto Config: Automatically downloads the official template and installs the halo-plugin-builder skill into the corresponding rules directory (e.g., .opencode/skills/ or .cursor/rules/).
Once created, open your AI Editor (Opencode / Cursor / Trae) and issue a natural language command:
> "Build a simple Guestbook feature. I need a Message model and a backend management UI."
The AI will automatically trigger the halo-plugin-builder skill:architecture.md
1. Architecture: References to create an Extension instead of a MySQL table.backend_deep_dive.md
2. Code Gen: References to generate Reconciler and Extension Java code.frontend_deep_dive.md
3. UI Dev: References to generate Vue 3 admin pages.strict_rules.md
4. Self-Check: Verifies compliance with .
If you have an existing Halo plugin project and just want the AI skill:
`bash`
cd my-existing-plugin
hps skill
Once installed, your project will contain .opencode/skills/halo-plugin-builder (or similar), featuring:
- SKILL.md: Core instruction set.
- references/:
- backend_deep_dive.md: Spring WebFlux & R2DBC deep guide.frontend_deep_dive.md
- : Console UI components guide.strict_rules.md
- : [CRITICAL] Development red lines.architecture.md
- : Halo 2.x architecture diagrams.assets/templates/
- : Standardized code templates.
| AI Agent / IDE | Support Level | Path |
| :--- | :--- | :--- |
| Opencode Agent | βββββ | .opencode/skills/ (Native) |.cursor/rules/
| Cursor IDE | βββββ | (Native) |.windsurf/rules/
| Windsurf IDE | βββββ | (Native) |.trae/rules/
| Trae IDE | βββββ | (Native) |.hps/skills/` (Manual Prompt Copy) |
| Claude / Copilot | βββ |
---
Made with β€οΈ by Halo Community & AI