Court form filling

From XuShuwenn/RedAct · View interactive version

Court form filling is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Fill PDF forms with case information for legal filing, handling dates, addresses, and structured text fields.

How to use this skill

Skill file

Court Form Filling

When to Use

Workflow

  1. Read the blank PDF form to understand field structure
  2. Extract or inspect the complete form field list/schema, visible labels, and relevant rendered pages before mapping any values; if inspection is partial, truncated, or unclear, inspect further instead of guessing
  3. If using a provided helper script or mapping file, inspect its usage/schema first and match its exact expected structure before generating JSON or other transform input
  4. Parse case description to extract key information
  5. Build a traceable field-to-data mapping using only confirmed PDF field names/IDs present in the extracted metadata or observed form layout
  6. For checkboxes, radio buttons, yes/no controls, selects, and conditional sections, confirm the exact question semantics and valid export values before setting anything; distinguish answer controls from follow-up explanation fields
  7. If a target field is ambiguous, unconfirmed, unsupported, or merely optional, leave it blank until resolved rather than guessing
  8. If you generate a field-value mapping file, validate that it parses and preserves the required schema before using it
  9. Fill the PDF form with the verified mapping while preserving the original AcroForm/form metadata; if a method removes fields, breaks form structure, or makes the output unreadable, stop and switch approaches
  10. Save the filled form to the output path
  11. Re-open, render, or extract fields from the saved PDF and verify that every populated required/high-risk field was actually written correctly in the verified output

Important Notes

Common Patterns

Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.