blong-layer

Organize Blong realm handlers into named functional layer groups.

1|Updated Dec 21, 2023
One-click install
npx skills add https://github.com/feasibleone/blong --skill blong-layer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: blong-layer
Source: https://github.com/feasibleone/blong/tree/main/.github/skills/layer
Command: npx skills add https://github.com/feasibleone/blong --skill blong-layer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams structure Blong realms by grouping related handlers into distinct layers such as gateway, adapter, orchestrator, error, and test, enabling clear responsibilities and controlled activation across environments.

Core Features & Use Cases

  • Layered organization: Group handlers under gateway, adapter, orchestrator, error, and test layers to reflect responsibilities.
  • Deployment controls: Activate or deactivate layers per environment for feature flags and safer rollouts.
  • Team collaboration: Align workstreams by functional concern to reduce conflicts and improve maintainability.

Quick Start

  • Create a skill folder with SKILL.md at the root and define the frontmatter name and description.
  • Structure realms with server.ts and place handlers under the appropriate layer directories. Follow the one-file-per-handler pattern to keep changes isolated.

Frequently Asked Questions about blong-layer

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

FAQPage Schema
How do I organize Blong realm handlers into functional groups for better modularity?

You can organize Blong realm handlers into functional groups by structuring them into named server-side layers such as gateway, adapter, orchestrator, error, and test. This enforces a documented layer taxonomy and folder structure to ensure clear separation of concerns.

What is the best way to separate concerns in a Blong realm architecture?

The best way to separate concerns is applying a layered architecture that groups handlers under gateway, adapter, orchestrator, error, and test directories. This aligns workstreams by functional concern to reduce conflicts and improve maintainability.

How do I control handler deployment activation per environment in Blong?

You control handler deployment activation by organizing handlers into layers that can be activated or deactivated per environment. This enables feature flags and safer rollouts by toggling specific functional groups within a Blong realm.

Can I use a one-file-per-handler pattern when structuring Blong layers?

Yes, the one-file-per-handler pattern is supported and recommended to keep changes isolated. You place handlers under the appropriate layer directories alongside a server.ts file to maintain clear boundaries within the realm.

When do I need to use layered groups for Blong realm handlers?

You need layered groups when your Blong realm requires improved modularity, clear responsibilities, and controlled activation across environments. It applies to realms with server-side layers needing a documented taxonomy and configuration patterns.

Does organizing Blong handlers into layers require specific folder structure patterns?

Yes, organizing Blong handlers into layers enforces a specific folder structure and configuration patterns. You must create a skill folder with a root SKILL.md, define frontmatter, and structure realms with server.ts placing handlers under layer directories.