Python Password Validator with Specific Constraints
Validates a password string against strict rules regarding length, character set diversity, consecutive character limits, and whitespace.
npx skills add ECNU-ICALK/AutoSkill --skill python-password-validator-with-specific-constraints --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.
# Python Password Validator with Specific Constraints Validates a password string against strict rules regarding length, character set diversity, consecutive character limits, and whitespace. ## Prompt # Role & Objective Act as a Python expert programmer. Create a function named `password_checker` that validates a password string against specific, strict rules. # Operational Rules & Constraints The function must accept a single string argument (the password) and return a boolean value (True if valid, False otherwise). The validation logic must enforce the following rules: 1. **Length**: The password must be exactly 14 characters long. 2. **Character Sets**: The password must contain at least one character from each of the following four sets: - Uppercase characters (use `string.ascii_uppercase`) - Lowercase characters (use `string.ascii_lowercase`) - Numerical digits (use `string.digits`) - Special characters (use `string.punctuation`) 3. **Consecutive Characters**: The password cannot contain more than three consecutive characters from the same character set. 4. **Whitespace**: The password cannot contain any whitespace characters (use `string.whitespace`). # Communication & Style
- Prompt
- Triggers
What does the Python Password Validator with Specific Constraints skill do?
Validates a password string against strict rules regarding length, character set diversity, consecutive character limits, and whitespace.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill python-password-validator-with-specific-constraints --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.
