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_law.py

View on GitHub
#!/usr/bin/env python3
"""
check_law.py: "takes the temperature" of the legal provisions a document depends on.

Reads references/controls.json. Each control has: id, documents it affects, provision, official url,
key_sentence (a literal fragment of the provision as it read at the last verification), verified (date) and
what_to_review. The script downloads the official page and checks that the sentence is still there.

Result per control:
  UNCHANGED     the literal sentence is still on the official page
  REVIEW        the page answers but the sentence is not there (possible amendment or format change)
  NOT CHECKED   the page could not be downloaded (no network, blocked, timeout): check with the agent's web tool

Usage: python3 check_law.py --doc <document type> [--region XX] [--all] [--json] [--controls ../references/controls.json]
Standard library only. Never stops the flow: it reports and continues.
"""
import argparse, json, os, re, sys, urllib.request, html as htmlmod

HERE = os.path.dirname(os.path.abspath(__file__))
CONTROLS = os.path.join(HERE, "..", "references", "controls.json")


def normalise(s):
    s = htmlmod.unescape(s)
    s = re.sub(r"<[^>]+>", " ", s)
    s = s.replace(" ", " ")
    s = re.sub(r"\s+", " ", s)
    return s.lower()


def download(url, timeout=25):
    req = urllib.request.Request(url, headers={"User-Agent": "Mozilla/5.0 (compatible; formify-skill-check/1.0)"})
    with urllib.request.urlopen(req, timeout=timeout) as r:
        data = r.read()
    for enc in ("utf-8", "latin-1"):
        try:
            return data.decode(enc)
        except Exception:
            continue
    return data.decode("utf-8", "ignore")


def main():
    ap = argparse.ArgumentParser()
    ap.add_argument("--doc", default="")
    ap.add_argument("--region", default="")
    ap.add_argument("--all", action="store_true")
    ap.add_argument("--json", action="store_true")
    ap.add_argument("--controls", default=CONTROLS)
    a = ap.parse_args()

    controls = json.load(open(a.controls, encoding="utf-8"))
    sel = []
    for c in controls:
        if a.all:
            sel.append(c); continue
        if a.doc and a.doc not in c.get("documents", []):
            continue
        regs = c.get("regions")
        if regs and a.region and a.region not in regs:
            continue
        if regs and not a.region:
            continue
        sel.append(c)

    out = []
    cache = {}
    for c in sel:
        url = c["url"]
        status, detail = "NOT CHECKED", ""
        try:
            if url not in cache:
                cache[url] = normalise(download(url))
            page = cache[url]
            sentence = normalise(c["key_sentence"])
            if sentence in page:
                status = "UNCHANGED"
            else:
                status = "REVIEW"
                detail = "the reference sentence is not on the official page"
        except Exception as e:
            detail = f"{type(e).__name__}: {e}"
        out.append({"id": c["id"], "provision": c["provision"], "status": status, "detail": detail,
                    "verified": c.get("verified"), "url": url, "what_to_review": c.get("what_to_review", "")})

    if a.json:
        print(json.dumps(out, ensure_ascii=False, indent=2))
        return
    if not out:
        print("No controls for that selection.")
        return
    for o in out:
        line = f"[{o['status']}] {o['id']} {o['provision']} (last verified {o['verified']})"
        if o["detail"]:
            line += f": {o['detail']}"
        if o["status"] != "UNCHANGED" and o["what_to_review"]:
            line += f" → {o['what_to_review']}"
        print(line)
    n_rev = sum(1 for o in out if o["status"] == "REVIEW")
    n_nc = sum(1 for o in out if o["status"] == "NOT CHECKED")
    print(f"\nSummary: {len(out)} controls, {n_rev} to review, {n_nc} not checked.")


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