agentleFS
TrustPagerTrustPager/Business_Operating_System/skills/lint-form/SKILL.md

Lint Form

Skill8 starsChanged 5 months agoMITView on GitHub

Pre-flight a form template before it ships — every data field wired to a CRM variable (no orphans), required fields set, labels match their wiring, no leftover placeholders. Read-only; fails first, then warnings.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read-only — never edits; routes each fix to /build-form or /wire-form.

    line 27
  2. Very specific:

    If the operator named it by title, find it with list_form_templates first.

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Lint Form

Catch the silent form mistakes before a client fills it in and the answers vanish: an unwired field whose answer never lands on the record, a label that disagrees with its wiring, a missing required flag, leftover placeholder text. Read-only — never edits; routes each fix to /build-form or /wire-form.

Source of truth: knowledge/form-method.md — checks map to §1 (orphans) and §2 (the label rule).

Step 1 — Load the form

mcp__trustpager__get_form_template(template_id) + list_form_fields(template_id). If the operator named it by title, find it with list_form_templates first. If they didn't say which, ask.

Step 2 — Run the checks

FAILS (fix before shipping):

  • Orphan data field — a field that collects real data (not a heading/display block) with no CRM wiring. The answer never lands on the record. → /wire-form
  • Label ↔ wiring mismatch — a precise field ("Mobile") wired to the wrong target ("contact.email"), or a vague field ("Notes") wired to a precise CRM field. → fix label or wiring.
  • No fields — empty template.
  • Broken option set — a select/radio with zero options.

WARNINGS (worth a look):

  • Required not set — a field the process clearly needs (email on an intake form) that isn't marked required.
  • Placeholder left in — "Lorem ipsum", "TODO", "test field", "[label]".
  • Duplicate label — two fields with the same label (confusing on the record and in the PDF).
  • File-upload with no purpose wired — an upload field whose file isn't routed anywhere.

Step 3 — Report, fails first

📋 "New Client Intake" — 2 fails, 1 warning

❌ FAILS (fix before shipping)
  → "Budget range" is unwired — the answer won't land on any record. → /wire-form
  → "Mobile" is wired to contact.email — label and target disagree. → /wire-form

⚠️ WORTH A LOOK
  → "Email" isn't marked required on an intake form — most should be. → /build-form

End with the single most important fix. If clean: "Clean — every field's wired, labels match, required fields set. Ready to send via /wire-form's send step or collect via intake."

Hard rules

  • Read-only. Diagnose; route fixes to /build-form (fields) or /wire-form (wiring). Never edit here.
  • Fails before warnings. Lead with what actually loses data.
  • An orphan data field is a FAIL — that's the whole point of a form in a CRM.
  • Display-only fields aren't orphans — a heading/instruction block needs no wiring; don't flag it.

Output shape

Headline tally, then FAILS, then WARNINGS, then the one fix to make first — or a clean bill of health.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.