Skip to content

formify-e-sign/formify-skills / plugins/formify-es-real-estate/skills/formify-es-real-estate

formify-es-real-estate

Verified

ES Real Estate Formify: the six documents a Spanish estate agency signs most (nota de encargo, KYC comprador y vendedor, oferta y reserva, contrato de arras, colaboración entre agencias, entrega de llaves), bilingual Spanish plus the client language, region-correct, signed through Formify. Use for a Spanish property sale or letting: encargo, mandato, reserva, arras, señal, KYC, blanqueo, llaves. Every run starts with scripts/start.py, which prints the welcome lines.

FileKindSize
LICENSEother1.0 KB
README.mdmarkdown3.0 KB
SKILL.mdskill md30.4 KB
agents/openai.yamlconfig607 B
assets/base.cssother11.7 KB
assets/samples/data_arras.jsonconfig7.4 KB
assets/samples/data_arras_fn.jsonconfig7.0 KB
assets/samples/data_colab.jsonconfig1.4 KB
assets/samples/data_colab_campos.jsonconfig1.7 KB
assets/samples/data_encargo.jsonconfig4.2 KB
assets/samples/data_example.jsonconfig1.1 KB
assets/samples/data_kyc.jsonconfig1.1 KB
assets/samples/data_kyc_vendedor.jsonconfig1.4 KB
assets/samples/data_llaves.jsonconfig1.8 KB
assets/samples/data_reserva.jsonconfig4.2 KB
assets/samples/documents.jsonconfig2.8 KB
assets/samples/signers_arras.jsonconfig419 B
assets/samples/signers_colab.jsonconfig241 B
assets/samples/signers_encargo.jsonconfig225 B
assets/samples/signers_example.jsonconfig159 B
assets/samples/signers_kyc.jsonconfig106 B
assets/samples/signers_kyc_vendedor.jsonconfig108 B
assets/samples/signers_llaves.jsonconfig226 B
assets/samples/signers_reserva.jsonconfig322 B
assets/templates/01_encargo.guide.mdmarkdown13.8 KB
assets/templates/01_encargo.htmlother25.6 KB
assets/templates/02_kyc.guide.mdmarkdown11.1 KB
assets/templates/02_kyc_comprador.htmlother21.0 KB
assets/templates/02_kyc_vendedor.htmlother21.8 KB
assets/templates/03_reserva.guide.mdmarkdown8.8 KB
assets/templates/03_reserva.htmlother22.9 KB
assets/templates/04_arras.guide.mdmarkdown13.6 KB
assets/templates/04_arras.htmlother27.9 KB
assets/templates/05_colaboracion.guide.mdmarkdown7.6 KB
assets/templates/05_colaboracion.htmlother13.2 KB
assets/templates/06_llaves.guide.mdmarkdown5.7 KB
assets/templates/06_llaves.htmlother11.0 KB
assets/templates/EXAMPLE_receipt.guide.mdmarkdown3.1 KB
assets/templates/EXAMPLE_receipt.htmlother5.8 KB
assets/welcome.txtmarkdown600 B
references/attachments.mdmarkdown3.1 KB
references/controls.jsonconfig16.8 KB
references/first-run.mdmarkdown7.0 KB
references/formify-errors.mdmarkdown1.5 KB
references/formify.mdmarkdown13.2 KB
references/id-scan.mdmarkdown4.0 KB
references/kyc-pattern.mdmarkdown4.3 KB
references/memory.mdmarkdown4.9 KB
references/own-templates.mdmarkdown3.4 KB
references/regions-encargo.mdmarkdown6.0 KB
references/regions-table.mdmarkdown10.7 KB
references/regions.mdmarkdown1.4 KB
references/sample-pack.mdmarkdown3.3 KB
references/signatures.mdmarkdown11.5 KB
references/style-bilingual.mdmarkdown11.3 KB
references/style-drafting.mdmarkdown9.1 KB
references/style-structure.mdmarkdown5.9 KB
references/style.jsonconfig3.4 KB
references/style.mdmarkdown2.2 KB
references/templates-links.mdmarkdown4.7 KB
references/terms.mdmarkdown7.2 KB
references/tink-attributes.mdmarkdown9.0 KB
references/withdrawal.mdmarkdown9.8 KB
scripts/check_law.pyscript3.8 KB
scripts/check_style.pyscript5.4 KB
scripts/fill.pyscript7.4 KB
scripts/handover.pyscript5.2 KB
scripts/render_pdf.pyscript29.8 KB
scripts/sample_pack.pyscript3.2 KB
scripts/start.pyscript3.3 KB
scripts/stdlib_pdf.pyscript17.6 KB
scripts/translate.pyscript5.8 KB
segment.jsonconfig2.1 KB

scripts/check_style.py

View on GitHub
#!/usr/bin/env python3
"""
check_style.py: reviews a document's HTML before rendering. The generic checks are built in; the language-
and segment-specific ones come from references/style.json, so this script is never edited per segment.

Built-in checks (always on):
  1. Unfilled markers: {{...}}, [[...]], REQUIRED, TODO, XXX.
  2. Dashes used as a pause (" - ", " – ", " — ") outside fixed legal blocks (Formify house rule).
  3. Mentions of AI, assistants, model names, or disclaimer wording. These must never appear in a document.
  4. Filler phrases of generated text (English built in; the master language's list comes from style.json).

From style.json (all optional):
  "anglicisms":      [[regex, "better: ..."], ...]     checked in the master-language column only
  "filler_phrases":  [regex, ...]                       checked in the whole text
  "forbidden":       [regex, ...]                       extra AI/disclaimer patterns for the master language
  "per_document":    {"doc": [[regex, "why"], ...]}     document-specific forbidden wording
  "required_text":   {"doc": [["literal", "message if missing"], ...]}
  "fixed_block_classes": ["legal-fixed", "fixed-form"]  blocks exempt from the dash rule (default shown)

Usage: python3 check_style.py document.html [--doc <document type>] [--style ../references/style.json]
Exit code 0 when there are no warnings, 1 when there are. Warnings show the fragment and, for markers, the line.
Standard library only.
"""
import re, sys, os, json, argparse

