[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6J8WCFKV4M4K6GZABRY96JF":3,"skill-same:01M6J8WCFKV4M4K6GZABRY96JF":76},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":49,"repositoryHtmlUrl":58,"repositoryHomepageUrl":6,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":75},"01M6J8WCFKV4M4K6GZABRY96JF","dev-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.","Flissel\u002Fvibemind-os","Flissel","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F104565236?v=4","01M6J8Q88NWAJGKPC5TEG9YCNV","Felix Baumann","01M6J8Q8D7XAFY44P70XTJFZBW",1,"MIT","https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os\u002Fblob\u002Fmaster\u002Fskills\u002Fdev\u002Fpict-test-designer\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"test","dev pict test designer","dev","designer","pict test designer","imported","2026","outputs","test cases","expected","source","for","true","requirements","testing","repo","model","table","markdown","code","valid","design","2026-11-10 10:12:30",false,"---\nname: dev-pict-test-designer\ndescription: Design comprehensive test cases using PICT (Pairwise Independent Combinatorial\n  Testing) for any piece of requirements or code. Analyzes inputs, generates PICT\n  models with parameters, values, and constraints for valid scenarios using pairwise\n  testing. Outputs the PICT model, markdown table of test cases, and expected results.\napp: dev\nrequires_approval: true\nagents:\n- '*'\ninputs: []\nexpected_state:\n  description: Imported skill — behavior matches source repo\n  verification_tool: none\nconfidence: 1.0\nattempts: 0\nsuccesses: 0\nlast_adjusted: '2026-05-11T21:22:14+00:00'\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",{"app":21,"name":5,"agents":46,"inputs":48,"attempts":49,"successes":49,"confidence":14,"description":7,"last_adjusted":50,"expected_state":51,"requires_approval":54},[47],"*",[],0,"2026-05-11T21:22:14+00:00",{"description":52,"verification_tool":53},"Imported skill — behavior matches source repo","none",true,"master","5f13b5d2b532c0ab6f847e3aa24d4bfe66f7d461","skills\u002Fdev\u002Fpict-test-designer","https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os","https:\u002F\u002Fgithub.com\u002FFlissel","https:\u002F\u002Fvibemind.space","Co-founder & CTO, VibeMind - a voice-first agentic OS for non-technical founders. Agents that do the work, not describe it.","2026-11-15 02:57:54",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":54},[65,68,71],{"tool":66,"command":67},"npx","npx skills add Flissel\u002Fvibemind-os --skill dev-pict-test-designer",{"tool":69,"command":70},"bunx","bunx skills add Flissel\u002Fvibemind-os --skill dev-pict-test-designer",{"tool":72,"command":73},"pnpm","pnpm dlx skills add Flissel\u002Fvibemind-os --skill dev-pict-test-designer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os\u002Fblob\u002Fmaster\u002Fskills\u002Fdev\u002Fpict-test-designer\u002FSKILL.md",[],[77,85,93,100,128,136],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":84},"01M7DTM31MG69FRRMZF1E414G8","event-task-image-uploads","Foto aus dem Chat an eine Aufgabe der Event-App hängen.","https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os\u002Fblob\u002Fmaster\u002Fspaces\u002Fevent_management\u002Fconfig\u002Fworkspace-legacy\u002Fskills\u002Fevent-task-image-uploads\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":41},"01M6JAA67M92TRE7GWDJDBTA9T","review","Review a change.","https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os\u002Fblob\u002Fmaster\u002Fspaces\u002Frowboat\u002Frowboat\u002Fpackages\u002Fopenai-plugin-runtime\u002Ftest\u002Ffixtures\u002Fcomplete-plugin\u002Fskills\u002Freview\u002FSKILL.md",[],[87,92],"change",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":41},"01M6JAA3DZR55G8ZY493BE9NBB","triage","Triage a change.","https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os\u002Fblob\u002Fmaster\u002Fspaces\u002Frowboat\u002Frowboat\u002Fpackages\u002Fopenai-plugin-runtime\u002Ftest\u002Ffixtures\u002Fcomplete-plugin\u002Fskills\u002Fgroup\u002Ftriage\u002FSKILL.md",[],[95,92],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":41},"01M6JA9XPVHENK0FQN7HBK54NV","zentrale-werkzeuge","Werkzeuge der Zentrale – nutzen bei GitHub-Fragen (Projekte updaten, Repos, Issues, PRs, Commits, CI\u002FActions-Status, README), bei Fragen zum eigenen Gitea (Sicherung\u002FSpiegel, Repos, Issues, Commits), wenn neueste Docs\u002FDoku zu einer Bibliothek oder einem Dienst geholt werden sollen, wenn ein Dashboard aus meinen Daten gebaut werden soll und wenn ich sage 'auf meinem PC suchen' oder 'such auf dem Rechner nach …'.","https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os\u002Fblob\u002Fmaster\u002Fspaces\u002Frowboat\u002Fdeploy\u002Fheadless\u002Fskills\u002Fzentrale-werkzeuge\u002FSKILL.md",[],[107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127],"zentrale werkzeuge","issues","repos","grep","status","list","docs","URL","file","add","prs","ci","mkdir","actions","README","commits","github","gitea","dashboard","fetch","todo",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":41},"01M6JA9SQPX187CVC148SQT1SP","wissen-suchen","Bedeutungssuche im Rowboat-Wissen – IMMER zuerst nutzen, wenn nach Kunden, Kontakten, Themen, Interessen, Notizen oder 'was wissen wir über …' gefragt wird, besonders wenn die genauen Wörter unklar sind.","https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os\u002Fblob\u002Fmaster\u002Fspaces\u002Frowboat\u002Fdeploy\u002Fheadless\u002Fskills\u002Fwissen-suchen\u002FSKILL.md",[],[135],"wissen suchen",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":41},"01M6JA9P6GNFPE21101SDZS3BT","reel-aus-material","Reel aus vorhandenen Laura-Videos: passende Stellen im Transkript finden; spricht dort eine Person, bleibt ihr Originalton (mit Untertiteln aus dem Transkript), sonst trägt ein eingesprochener Satz den Clip. Bei Aufträgen der Art 'material'.","https:\u002F\u002Fgithub.com\u002FFlissel\u002Fvibemind-os\u002Fblob\u002Fmaster\u002Fspaces\u002Fmarketing\u002Fvideo_claw\u002Fskills\u002Freel-aus-material\u002FSKILL.md",[],[143,144,145,146,147,148,149],"reel","reel aus material","material","clip","Art","videos","person"]