OpenCoze
Back to template library

GitHub Copilot CLI Codebase Dungeonization Workflow

DevelopmentCozeUpdated 2026-05-13

This workflow lets developers quickly generate a roguelike dungeon from any codebase, visualizing structure and accelerating code reviews and collaboration.

System Prompt
Use {repo_url} {branch} {dungeon_name} {difficulty} {output_format} placeholders, not double braces.

Variable Dictionary (fill in your AI tool)

This section only explains placeholders. It is not an input form on this website. Copy the prompt, then replace variables in Coze / Dify / ChatGPT.

{repo_url}

GitHub repository URL to generate a dungeon from

Filling hint: replace this with your real business context.

{branch}

Branch to use

Filling hint: replace this with your real business context.

{dungeon_name}

Name of the generated dungeon

Filling hint: replace this with your real business context.

{difficulty}

Dungeon difficulty level (easy, medium, hard)

Filling hint: replace this with your real business context.

{output_format}

Output format (markdown, html, json)

Filling hint: replace this with your real business context.

Quick Variable Filler (Optional)

Fill variables below to generate a ready-to-run prompt in your browser.

{repo_url}

GitHub repository URL to generate a dungeon from

{branch}

Branch to use

{dungeon_name}

Name of the generated dungeon

{difficulty}

Dungeon difficulty level (easy, medium, hard)

{output_format}

Output format (markdown, html, json)

Generated Prompt Preview

Missing: 5
Use {repo_url} {branch} {dungeon_name} {difficulty} {output_format} placeholders, not double braces.

How to Use This Template

Best for

Teams that need faster development output with more stable prompt quality.

Problem it solves

Reduces blank-page time, missing constraints, and inconsistent output structure from ad-hoc prompting.

Steps

  1. Copy the template prompt.
  2. Paste it into your AI tool (Coze / Dify / ChatGPT).
  3. Replace placeholder variables using the dictionary above.
  4. Run and refine constraints based on output quality.

Not ideal when

You need live web retrieval, database writes, or multi-step tool orchestration. Use full workflow automation for that.

Success Case

Input:
repo_url: https://github.com/example/repo branch: main dungeon_name: Example Dungeon difficulty: medium output_format: markdown
Output:
The dungeon Markdown file has been saved to /output/Example_Dungeon.md

Boundary Case

Input:
repo_url: https://github.com/nonexistent/repo branch: main dungeon_name: Example Dungeon difficulty: medium output_format: markdown
Fix:
Verify the repository URL and ensure network connectivity.

What to Try Next

Keep exploring with similar templates and matching tools.

Continue Where You Left Off

No recent items yet.

Workflow Steps

  1. Step 1: Pull the repository locally using the GitHub API.

  2. Step 2: Invoke GitHub Copilot CLI to generate the dungeon.

  3. Step 3: Output the generated dungeon in {output_format} to a specified path or display it in the Coze conversation.

Constraints

  • Empty repository
  • Repository larger than 5GB
  • Copilot CLI not installed

Explore More in This Category

Development

Recommended Stack

Tools that work well with this template.

Coze

Official site

Low-code agent workflow platform for fast automation delivery.

Open