Skip to content
Back to skills

Generate

ASecurity

This skill covers the generation routes for starting, streaming, canceling, downloading, and previewing. Trigger: When generating content.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 26, 2026
ai-agentspythongobashdocker

Security analysis

A100/100

Scanned September 26, 2026

npx -y skills add JNZader/repoforge --skill generate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Generate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Generate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jnzader-generate/badge)](https://www.skillsdirectory.com/skills/jnzader-generate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: start-generation
description: >
  This skill covers the generation routes for starting, streaming, canceling, downloading, and previewing.
  Trigger: When generating content.
license: Apache-2.0
metadata:
  author: repoforge
  version: "1.0"
  complexity: medium
  token_estimate: 350
  dependencies: []
  related_skills: []
  load_priority: high
---

<!-- L1:START -->
# start-generation

This skill covers the generation routes for starting, streaming, canceling, downloading, and previewing.

**Trigger**: When generating content.
<!-- L1:END -->

<!-- L2:START -->
## Quick Reference

| Task | Pattern |
|------|---------|
| Start generation | `start_generation()` |
| Stream generation | `stream_generation()` |

## Critical Patterns (Summary)
- **Start Generation**: Initiates the generation process.
- **Stream Generation**: Streams the ongoing generation process.
<!-- L2:END -->

<!-- L3:START -->
## Critical Patterns (Detailed)

### Start Generation

Initiates the generation process by calling the `start_generation` function.

```python
from apps.server.app.routes.generate import start_generation

result = start_generation(data)
```

### Stream Generation

Streams the ongoing generation process using the `stream_generation` function.

```python
from apps.server.app.routes.generate import stream_generation

for chunk in stream_generation(generation_id):
    process_chunk(chunk)
```

## When to Use

- When a user requests to start a new generation task.
- When streaming updates for a long-running generation process.

## Commands

```bash
docker-compose up
python apps/server/app/main.py
```

## Anti-Patterns

### Don't: Start without validation

Starting a generation without validating input can lead to errors and unexpected behavior.

```python
# BAD
start_generation(None)
```
<!-- L3:END -->

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.