This skill should be used when the user asks to "fill PDF form", "extract PDF fields", "process PDF forms", "analyze PDF structure", or mentions working with fillable PDF documents.
/plugin marketplace add rafaelcalleja/claude-market-place/plugin install rafaelcalleja-example-skills-skills-2@rafaelcalleja/claude-market-placeThis skill is limited to using the following tools:
references/field-types.mdscripts/analyze_form.pyscripts/validate_fields.pyProcess fillable PDF forms: analyze fields, fill values, validate output.
python scripts/analyze_form.py input.pdf > fields.json
python scripts/fill_form.py input.pdf fields.json output.pdf
Run analysis script to extract fields:
python scripts/analyze_form.py form.pdf
Output format:
{
"field_name": {"type": "text", "x": 100, "y": 200},
"signature": {"type": "sig", "x": 150, "y": 500}
}
Edit fields.json to add values:
{
"field_name": {
"type": "text",
"value": "John Doe"
}
}
Check for errors before filling:
python scripts/validate_fields.py fields.json
# Returns: "OK" or lists issues
Apply values to PDF:
python scripts/fill_form.py input.pdf fields.json output.pdf
Check filled document:
python scripts/verify_output.py output.pdf
If verification fails, return to Step 2.
Task Progress:
- [ ] Step 1: Analyze form
- [ ] Step 2: Create field mapping
- [ ] Step 3: Validate mapping
- [ ] Step 4: Fill form
- [ ] Step 5: Verify output
Install dependencies:
pip install pypdf pdfplumber
references/field-types.md - Supported field types and propertiesreferences/troubleshooting.md - Common issues and solutionsscripts/analyze_form.py - Extract form fieldsscripts/fill_form.py - Apply field valuesscripts/validate_fields.py - Validate mappingsscripts/verify_output.py - Check output documentThis skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.