From pyform
Configure the pyform API Key for form generation. Use when the user says "setup pyform", "configure pyform", "connect pyform", "pyform API key", "set my pyform key", or needs to authenticate with pyform before creating forms.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pyform:pyform-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Help the user configure their pyform API Key by creating or updating a project-local `.env` file.
Help the user configure their pyform API Key by creating or updating a project-local .env file.
If the user included a key (a string starting with pyf_) in their message, extract it and skip to step 3.
If no key was provided, respond with:
To connect with your pyform account you need an API Key:
- Open your pyform dashboard → Settings → API Keys
- Click "New Key" and copy the generated key
- Paste it here or run:
/pyform-setup pyf_your_key_hereYou only need to do this once per project.
Then stop and wait for the user to provide the key.
Confirm the key starts with pyf_ and is at least 20 characters long. If invalid, inform the user:
That doesn't look like a valid pyform API Key. Keys start with
pyf_and are at least 20 characters long. Check your dashboard at Settings → API Keys.
.env# Check if .env exists and already has PYFORM_API_KEY
if [ -f .env ] && grep -q '^PYFORM_API_KEY=' .env; then
# Update existing key in place
sed -i 's/^PYFORM_API_KEY=.*/PYFORM_API_KEY="THE_KEY"/' .env
else
# Append new key
echo 'PYFORM_API_KEY="THE_KEY"' >> .env
fi
Replace THE_KEY with the actual key value.
Check if .gitignore exists and contains .env. If not, warn:
Important: Make sure
.envis in your.gitignoreto avoid committing secrets.echo '.env' >> .gitignore
Your pyform API Key has been saved. You can now create forms with
/generate-form.
npx claudepluginhub lukhazd/pyform-plugin --plugin pyformGenerates Google Forms via API: interviews users interactively, previews in Markdown, creates forms with 11 question types, quizzes, branching logic, Drive/Sheets integration. Invoke for automated form building.
Generates validated, accessible form pages for contact forms, registrations, surveys, sign-ups, and multi-step wizards. Detects project tech stack to produce matching code with real-time validation, error handling, and a11y.
Provides FastAPI validation patterns with Pydantic v2 BaseModels, Field constraints, nested models, lists, and request/response validation for type-safe APIs.