← Back to list

password-generator-testing
by yldgio
Vibe Coding training sample creator: declarative AI-agent driven prompts and instructions for multi-level coding exercises.
⭐ 0🍴 0📅 Jan 8, 2026
SKILL.md
name: password-generator-testing description: Guide for testing password generator functionality. Use when creating or running unit tests for password generation, validation, or strength checking.
Password Generator Testing
When to Use
Use this skill when you need to test password generation, validation, or strength-checking functionality.
Testing Guidelines
-
Unit Test Structure
- Test each password option independently (length, uppercase, lowercase, numbers, symbols)
- Test edge cases: minimum length (1), maximum length, empty options
- Test randomness: generate multiple passwords and verify they differ
-
Test Cases to Include
- Password meets specified length
- Password contains required character types
- Password excludes disabled character types
- Strength meter returns correct rating
- Copy-to-clipboard functionality works
-
Running Tests
# For JavaScript projects npm test # With coverage npm test -- --coverage
Example Test
test('generates password with correct length', () => {
const password = generatePassword({ length: 16 });
expect(password.length).toBe(16);
});
Score
Total Score
55/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon