create-web-form
Build accessible, production-ready web forms with HTML, CSS, JavaScript, and server-side processing.
- Covers complete form lifecycle: HTML structure, CSS styling, JavaScript validation, and server-side handling with PHP or Python
- Includes accessibility best practices (ARIA roles), progressive enhancement, and security guidelines for data transmission
- Provides references for database integration (MySQL), data formats (JSON, XML), and REST API communication
- Supports both client-side and server-side validation, cookie management, and progressive web app integration
Create Web Form Skill
Overview
This skill provides comprehensive reference materials and best practices for creating web forms. It covers HTML syntax, UI/UX design, form validation, server-side processing (PHP and Python), data handling, and network communication.
Purpose
Enable developers to build robust, accessible, and user-friendly web forms by providing:
- HTML form syntax and structure
- CSS styling techniques for form elements
- JavaScript for form interactivity and validation
- Accessibility best practices
- Server-side form processing with PHP and Python
- Database integration methods
- Network data handling and security
- Performance optimization
Reference Files
This skill includes the following reference documentation:
UI & Styling
styling-web-forms.md- Form styling techniques and best practicescss-styling.md- Comprehensive CSS reference for form styling
User Experience
accessibility.md- Web accessibility guidelines for formsjavascript.md- JavaScript techniques for form functionalityform-controls.md- Native form controls and their usageprogressive-web-app.md- Progressive web app integration
HTML Structure
form-basics.md- Fundamental HTML form structurearia-form-role.md- ARIA roles for accessible formshtml-form-elements.md- Complete HTML form elements referencehtml-form-example.md- Practical HTML form examples
Server-Side Processing
form-data-handling.md- Network form data handlingphp-forms.md- PHP form processingphp-cookies.md- Cookie management in PHPphp-json.md- JSON handling in PHPphp-mysql-database.md- Database integration with PHPpython-contact-form.md- Python contact form implementationpython-flask.md- Flask forms tutorialpython-flask-app.md- Building Flask web applicationspython-as-web-framework.md- Python web framework basics
Data & Network
xml.md- XML data format referencehypertext-transfer-protocol.md- HTTP protocol referencesecurity.md- Web security best practicesweb-api.md- Web API integrationweb-performance.md- Performance optimization techniques
Usage
When creating a web form, consult the appropriate reference files based on your needs:
- Planning: Review
form-basics.mdandform-controls.md - Structure: Use
html-form-elements.mdandaria-form-role.md - Styling: Reference
styling-web-forms.mdandcss-styling.md - Interactivity: Apply techniques from
javascript.md - Accessibility: Follow guidelines in
accessibility.md - Server Processing: Choose between PHP or Python references
- Data Storage: Consult database and data format references
- Optimization: Review
web-performance.mdandsecurity.md
Best Practices
- Always validate input on both client and server sides
- Ensure forms are accessible to all users
- Use semantic HTML elements
- Implement proper error handling and user feedback
- Secure form data transmission with HTTPS
- Follow progressive enhancement principles
- Test forms across different browsers and devices
- Optimize for performance and user experience
More from github/awesome-copilot
git-commit
Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping
29.7Kgh-cli
GitHub CLI (gh) comprehensive reference for repositories, issues, pull requests, Actions, projects, releases, gists, codespaces, organizations, extensions, and all GitHub operations from the command line.
20.9Kprd
Generate high-quality Product Requirements Documents (PRDs) for software systems and AI-powered features. Includes executive summaries, user stories, technical specifications, and risk analysis.
17.2Kdocumentation-writer
Diátaxis Documentation Expert. An expert technical writer specializing in creating high-quality software documentation, guided by the principles and structure of the Diátaxis technical documentation authoring framework.
17.1Kexcalidraw-diagram-generator
Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.
16.1Krefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
15.9K