[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ANT2B8YS3P6EEBKZFT2DFV":3,"skill-same:01M7ANT2B8YS3P6EEBKZFT2DFV":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":5,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7ANT2B8YS3P6EEBKZFT2DFV","pict-test-designer",null,"Design comprehensive test cases using PICT (Pairwise Independent Combinatorial Testing) for any piece of requirements or code. Analyzes inputs, generates PICT models with parameters, values, and constraints for valid scenarios using pairwise testing. Outputs the PICT model, markdown table of test cases, and expected results.","davidanthonyn\u002Fagent-skills","davidanthonyn","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F55152980?v=4","01M7AJ4MY8S5C2RJCGX6626J0G","01M7AJ4MZB7EC7CAP27ANCSE7N",1,"MIT","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fpict-test-designer\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fpict-test-designer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pict-test-designer\ndescription: Design comprehensive test cases using PICT (Pairwise Independent Combinatorial Testing) for any piece of requirements or code. Analyzes inputs, generates PICT models with parameters, values, and constraints for valid scenarios using pairwise testing. Outputs the PICT model, markdown table of test cases, and expected results.\n---\n\n# PICT Test Designer\n\nThis skill enables systematic test case design using PICT (Pairwise Independent Combinatorial Testing). Given requirements or code, it analyzes the system to identify test parameters, generates a PICT model with appropriate constraints, executes the model to generate pairwise test cases, and formats the results with expected outputs.\n\n## When to Use This Skill\n\nUse this skill when:\n- Designing test cases for a feature, function, or system with multiple input parameters\n- Creating test suites for configurations with many combinations\n- Needing comprehensive coverage with minimal test cases\n- Analyzing requirements to identify test scenarios\n- Working with code that has multiple conditional paths\n- Building test matrices for API endpoints, web forms, or system configurations\n\n## Workflow\n\nFollow this process for test design:\n\n### 1. Analyze Requirements or Code\n\nFrom the user's requirements or code, identify:\n- **Parameters**: Input variables, configuration options, environmental factors\n- **Values**: Possible values for each parameter (using equivalence partitioning)\n- **Constraints**: Business rules, technical limitations, dependencies between parameters\n- **Expected Outcomes**: What should happen for different combinations\n\n**Example Analysis:**\n\nFor a login function with requirements:\n- Users can login with username\u002Fpassword\n- Supports 2FA (on\u002Foff)\n- Remembers login on trusted devices\n- Rate limits after 3 failed attempts\n\nIdentified parameters:\n- Credentials: Valid, Invalid\n- TwoFactorAuth: Enabled, Disabled\n- RememberMe: Checked, Unchecked\n- PreviousFailures: 0, 1, 2, 3, 4\n\n### 2. Generate PICT Model\n\nCreate a PICT model with:\n- Clear parameter names\n- Well-defined value sets (using equivalence partitioning and boundary values)\n- Constraints for invalid combinations\n- Comments explaining business rules\n\n**Model Structure:**\n```\n# Parameter definitions\nParameterName: Value1, Value2, Value3\n\n# Constraints (if any)\nIF [Parameter1] = \"Value\" THEN [Parameter2] \u003C> \"OtherValue\";\n```\n\n**Refer to references\u002Fpict_syntax.md for:**\n- Complete syntax reference\n- Constraint grammar and operators\n- Advanced features (sub-models, aliasing, negative testing)\n- Command-line options\n- Detailed constraint patterns\n\n**Refer to references\u002Fexamples.md for:**\n- Complete real-world examples by domain\n- Software function testing examples\n- Web application, API, and mobile testing examples\n- Database and configuration testing patterns\n- Common patterns for authentication, resource access, error handling\n\n### 3. Execute PICT Model\n\nGenerate the PICT model text and format it for the user. You can use Python code directly to work with the model:\n\n```python\n# Define parameters and constraints\nparameters = {\n    \"OS\": [\"Windows\", \"Linux\", \"MacOS\"],\n    \"Browser\": [\"Chrome\", \"Firefox\", \"Safari\"],\n    \"Memory\": [\"4GB\", \"8GB\", \"16GB\"]\n}\n\nconstraints = [\n    'IF [OS] = \"MacOS\" THEN [Browser] IN {Safari, Chrome}',\n    'IF [Memory] = \"4GB\" THEN [OS] \u003C> \"MacOS\"'\n]\n\n# Generate model text\nmodel_lines = []\nfor param_name, values in parameters.items():\n    values_str = \", \".join(values)\n    model_lines.append(f\"{param_name}: {values_str}\")\n\nif constraints:\n    model_lines.append(\"\")\n    for constraint in constraints:\n        if not constraint.endswith(';'):\n            constraint += ';'\n        model_lines.append(constraint)\n\nmodel_text = \"\\n\".join(model_lines)\nprint(model_text)\n```\n\n**Using the helper script (optional):**\nThe `scripts\u002Fpict_helper.py` script provides utilities for model generation and output formatting:\n\n```bash\n# Generate model from JSON config\npython scripts\u002Fpict_helper.py generate config.json\n\n# Format PICT tool output as markdown table\npython scripts\u002Fpict_helper.py format output.txt\n\n# Parse PICT output to JSON\npython scripts\u002Fpict_helper.py parse output.txt\n```\n\n**To generate actual test cases**, the user can:\n1. Save the PICT model to a file (e.g., `model.txt`)\n2. Use online PICT tools like:\n   - https:\u002F\u002Fpairwise.yuuniworks.com\u002F\n   - https:\u002F\u002Fpairwise.teremokgames.com\u002F\n3. Or install PICT locally (see references\u002Fpict_syntax.md)\n\n### 4. Determine Expected Outputs\n\nFor each generated test case, determine the expected outcome based on:\n- Business requirements\n- Code logic\n- Valid\u002Finvalid combinations\n\nCreate a list of expected outputs corresponding to each test case.\n\n### 5. Format Complete Test Suite\n\nProvide the user with:\n1. **PICT Model** - The complete model with parameters and constraints\n2. **Markdown Table** - Test cases in table format with test numbers\n3. **Expected Outputs** - Expected result for each test case\n\n## Output Format\n\nPresent results in this structure:\n\n````markdown\n## PICT Model\n\n```\n# Parameters\nParameter1: Value1, Value2, Value3\nParameter2: ValueA, ValueB\n\n# Constraints\nIF [Parameter1] = \"Value1\" THEN [Parameter2] = \"ValueA\";\n```\n\n## Generated Test Cases\n\n| Test # | Parameter1 | Parameter2 | Expected Output |\n| --- | --- | --- | --- |\n| 1 | Value1 | ValueA | Success |\n| 2 | Value2 | ValueB | Success |\n| 3 | Value1 | ValueB | Error: Invalid combination |\n...\n\n## Test Case Summary\n\n- Total test cases: N\n- Coverage: Pairwise (all 2-way combinations)\n- Constraints applied: N\n````\n\n## Best Practices\n\n### Parameter Identification\n\n**Good:**\n- Use descriptive names: `AuthMethod`, `UserRole`, `PaymentType`\n- Apply equivalence partitioning: `FileSize: Small, Medium, Large` instead of `FileSize: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10`\n- Include boundary values: `Age: 0, 17, 18, 65, 66`\n- Add negative values for error testing: `Amount: ~-1, 0, 100, ~999999`\n\n**Avoid:**\n- Generic names: `Param1`, `Value1`, `V1`\n- Too many values without partitioning\n- Missing edge cases\n\n### Constraint Writing\n\n**Good:**\n- Document rationale: `# Safari only available on MacOS`\n- Start simple, add incrementally\n- Test constraints work as expected\n\n**Avoid:**\n- Over-constraining (eliminates too many valid combinations)\n- Under-constraining (generates invalid test cases)\n- Complex nested logic without clear documentation\n\n### Expected Output Definition\n\n**Be specific:**\n- \"Login succeeds, user redirected to dashboard\"\n- \"HTTP 400: Invalid credentials error\"\n- \"2FA prompt displayed\"\n\n**Not vague:**\n- \"Works\"\n- \"Error\"\n- \"Success\"\n\n### Scalability\n\nFor large parameter sets:\n- Use sub-models to group related parameters with different orders\n- Consider separate test suites for unrelated features\n- Start with order 2 (pairwise), increase for critical combinations\n- Typical pairwise testing reduces test cases by 80-90% vs exhaustive\n\n## Common Patterns\n\n### Web Form Testing\n\n```python\nparameters = {\n    \"Name\": [\"Valid\", \"Empty\", \"TooLong\"],\n    \"Email\": [\"Valid\", \"Invalid\", \"Empty\"],\n    \"Password\": [\"Strong\", \"Weak\", \"Empty\"],\n    \"Terms\": [\"Accepted\", \"NotAccepted\"]\n}\n\nconstraints = [\n    'IF [Terms] = \"NotAccepted\" THEN [Name] = \"Valid\"',  # Test validation even if terms not accepted\n]\n```\n\n### API Endpoint Testing\n\n```python\nparameters = {\n    \"HTTPMethod\": [\"GET\", \"POST\", \"PUT\", \"DELETE\"],\n    \"Authentication\": [\"Valid\", \"Invalid\", \"Missing\"],\n    \"ContentType\": [\"JSON\", \"XML\", \"FormData\"],\n    \"PayloadSize\": [\"Empty\", \"Small\", \"Large\"]\n}\n\nconstraints = [\n    'IF [HTTPMethod] = \"GET\" THEN [PayloadSize] = \"Empty\"',\n    'IF [Authentication] = \"Missing\" THEN [HTTPMethod] IN {GET, POST}'\n]\n```\n\n### Configuration Testing\n\n```python\nparameters = {\n    \"Environment\": [\"Dev\", \"Staging\", \"Production\"],\n    \"CacheEnabled\": [\"True\", \"False\"],\n    \"LogLevel\": [\"Debug\", \"Info\", \"Error\"],\n    \"Database\": [\"SQLite\", \"PostgreSQL\", \"MySQL\"]\n}\n\nconstraints = [\n    'IF [Environment] = \"Production\" THEN [LogLevel] \u003C> \"Debug\"',\n    'IF [Database] = \"SQLite\" THEN [Environment] = \"Dev\"'\n]\n```\n\n## Troubleshooting\n\n### No Test Cases Generated\n\n- Check constraints aren't over-restrictive\n- Verify constraint syntax (must end with `;`)\n- Ensure parameter names in constraints match definitions (use `[ParameterName]`)\n\n### Too Many Test Cases\n\n- Verify using order 2 (pairwise) not higher order\n- Consider breaking into sub-models\n- Check if parameters can be separated into independent test suites\n\n### Invalid Combinations in Output\n\n- Add missing constraints\n- Verify constraint logic is correct\n- Check if you need to use `NOT` or `\u003C>` operators\n\n### Script Errors\n\n- Ensure pypict is installed: `pip install pypict --break-system-packages`\n- Check Python version (3.7+)\n- Verify model syntax is valid\n\n## References\n\n- **references\u002Fpict_syntax.md** - Complete PICT syntax reference with grammar and operators\n- **references\u002Fexamples.md** - Comprehensive real-world examples across different domains\n- **scripts\u002Fpict_helper.py** - Python utilities for model generation and output formatting\n- [PICT GitHub Repository](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpict) - Official PICT documentation\n- [pypict Documentation](https:\u002F\u002Fgithub.com\u002Fkmaehashi\u002Fpypict) - Python binding documentation\n- [Online PICT Tools](https:\u002F\u002Fpairwise.yuuniworks.com\u002F) - Web-based PICT generator\n\n## Examples\n\n### Example 1: Simple Function Testing\n\n**User Request:** \"Design tests for a divide function that takes two numbers and returns the result.\"\n\n**Analysis:**\n- Parameters: dividend (number), divisor (number)\n- Values: Using equivalence partitioning and boundaries\n  - Numbers: negative, zero, positive, large values\n- Constraints: Division by zero is invalid\n- Expected outputs: Result or error\n\n**PICT Model:**\n```\nDividend: -10, 0, 10, 1000\nDivisor: ~0, -5, 1, 5, 100\n\nIF [Divisor] = \"0\" THEN [Dividend] = \"10\";\n```\n\n**Test Cases:**\n\n| Test # | Dividend | Divisor | Expected Output |\n| --- | --- | --- | --- |\n| 1 | 10 | 0 | Error: Division by zero |\n| 2 | -10 | 1 | -10.0 |\n| 3 | 0 | -5 | 0.0 |\n| 4 | 1000 | 5 | 200.0 |\n| 5 | 10 | 100 | 0.1 |\n\n### Example 2: E-commerce Checkout\n\n**User Request:** \"Design tests for checkout flow with payment methods, shipping options, and user types.\"\n\n**Analysis:**\n- Payment: Credit Card, PayPal, Bank Transfer (limited by user type)\n- Shipping: Standard, Express, Overnight\n- User: Guest, Registered, Premium\n- Constraints: Guests can't use Bank Transfer, Premium users get free Express\n\n**PICT Model:**\n```\nPaymentMethod: CreditCard, PayPal, BankTransfer\nShippingMethod: Standard, Express, Overnight\nUserType: Guest, Registered, Premium\n\nIF [UserType] = \"Guest\" THEN [PaymentMethod] \u003C> \"BankTransfer\";\nIF [UserType] = \"Premium\" AND [ShippingMethod] = \"Express\" THEN [PaymentMethod] IN {CreditCard, PayPal};\n```\n\n**Output:** 12-15 test cases covering all valid payment\u002Fshipping\u002Fuser combinations with expected costs and outcomes.\n","# PICT Test Designer\n\nThis skill enables systematic test case design using PICT (Pairwise Independent Combinatorial Testing). Given requirements or code, it analyzes the system to identify test parameters, generates a PICT model with appropriate constraints, executes the model to generate pairwise test cases, and formats the results with expected outputs.\n\n## When to Use This Skill\n\nUse this skill when:\n- Designing test cases for a feature, function, or system with multiple input parameters\n- Creating test suites for configurations with many combinations\n- Needing comprehensive coverage with minimal test cases\n- Analyzing requirements to identify test scenarios\n- Working with code that has multiple conditional paths\n- Building test matrices for API endpoints, web forms, or system configurations\n\n## Workflow\n\nFollow this process for test design:\n\n### 1. Analyze Requirements or Code\n\nFrom the user's requirements or code, identify:\n- **Parameters**: Input variables, configuration options, environmental factors\n- **Values**: Possible values for each parameter (using equivalence partitioning)\n- **Constraints**: Business rules, technical limitations, dependencies between parameters\n- **Expected Outcomes**: What should happen for different combinations\n\n**Example Analysis:**\n\nFor a login function with requirements:\n- Users can login with username\u002Fpassword\n- Supports 2FA (on\u002Foff)\n- Remembers login on trusted devices\n- Rate limits after 3 failed attempts\n\nIdentified parameters:\n- Credentials: Valid, Invalid\n- TwoFactorAuth: Enabled, Disabled\n- RememberMe: Checked, Unchecked\n- PreviousFailures: 0, 1, 2, 3, 4\n\n### 2. Generate PICT Model\n\nCreate a PICT model with:\n- Clear parameter names\n- Well-defined value sets (using equivalence partitioning and boundary values)\n- Constraints for invalid combinations\n- Comments explaining business rules\n\n**Model Structure:**\n```\n# Parameter definitions\nParameterName: Value1, Value2, Value3\n\n# Constraints (if any)\nIF [Parameter1] = \"Value\" THEN [Parameter2] \u003C> \"OtherValue\";\n```\n\n**Refer to references\u002Fpict_syntax.md for:**\n- Complete syntax reference\n- Constraint grammar and operators\n- Advanced features (sub-models, aliasing, negative testing)\n- Command-line options\n- Detailed constraint patterns\n\n**Refer to references\u002Fexamples.md for:**\n- Complete real-world examples by domain\n- Software function testing examples\n- Web application, API, and mobile testing examples\n- Database and configuration testing patterns\n- Common patterns for authentication, resource access, error handling\n\n### 3. Execute PICT Model\n\nGenerate the PICT model text and format it for the user. You can use Python code directly to work with the model:\n\n```python\n# Define parameters and constraints\nparameters = {\n    \"OS\": [\"Windows\", \"Linux\", \"MacOS\"],\n    \"Browser\": [\"Chrome\", \"Firefox\", \"Safari\"],\n    \"Memory\": [\"4GB\", \"8GB\", \"16GB\"]\n}\n\nconstraints = [\n    'IF [OS] = \"MacOS\" THEN [Browser] IN {Safari, Chrome}',\n    'IF [Memory] = \"4GB\" THEN [OS] \u003C> \"MacOS\"'\n]\n\n# Generate model text\nmodel_lines = []\nfor param_name, values in parameters.items():\n    values_str = \", \".join(values)\n    model_lines.append(f\"{param_name}: {values_str}\")\n\nif constraints:\n    model_lines.append(\"\")\n    for constraint in constraints:\n        if not constraint.endswith(';'):\n            constraint += ';'\n        model_lines.append(constraint)\n\nmodel_text = \"\\n\".join(model_lines)\nprint(model_text)\n```\n\n**Using the helper script (optional):**\nThe `scripts\u002Fpict_helper.py` script provides utilities for model generation and output formatting:\n\n```bash\n# Generate model from JSON config\npython scripts\u002Fpict_helper.py generate config.json\n\n# Format PICT tool output as markdown table\npython scripts\u002Fpict_helper.py format output.txt\n\n# Parse PICT output to JSON\npython scripts\u002Fpict_helper.py parse output.txt\n```\n\n**To generate actual test cases**, the user can:\n1. Save the PICT model to a file (e.g., `model.txt`)\n2. Use online PICT tools like:\n   - https:\u002F\u002Fpairwise.yuuniworks.com\u002F\n   - https:\u002F\u002Fpairwise.teremokgames.com\u002F\n3. Or install PICT locally (see references\u002Fpict_syntax.md)\n\n### 4. Determine Expected Outputs\n\nFor each generated test case, determine the expected outcome based on:\n- Business requirements\n- Code logic\n- Valid\u002Finvalid combinations\n\nCreate a list of expected outputs corresponding to each test case.\n\n### 5. Format Complete Test Suite\n\nProvide the user with:\n1. **PICT Model** - The complete model with parameters and constraints\n2. **Markdown Table** - Test cases in table format with test numbers\n3. **Expected Outputs** - Expected result for each test case\n\n## Output Format\n\nPresent results in this structure:\n\n````markdown\n## PICT Model\n\n```\n# Parameters\nParameter1: Value1, Value2, Value3\nParameter2: ValueA, ValueB\n\n# Constraints\nIF [Parameter1] = \"Value1\" THEN [Parameter2] = \"ValueA\";\n```\n\n## Generated Test Cases\n\n| Test # | Parameter1 | Parameter2 | Expected Output |\n| --- | --- | --- | --- |\n| 1 | Value1 | ValueA | Success |\n| 2 | Value2 | ValueB | Success |\n| 3 | Value1 | ValueB | Error: Invalid combination |\n...\n\n## Test Case Summary\n\n- Total test cases: N\n- Coverage: Pairwise (all 2-way combinations)\n- Constraints applied: N\n````\n\n## Best Practices\n\n### Parameter Identification\n\n**Good:**\n- Use descriptive names: `AuthMethod`, `UserRole`, `PaymentType`\n- Apply equivalence partitioning: `FileSize: Small, Medium, Large` instead of `FileSize: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10`\n- Include boundary values: `Age: 0, 17, 18, 65, 66`\n- Add negative values for error testing: `Amount: ~-1, 0, 100, ~999999`\n\n**Avoid:**\n- Generic names: `Param1`, `Value1`, `V1`\n- Too many values without partitioning\n- Missing edge cases\n\n### Constraint Writing\n\n**Good:**\n- Document rationale: `# Safari only available on MacOS`\n- Start simple, add incrementally\n- Test constraints work as expected\n\n**Avoid:**\n- Over-constraining (eliminates too many valid combinations)\n- Under-constraining (generates invalid test cases)\n- Complex nested logic without clear documentation\n\n### Expected Output Definition\n\n**Be specific:**\n- \"Login succeeds, user redirected to dashboard\"\n- \"HTTP 400: Invalid credentials error\"\n- \"2FA prompt displayed\"\n\n**Not vague:**\n- \"Works\"\n- \"Error\"\n- \"Success\"\n\n### Scalability\n\nFor large parameter sets:\n- Use sub-models to group related parameters with different orders\n- Consider separate test suites for unrelated features\n- Start with order 2 (pairwise), increase for critical combinations\n- Typical pairwise testing reduces test cases by 80-90% vs exhaustive\n\n## Common Patterns\n\n### Web Form Testing\n\n```python\nparameters = {\n    \"Name\": [\"Valid\", \"Empty\", \"TooLong\"],\n    \"Email\": [\"Valid\", \"Invalid\", \"Empty\"],\n    \"Password\": [\"Strong\", \"Weak\", \"Empty\"],\n    \"Terms\": [\"Accepted\", \"NotAccepted\"]\n}\n\nconstraints = [\n    'IF [Terms] = \"NotAccepted\" THEN [Name] = \"Valid\"',  # Test validation even if terms not accepted\n]\n```\n\n### API Endpoint Testing\n\n```python\nparameters = {\n    \"HTTPMethod\": [\"GET\", \"POST\", \"PUT\", \"DELETE\"],\n    \"Authentication\": [\"Valid\", \"Invalid\", \"Missing\"],\n    \"ContentType\": [\"JSON\", \"XML\", \"FormData\"],\n    \"PayloadSize\": [\"Empty\", \"Small\", \"Large\"]\n}\n\nconstraints = [\n    'IF [HTTPMethod] = \"GET\" THEN [PayloadSize] = \"Empty\"',\n    'IF [Authentication] = \"Missing\" THEN [HTTPMethod] IN {GET, POST}'\n]\n```\n\n### Configuration Testing\n\n```python\nparameters = {\n    \"Environment\": [\"Dev\", \"Staging\", \"Production\"],\n    \"CacheEnabled\": [\"True\", \"False\"],\n    \"LogLevel\": [\"Debug\", \"Info\", \"Error\"],\n    \"Database\": [\"SQLite\", \"PostgreSQL\", \"MySQL\"]\n}\n\nconstraints = [\n    'IF [Environment] = \"Production\" THEN [LogLevel] \u003C> \"Debug\"',\n    'IF [Database] = \"SQLite\" THEN [Environment] = \"Dev\"'\n]\n```\n\n## Troubleshooting\n\n### No Test Cases Generated\n\n- Check constraints aren't over-restrictive\n- Verify constraint syntax (must end with `;`)\n- Ensure parameter names in constraints match definitions (use `[ParameterName]`)\n\n### Too Many Test Cases\n\n- Verify using order 2 (pairwise) not higher order\n- Consider breaking into sub-models\n- Check if parameters can be separated into independent test suites\n\n### Invalid Combinations in Output\n\n- Add missing constraints\n- Verify constraint logic is correct\n- Check if you need to use `NOT` or `\u003C>` operators\n\n### Script Errors\n\n- Ensure pypict is installed: `pip install pypict --break-system-packages`\n- Check Python version (3.7+)\n- Verify model syntax is valid\n\n## References\n\n- **references\u002Fpict_syntax.md** - Complete PICT syntax reference with grammar and operators\n- **references\u002Fexamples.md** - Comprehensive real-world examples across different domains\n- **scripts\u002Fpict_helper.py** - Python utilities for model generation and output formatting\n- [PICT GitHub Repository](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpict) - Official PICT documentation\n- [pypict Documentation](https:\u002F\u002Fgithub.com\u002Fkmaehashi\u002Fpypict) - Python binding documentation\n- [Online PICT Tools](https:\u002F\u002Fpairwise.yuuniworks.com\u002F) - Web-based PICT generator\n\n## Examples\n\n### Example 1: Simple Function Testing\n\n**User Request:** \"Design tests for a divide function that takes two numbers and returns the result.\"\n\n**Analysis:**\n- Parameters: dividend (number), divisor (number)\n- Values: Using equivalence partitioning and boundaries\n  - Numbers: negative, zero, positive, large values\n- Constraints: Division by zero is invalid\n- Expected outputs: Result or error\n\n**PICT Model:**\n```\nDividend: -10, 0, 10, 1000\nDivisor: ~0, -5, 1, 5, 100\n\nIF [Divisor] = \"0\" THEN [Dividend] = \"10\";\n```\n\n**Test Cases:**\n\n| Test # | Dividend | Divisor | Expected Output |\n| --- | --- | --- | --- |\n| 1 | 10 | 0 | Error: Division by zero |\n| 2 | -10 | 1 | -10.0 |\n| 3 | 0 | -5 | 0.0 |\n| 4 | 1000 | 5 | 200.0 |\n| 5 | 10 | 100 | 0.1 |\n\n### Example 2: E-commerce Checkout\n\n**User Request:** \"Design tests for checkout flow with payment methods, shipping options, and user types.\"\n\n**Analysis:**\n- Payment: Credit Card, PayPal, Bank Transfer (limited by user type)\n- Shipping: Standard, Express, Overnight\n- User: Guest, Registered, Premium\n- Constraints: Guests can't use Bank Transfer, Premium users get free Express\n\n**PICT Model:**\n```\nPaymentMethod: CreditCard, PayPal, BankTransfer\nShippingMethod: Standard, Express, Overnight\nUserType: Guest, Registered, Premium\n\nIF [UserType] = \"Guest\" THEN [PaymentMethod] \u003C> \"BankTransfer\";\nIF [UserType] = \"Premium\" AND [ShippingMethod] = \"Express\" THEN [PaymentMethod] IN {CreditCard, PayPal};\n```\n\n**Output:** 12-15 test cases covering all valid payment\u002Fshipping\u002Fuser combinations with expected costs and outcomes.\n",{"name":5,"description":7},"main","6b73b29e4866f997b1eb47fe8d9631396265fc24",0,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn","2026-09-09 16:06:07",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add davidanthonyn\u002Fagent-skills --skill pict-test-designer",{"tool":36,"command":37},"bunx","bunx skills add davidanthonyn\u002Fagent-skills --skill pict-test-designer",{"tool":39,"command":40},"pnpm","pnpm dlx skills add davidanthonyn\u002Fagent-skills --skill pict-test-designer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fpict-test-designer\u002FSKILL.md",true,[44,50,54,58,62,66,70,74,80],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"CHANGELOG.md","REFERENCE","参考文档",5327,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fpict-test-designer\u002FCHANGELOG.md",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"CONTRIBUTING.md",5526,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fpict-test-designer\u002FCONTRIBUTING.md",{"path":55,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":15},"LICENSE","许可证",1435,{"path":59,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":60,"sourceHtmlUrl":61},"PUBLISHING.md",6293,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fpict-test-designer\u002FPUBLISHING.md",{"path":63,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":64,"sourceHtmlUrl":65},"QUICKSTART.md",5613,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fpict-test-designer\u002FQUICKSTART.md",{"path":67,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":68,"sourceHtmlUrl":69},"README.md",12545,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fpict-test-designer\u002FREADME.md",{"path":71,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":72,"sourceHtmlUrl":73},"SKILL.json",12132,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fpict-test-designer\u002FSKILL.json",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"SKILL.md.backup","OTHER","其他",10928,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fpict-test-designer\u002FSKILL.md.backup",{"path":81,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":82,"sourceHtmlUrl":83},"STRUCTURE.md",6926,"https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fpict-test-designer\u002FSTRUCTURE.md",[85,92,100,107,114,123],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7AQNJDXVNVMN08N5BHBGZBF","zustand-state-management","Production-tested setup for Zustand state management in React applications with TypeScript.\nThis skill provides comprehensive patterns for building scalable, type-safe global state.\n\nUse when: setting up global state in React, migrating from Redux or Context API, implementing\nstate persistence with localStorage, configuring TypeScript with Zustand, using slices pattern\nfor modular stores, adding devtools middleware for debugging, handling Next.js SSR hydration,\nor encountering hydration errors, TypeScript inference issues, or persist middleware problems.\n\nPrevents 5 documented issues: Next.js hydration mismatches, TypeScript double parentheses\nsyntax errors, persist middleware export errors, infinite render loops, and slices pattern\ntype inference failures.\n\nKeywords: zustand, state management, React state, TypeScript state, persist middleware,\ndevtools, slices pattern, global state, React hooks, create store, useBoundStore,\nStateCreator, hydration error, text content mismatch, infinite render, localStorage,\nsessionStorage, immer middleware, shallow equality, selector pattern, zustand v5","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fzustand-state-management\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":96,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7AQN2DW9DTPM8BYNZSHQANC","zetic-mlange","Help users integrate the ZETIC Melange (MLange) on-device AI SDK into Android (Kotlin\u002FJava) and iOS (Swift) mobile apps. Use this skill whenever the user mentions Zetic, MLange, Melange, ZeticMLangeModel, ZeticMLangeLLMModel, ZeticMLangeHFModel, on-device NPU inference for mobile, or deploying ML models to Android\u002FiOS with NPU acceleration. Also trigger when users ask about running LLMs on-device with GGUF quantization, mobile NPU model deployment, or converting PyTorch\u002FONNX models for mobile inference. Covers general model inference, LLM inference (streaming token generation), and HuggingFace model loading.","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fzetic-mlange\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fzetic-mlange\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7AQMEK370FBPC75N2W8WA4W","youtube-downloader","Download videos, audio, playlists, and channels from YouTube and 1000+ websites using yt-dlp. Supports quality selection, format conversion, subtitle download, playlist filtering, metadata extraction, thumbnail download, and batch operations. Use when downloading YouTube videos in any quality (4K, 8K, HDR), extracting audio as MP3\u002FM4A\u002FFLAC, downloading entire playlists\u002Fchannels, getting subtitles in multiple languages, converting to specific formats, downloading live streams, archiving content, or batch processing multiple URLs. Optimized for reliability with automatic retries, rate limiting, and error handling.","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fyoutube-downloader\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M7AQHKQ4VQB04NH6BG4SV9Q7","wordpress-plugin-core","This skill provides comprehensive knowledge for WordPress plugin development, covering core patterns, security best practices, database interactions, hooks\u002Ffilters, Settings API, custom post types, REST API, and AJAX. This skill should be used when creating WordPress plugins, troubleshooting security issues, implementing custom post types\u002Ftaxonomies, building admin interfaces, or working with the WordPress database.\n\nUse when: Creating new WordPress plugins, implementing nonces\u002Fsanitization\u002Fescaping, working with $wpdb and prepared statements, building Settings API pages, registering custom post types or taxonomies, implementing REST API endpoints, handling AJAX requests, debugging plugin activation\u002Fdeactivation issues, preventing SQL injection\u002FXSS\u002FCSRF vulnerabilities.\n\nKeywords: wordpress plugin development, wordpress security, wordpress hooks, wordpress filters, wordpress database, wpdb prepare, sanitize_text_field, esc_html, wp_nonce, custom post type, register_post_type, settings api, rest api, admin-ajax, wordpress sql injection, wordpress xss, wordpress csrf, plugin header, activation hook, deactivation hook, wordpress coding standards, wordpress plugin architecture","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fwordpress-plugin-core\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":118,"licenseFileUrl":119,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":19},"01M7AQH4JW8F2MJFS1C43TZ2TY","webapp-testing","Test local web applications with Playwright. Use when asked to verify frontend functionality, debug UI behavior, capture browser screenshots, or inspect browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":19},"01M7AQH0PWD6Z1NN66V15DT25M","web-performance-audit","Audit web performance using Chrome DevTools MCP. Use when asked to audit, profile, debug, or optimize page load performance, Lighthouse scores, or site speed.","https:\u002F\u002Fgithub.com\u002Fdavidanthonyn\u002Fagent-skills\u002Fblob\u002Fmain\u002Fweb-performance-audit\u002FSKILL.md",[],[]]