besser-generatorslisted
Install: claude install-skill BESSER-PEARL/BESSER-Skills
# BESSER Generator Operations
Every BESSER generator implements the same shape:
```python
class GeneratorInterface(ABC):
def __init__(self, model, output_dir=None): ...
def generate(self): ...
```
If `output_dir` is omitted, output goes to `<cwd>/output/`. The directory
is created automatically (`os.makedirs(..., exist_ok=True)`).
**Regeneration always overwrites.** Every call to `generate()` replaces the
output files entirely. This is by design — the model is the source of truth.
Customizations belong in *separate files* (see "Safe customization" below).
---
## Reference layout
To keep this skill scannable, per-generator detail lives in `references/`.
Read the relevant file when the user is working with a specific generator:
| If the user is running… | Read |
|--------------------------|------|
| `PythonGenerator`, `JavaGenerator`, `PydanticGenerator`, `JSONSchemaGenerator`, `RDFGenerator` | `references/python-and-data.md` |
| `SQLAlchemyGenerator`, `SQLGenerator` | `references/persistence.md` |
| `BackendGenerator`, `RESTAPIGenerator`, `DjangoGenerator`, `WebAppGenerator`, `ReactGenerator`, `FlutterGenerator` | `references/api-and-web.md` |
| `BAFGenerator`, `QiskitGenerator`, `TerraformGenerator`, `PytorchGenerator`, `TFGenerator` | `references/agents-and-other.md` |
| Anything failing or producing wrong output | `references/debugging.md` |
Each reference file documents inputs, outputs, options, templates, and
known gotchas for the generators it covers.
-