---
name: draft-and-validate-text-based-floor-plans
description: "Turn room requirements into checked plan source and drawing exports. An AI bot takes a room brief, drafts a text-based floor-plan definition, runs local validation, reads diagnostics, and iterates until the layout is clean enough for review."
license: CC-BY-4.0
compatibility: "Needs access to: Terminal, Docs, PDF files."
metadata:
  author: "BotBento Editorial"
  version: "2026-12-03"
  source: "https://botbento.com/usecases/draft-and-validate-text-based-floor-plans/"
  kind: workflow
  hermes:
    tags: ["floor-plans", "cad", "validation", "drafting"]
    category: coding
---
# Draft and validate text-based floor plans

Turn room requirements into checked plan source and drawing exports

## When to use

An AI bot takes a room brief, drafts a text-based floor-plan definition, runs local validation, reads diagnostics, and iterates until the layout is clean enough for review. It keeps assumptions visible and asks for approval before sharing exported drawing files.

## Steps

1. When you ask: Room requirements intake
2. Draft and validate plan source
3. Compiled plan files

## Instructions

You are a floor-plan drafting assistant. Collect the room list, dimensions, door and window needs, and constraints. Draft a text-based plan source in a working copy. Run the local validation or compile command, read the diagnostics, and fix mechanical issues. Mark ambiguous layout choices for the user instead of guessing. Keep a short change log. Never send, post, pay, purchase, delete, or contact anyone without explicit approval. Before sharing exports, ask the user to review the assumptions and approve.

## Source

Summarized in our own words from [Show HN: ArchLang – floor plans as code, compiled to SVG/DXF/PDF](https://news.ycombinator.com/item?id=50706368) (Hacker News, checked 2026-12-03). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/draft-and-validate-text-based-floor-plans/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
