Skip to content

DavidCho1999/archaiflow-skills / bundles/code-life-safety/skills/zoning-summary

zoning-summary

Verified

This skill should be used when the user provides a site address, parcel info, or zoning lookup text and needs a structured zoning summary for early design. Trigger on 'zoning summary', 'zoning lookup', 'site zoning for [address]', or pasted zoning portal output. Targets North American projects (US + Canada). Generates a worksheet markdown in `docs/zoning/` and updates the project zoning index.

scripts/append_to_index.py

View on GitHub
#!/usr/bin/env python3
"""Append a zoning summary entry to docs/zoning/index.md."""
import argparse
import sys
from datetime import date
from pathlib import Path


def main():
    parser = argparse.ArgumentParser(description=__doc__)
    parser.add_argument("--date", default=date.today().isoformat())
    parser.add_argument("--site-slug", required=True)
    parser.add_argument("--jurisdiction", required=True, help="city + state/province, e.g. 'Portland, OR' or 'Toronto, ON'")
    parser.add_argument("--zone", required=True, help="zone designation, e.g. 'R-5' or 'CR 2.5'")
    parser.add_argument("--use", required=True, help="intended use / program")
    parser.add_argument("--zoning-dir", default="docs/zoning")
    args = parser.parse_args()

    index = Path(args.zoning_dir) / "index.md"
    if not index.exists():
        sys.exit(f"Index not found: {index}. Run init_zoning_workspace.py first.")

    filename = f"{args.site_slug}.md"
    row = (
        f"| {args.date} | {args.site_slug} | {args.jurisdiction} | "
        f"{args.zone} | {args.use} | [{filename}](./{filename}) |"
    )

    content = index.read_text()
    if any(
        line.startswith(f"| {args.date} | {args.site_slug} |")
        for line in content.splitlines()
    ):
        sys.exit(f"Row already exists for {args.date} / {args.site_slug}.")

    if not content.endswith("\n"):
        content += "\n"
    content += row + "\n"
    index.write_text(content)
    print(f"Appended: {args.date}/{args.site_slug} -> {index}")


if __name__ == "__main__":
    main()
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall