service-integration-architecture

Scaffold 4-layer service integrations with TypeScript strict mode and Zod validation.

Updated Nov 17, 2025
One-click install
npx skills add https://github.com/Valynt/ValueOS --skill service-integration-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: service-integration-architecture
Source: https://github.com/Valynt/ValueOS/tree/main/.windsurf/skills/service-integration-architecture
Command: npx skills add https://github.com/Valynt/ValueOS --skill service-integration-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enforces the 4-layer integration standard across all provider adapters in ValueOS, ensuring consistent architecture, CI checks, health registration, and secure webhook patterns across teams.

Core Features & Use Cases

  • Scaffolds and enforces the 4-layer integration model across all providers.
  • Provides CI enforcement rules and a centralized health registry to monitor readiness.
  • Specifies a clear repository structure, configuration, and testing guidance for new integrations.

Quick Start

Run the integration generator and implement the 4-layer structure for a new provider.

Frequently Asked Questions about service-integration-architecture

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

FAQPage Schema
How do I structure a new provider integration in a monorepo?

Structure a provider integration using a 4-layer folder layout under packages/integrations. This standard enforces consistent architecture across adapters, separating configuration, webhook handling, and core service logic.

What is the 4-layer integration model for service adapters?

The 4-layer integration model separates provider adapters into distinct layers for configuration, webhook handling, health checks, and core logic. It enforces consistent architecture and secure patterns across all teams in the monorepo.

How do I implement health checks and a centralized health registry for integrations?

Implement health checks by registering each provider adapter with a centralized health registry. This monitors integration readiness and enforces CI checks to ensure all services report their health status consistently.

Do I need TypeScript strict mode and Zod for integration scaffolding?

Yes, integration scaffolding requires TypeScript strict mode and Zod-based validation. Zod handles config and payload validation, ensuring type-safe data flows and strict type checking across the 4-layer integration architecture.

Can I enforce CI rules for webhook handling and provider integrations?

Yes, you can enforce CI rules for webhook handling and provider integrations using CI enforcement rules. This ensures new integrations meet the 4-layer standard, register with the health registry, and pass architectural checks before merging.

When should I use a 4-layer architecture for service integrations?

Use a 4-layer architecture when scaling multiple provider integrations in a monorepo. It standardizes webhook patterns, health registration, and CI enforcement, preventing architectural drift across distributed teams.