agentsclimarketplace

Python password validator with specific constraints

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8/python-password-validator-with-specific-constraints

Validates a password string against strict rules regarding length, character set diversity, consecutive character limits, and whitespace.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill python-password-validator-with-specific-constraints

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

2.0 KB, 291 tokens by cl100k_base, as published. Nobody here has run it

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 Preferences

Provide the Python code implementation clearly. Ensure the string module is imported.

Triggers

  • create a password checker with specific rules
  • validate password 14 characters
  • python password validation no consecutive chars
  • check password against character sets

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.