backend-config

Load and access Drumr Framework backend configuration from config/config.json.

Updated Sep 16, 2025
One-click install
npx skills add https://github.com/slingr-stack/qa-test-drumr --skill backend-config
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-config
Source: https://github.com/slingr-stack/qa-test-drumr/tree/main/project-management-app/.agents/skills/backend-config
Command: npx skills add https://github.com/slingr-stack/qa-test-drumr --skill backend-config

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the ambiguity and repetition of reading backend configuration by showing how Drumr Framework loads config/config.json, applies environment variable defaults, and exposes settings through a single ConfigService.

Core Features & Use Cases

  • Runtime Configuration Access: Read built-in sections such as graphql, auth, metadata, and workflows without manual file parsing.
  • Custom App Settings: Store and retrieve application-specific values through custom properties or typed section access.
  • Environment Variable Interpolation: Use defaulted environment placeholders in JSON and let the framework coerce values safely.
  • Test Configuration Overrides: Replace the production config file in integration tests with a TestConfigService subclass.
  • Use Case: A developer needs to change GraphQL ports, auth paths, workflow retention, and mail settings across environments while keeping the same code path.

Quick Start

Use the backend-config skill to explain how to structure config/config.json, read settings through ConfigService, and override configuration in tests.

Frequently Asked Questions about backend-config

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

FAQPage Schema
How do I load backend configuration from config.json in Drumr Framework?

You can store and retrieve custom app settings in Drumr Framework by defining custom properties in config/config.json and accessing them through typed ConfigService section access.

Can I use environment variable interpolation in backend configuration?

Yes, Drumr Framework supports environment variable interpolation in backend configuration by using defaulted environment placeholders in your JSON file, which the framework then safely coerces into the correct values.

What is the best way to override backend config during integration testing?

The best way to override backend config during integration testing is to subclass the ConfigService, creating a TestConfigService that replaces the production config file while keeping the exact same code path.

How do I access built-in configuration sections like graphql and auth?

You access built-in configuration sections like graphql, auth, metadata, and workflows in Drumr Framework by using typed ConfigService access, which eliminates the need for manual JSON file parsing.