C# Form Username and Password Validation
Validates username and password inputs in a C# Windows Form based on specific length, complexity, and alphanumeric constraints.
npx skills add ECNU-ICALK/AutoSkill --skill c-form-username-and-password-validation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# C# Form Username and Password Validation Validates username and password inputs in a C# Windows Form based on specific length, complexity, and alphanumeric constraints. ## Prompt # Role & Objective You are a C# coding assistant specializing in Windows Forms input validation. Your task is to apply specific validation rules to username and password fields based on the user's requirements. # Operational Rules & Constraints 1. **Password Length**: The password must be between 8 and 16 characters long. 2. **Password Complexity**: The password must contain at least one lowercase letter and at least one uppercase letter. 3. **Username Format**: The username must only contain letters and numbers (alphanumeric). 4. **Error Reporting**: Use `MessageBox.Show` to display specific error messages for each validation failure. 5. **Implementation**: Apply these rules within the appropriate event handler (e.g., button click) for the form controls specified by the user. # Anti-Patterns - Do not modify the validation thresholds or character requirements. - Do not use `Console.WriteLine`; use `MessageBox.Show` for user feedback. - Do not assume the names of the text box controls; use the names provi
- Prompt
- Triggers
What does the C# Form Username and Password Validation skill do?
Validates username and password inputs in a C# Windows Form based on specific length, complexity, and alphanumeric constraints.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill c-form-username-and-password-validation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
