map-generator

Generate and validate enriched prompts for 2D fantasy maps in JSON.

28|3|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/nicmarti/skills-weaver --skill map-generator-nicmarti
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: map-generator
Source: https://github.com/nicmarti/skills-weaver/tree/main/.claude/skills/map-generator
Command: npx skills add https://github.com/nicmarti/skills-weaver --skill map-generator-nicmarti

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of enriched prompts for 2D fantasy maps and validates them against world-building constraints, helping you quickly generate coherent city, region, dungeon, and tactical maps for your BFRPG universe.

Core Features & Use Cases

  • Automated Prompt Generation: Generate prompts for City, Region, Dungeon, and Tactical maps with consistent styles.
  • Validation & Consistency: Validate place names and ensure consistency across realms using the world-keeper rules.
  • Output & Caching: Cache prompts to speed up repeated runs and optionally produce images via fal.ai.

Quick Start

Generate a city map named Cordova for the Valdorine kingdom with the default style, then validate Cordova.

Frequently Asked Questions about map-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate enriched prompts for fantasy maps?

Generate enriched prompts by specifying map type (city, region, dungeon, or tactical), location name, and kingdom within the BFRPG universe. The Skill validates names against world-building constraints, applies architectural styles, and outputs JSON-formatted prompts ready for image generation or manual use.

Can I validate fantasy map location names against world-building rules?

Yes. The Skill validates place names and ensures consistency across realms using world-keeper rules, checking against your kingdom's established constraints to maintain coherent world-building across all map types.

Does this work with image generation via fal.ai?

Yes. After generating and caching prompts, you can optionally produce images via fal.ai integration. Requires FAL_KEY and ANTHROPIC_API_KEY environment variables set for end-to-end CLI-based generation.

What are the prerequisites for running the map generator?

Set ANTHROPIC_API_KEY and FAL_KEY environment variables. Provide a kingdom name, location name, and map type (city, region, dungeon, or tactical). Caching speeds up repeated runs with identical parameters.

How does caching improve map prompt generation workflow?

Caching stores generated prompts locally, eliminating redundant API calls when you run the same map generation multiple times with identical parameters, reducing latency and API costs in iterative world-building.