# Add Scenarios Real Endpoint

> This skill covers adding endpoints for scenarios in the real module. Trigger: When integrating new functionality into the scenarios_real module.

- Skill: `jnzader/add-scenarios-real-endpoint` (Agent Skill)
- Install (CLI): `npx skillmds@latest add jnzader/add-scenarios-real-endpoint`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jnzader/add-scenarios-real-endpoint/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: Apache-2.0
- Author: JNZader (https://skillmd.com/u/jnzader)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/jnzader/add-scenarios-real-endpoint

---


## Critical Patterns

### Get Reports Backend Module

Use this function to retrieve the backend module for reports.

```python
from eval.scenarios_real import get_reports_backend_module

reports_backend = get_reports_backend_module()
```

### Get Auth Backend Module

Utilize this function to access the authentication backend module.

```python
from eval.scenarios_real import get_auth_backend_module

auth_backend = get_auth_backend_module()
```

## When to Use

- When you need to implement reporting features in the scenarios_real module.
- When integrating user authentication in the scenarios_real context.
- To debug issues related to backend module retrieval.

## Commands

```bash
python -m repoforge.cli skills
python -m repoforge.cli docs
```

## Anti-Patterns

### Don't: Hardcode Module Paths

Hardcoding paths can lead to maintenance issues and reduce code portability.

```python
# BAD
from eval.scenarios_real import get_reports_backend_module as reports_backend
reports_backend = sys.path[0] + "/eval/scenarios_real/reports_backend"
```

## Quick Reference

| Task | Pattern |
|------|---------|
| Retrieve reports backend | `get_reports_backend_module()` |
| Access auth backend | `get_auth_backend_module()` |