HERE = os.path.dirname(os.path.abspath(__file__))
DEFAULT_STYLE = os.path.join(HERE, "..", "references", "style.json")

BUILTIN_FILLERS = [
    r"\bit is important to note\b", r"\bplease note\b", r"\bin today's\b", r"\bit is worth (noting|mentioning)\b",
    r"\bin conclusion\b", r"\bfurthermore\b,", r"\bdelve\b",
]
BUILTIN_FORBIDDEN = [
    r"\bartificial intelligence\b", r"\bAI[- ]generated\b", r"\bAI[- ]assisted\b", r"\bAI\b(?=[^A-Za-z])",
    r"\bnot legal advice\b", r"\bdisclaimer\b", r"\bgenerated (by|with)\b.*\b(assistant|model)\b",
    r"\bChatGPT\b", r"\bClaude\b", r"\bFormify is not\b", r"\blegal advis(e|o)r\b",
]


def strip_tags(s):
    return re.sub(r"<[^>]+>", " ", s)


def main():
    ap = argparse.ArgumentParser()
    ap.add_argument("html")
    ap.add_argument("--doc", default="")
    ap.add_argument("--style", default=DEFAULT_STYLE)
    a = ap.parse_args()
    raw = open(a.html, encoding="utf-8").read()
    style = {}
    if os.path.exists(a.style):
        style = json.load(open(a.style, encoding="utf-8"))

    warnings = []

    # 1. Markers
    for m in re.finditer(r"\{\{[^}]*\}\}|\[\[[^\]]*\]\]|\bREQUIRED\b|\bTODO\b|\bXXX\b", raw):
        warnings.append(("unfilled marker", m.group(0), raw[:m.start()].count("\n") + 1))

    # 2. Dashes as a pause, outside fixed blocks
    fixed = style.get("fixed_block_classes", ["legal-fixed", "fixed-form"])
    cls = "|".join(re.escape(c) for c in fixed) or "legal-fixed"
    without_fixed = re.sub(r'<div class="(' + cls + r')[^"]*">.*?</div>\s*(?=<(?:div|h2|h3|table|p)|$)', " ", raw, flags=re.S)
    text = strip_tags(without_fixed)
    # Master column only for anglicisms: drop translated cells, headers and the form-layout translated halves
    master_only = re.sub(r'<td class="tr"[^>]*>.*?</td>', " ", without_fixed, flags=re.S)
    master_only = re.sub(r"<th[^>]*>.*?</th>", " ", master_only, flags=re.S)
    master_only = re.sub(r'<span class="tr-(lbl|val)">.*?</span>', " ", master_only, flags=re.S)
    text_master = strip_tags(master_only)
    for m in re.finditer(r"\s[–—]\s|\s-\s|\w—\w|[.,;:]\s*[–—]", text):
        ctx = text[max(0, m.start() - 40): m.end() + 40].replace("\n", " ")
        warnings.append(("dash used as a pause", ctx.strip(), None))

    # 3. Anglicisms / translation tells (master column)
    for pat, alt in style.get("anglicisms", []):
        for m in re.finditer(pat, text_master, flags=re.I):
            ctx = text_master[max(0, m.start() - 30): m.end() + 30].replace("\n", " ")
            warnings.append((f"anglicism or calque, better: {alt}", ctx.strip(), None))

    # 4. Filler phrases
    for pat in BUILTIN_FILLERS + style.get("filler_phrases", []):
        for m in re.finditer(pat, text, flags=re.I):
            ctx = text[max(0, m.start() - 30): m.end() + 30].replace("\n", " ")
            warnings.append(("filler phrase of generated text", ctx.strip(), None))

    # 5. Per document
    for pat, why in style.get("per_document", {}).get(a.doc, []):
        for m in re.finditer(pat, text, flags=re.I):
            ctx = text[max(0, m.start() - 40): m.end() + 40].replace("\n", " ")
            warnings.append((f"{a.doc}: {why}", ctx.strip(), None))
    for literal, msg in style.get("required_text", {}).get(a.doc, []):
        if literal not in raw:
            warnings.append((f"{a.doc}: {msg}", "", None))

    # 6. AI and disclaimer wording
    for pat in BUILTIN_FORBIDDEN + style.get("forbidden", []):
        for m in re.finditer(pat, text, flags=re.I):
            ctx = text[max(0, m.start() - 30): m.end() + 30].replace("\n", " ")
            warnings.append(("AI mention or disclaimer wording: remove from the document", ctx.strip(), None))

    if not warnings:
        print("OK: no style warnings.")
        sys.exit(0)
    print(f"{len(warnings)} warning(s):")
    for kind, frag, line in warnings:
        loc = f" (line {line})" if line else ""
        print(f"- {kind}{loc}: «{frag}»")
    sys.exit(1)


if __name__ == "__main__":
    main()
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall