---
name: jnzader/add-scenarios-real-endpoint
source: https://app.decimal.ai/s/jnzader-add-scenarios-real-endpoint@1/SKILL.md
source_sha256: 851199b024be
---

## 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()` |